diff --git a/etc/api/shared.yaml b/etc/api/shared.yaml index 06299db977..c0a2b785bf 100644 --- a/etc/api/shared.yaml +++ b/etc/api/shared.yaml @@ -83,7 +83,7 @@ directories: # The subdirectory to contain documentation from all APIs and related programs doc_subdir: doc cargo: - build_version: "2.0.4" + build_version: "2.0.5" repo_base_url: https://github.com/Byron/google-apis-rs authors: # don't forget to possibly add them to copyright authors diff --git a/gen/abusiveexperiencereport1-cli/Cargo.toml b/gen/abusiveexperiencereport1-cli/Cargo.toml index 3a82222d95..030c2196ea 100644 --- a/gen/abusiveexperiencereport1-cli/Cargo.toml +++ b/gen/abusiveexperiencereport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-abusiveexperiencereport1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Abusive Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/abusiveexperiencereport1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-abusiveexperiencereport1] path = "../abusiveexperiencereport1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/abusiveexperiencereport1-cli/README.md b/gen/abusiveexperiencereport1-cli/README.md index 79ddca2058..1dfb299764 100644 --- a/gen/abusiveexperiencereport1-cli/README.md +++ b/gen/abusiveexperiencereport1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Abusive Experience Report* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Abusive Experience Report* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash abusiveexperiencereport1 [options] diff --git a/gen/abusiveexperiencereport1-cli/mkdocs.yml b/gen/abusiveexperiencereport1-cli/mkdocs.yml index b9c0bedfed..100366c344 100644 --- a/gen/abusiveexperiencereport1-cli/mkdocs.yml +++ b/gen/abusiveexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Abusive Experience Report v2.0.4+20210329 +site_name: Abusive Experience Report v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-abusiveexperiencereport1-cli site_description: A complete library to interact with Abusive Experience Report (protocol v1) diff --git a/gen/abusiveexperiencereport1-cli/src/main.rs b/gen/abusiveexperiencereport1-cli/src/main.rs index 8b89c50286..d89589e053 100644 --- a/gen/abusiveexperiencereport1-cli/src/main.rs +++ b/gen/abusiveexperiencereport1-cli/src/main.rs @@ -285,7 +285,7 @@ async fn main() { let mut app = App::new("abusiveexperiencereport1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_abusiveexperiencereport1_cli") .arg(Arg::with_name("folder") diff --git a/gen/abusiveexperiencereport1/Cargo.toml b/gen/abusiveexperiencereport1/Cargo.toml index fb3df04a00..2e550dcf4a 100644 --- a/gen/abusiveexperiencereport1/Cargo.toml +++ b/gen/abusiveexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-abusiveexperiencereport1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Abusive Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/abusiveexperiencereport1" homepage = "https://developers.google.com/abusive-experience-report/" -documentation = "https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329" +documentation = "https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329" license = "MIT" keywords = ["abusiveexperiencerep", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/abusiveexperiencereport1/README.md b/gen/abusiveexperiencereport1/README.md index 291ad69377..09ff28983e 100644 --- a/gen/abusiveexperiencereport1/README.md +++ b/gen/abusiveexperiencereport1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-abusiveexperiencereport1` library allows access to all features of the *Google Abusive Experience Report* service. -This documentation was generated from *Abusive Experience Report* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Abusive Experience Report* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Abusive Experience Report* *v1* API can be found at the [official documentation site](https://developers.google.com/abusive-experience-report/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport) ... * sites - * [*get*](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/api::SiteGetCall) + * [*get*](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/api::SiteGetCall) * violating sites - * [*list*](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/api::ViolatingSiteListCall) + * [*list*](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/api::ViolatingSiteListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport)** +* **[Hub](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/AbusiveExperienceReport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::CallBuilder) +* **[Resources](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Part)** + * **[Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-abusiveexperiencereport1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -128,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Delegate), 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-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Delegate) to the +[Method Builder](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::CallBuilder) 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-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Delegate) 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 [encodable](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::RequestValue) and -[decodable](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::RequestValue) and +[decodable](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::Part) 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-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::CallBuilder), 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-abusiveexperiencereport1/2.0.4+20210329/google_abusiveexperiencereport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-abusiveexperiencereport1/2.0.5+20210329/google_abusiveexperiencereport1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/abusiveexperiencereport1/src/api.rs b/gen/abusiveexperiencereport1/src/api.rs index 3b244a6c05..4b1207a68b 100644 --- a/gen/abusiveexperiencereport1/src/api.rs +++ b/gen/abusiveexperiencereport1/src/api.rs @@ -92,7 +92,7 @@ impl<'a, > AbusiveExperienceReport<> { AbusiveExperienceReport { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://abusiveexperiencereport.googleapis.com/".to_string(), _root_url: "https://abusiveexperiencereport.googleapis.com/".to_string(), } @@ -106,7 +106,7 @@ impl<'a, > AbusiveExperienceReport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/abusiveexperiencereport1/src/client.rs b/gen/abusiveexperiencereport1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/abusiveexperiencereport1/src/client.rs +++ b/gen/abusiveexperiencereport1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/abusiveexperiencereport1/src/lib.rs b/gen/abusiveexperiencereport1/src/lib.rs index 90b2f7510e..3b99a341b6 100644 --- a/gen/abusiveexperiencereport1/src/lib.rs +++ b/gen/abusiveexperiencereport1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Abusive Experience Report* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Abusive Experience Report* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Abusive Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/abusive-experience-report/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-abusiveexperiencereport1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/acceleratedmobilepageurl1-cli/Cargo.toml b/gen/acceleratedmobilepageurl1-cli/Cargo.toml index db49c9ce32..ff0f447009 100644 --- a/gen/acceleratedmobilepageurl1-cli/Cargo.toml +++ b/gen/acceleratedmobilepageurl1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-acceleratedmobilepageurl1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Acceleratedmobilepageurl (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/acceleratedmobilepageurl1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-acceleratedmobilepageurl1] path = "../acceleratedmobilepageurl1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/acceleratedmobilepageurl1-cli/README.md b/gen/acceleratedmobilepageurl1-cli/README.md index aa7c7d35f2..c817dfe8d1 100644 --- a/gen/acceleratedmobilepageurl1-cli/README.md +++ b/gen/acceleratedmobilepageurl1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Acceleratedmobilepageurl* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Acceleratedmobilepageurl* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash acceleratedmobilepageurl1 [options] diff --git a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml index 42fccb4c67..fb7b4380e3 100644 --- a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml +++ b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Acceleratedmobilepageurl v2.0.4+20210330 +site_name: Acceleratedmobilepageurl v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-acceleratedmobilepageurl1-cli site_description: A complete library to interact with Acceleratedmobilepageurl (protocol v1) diff --git a/gen/acceleratedmobilepageurl1-cli/src/main.rs b/gen/acceleratedmobilepageurl1-cli/src/main.rs index 44814caf90..d368acb684 100644 --- a/gen/acceleratedmobilepageurl1-cli/src/main.rs +++ b/gen/acceleratedmobilepageurl1-cli/src/main.rs @@ -240,7 +240,7 @@ async fn main() { let mut app = App::new("acceleratedmobilepageurl1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_acceleratedmobilepageurl1_cli") .arg(Arg::with_name("folder") diff --git a/gen/acceleratedmobilepageurl1/Cargo.toml b/gen/acceleratedmobilepageurl1/Cargo.toml index e9612700cc..3ba1e7276c 100644 --- a/gen/acceleratedmobilepageurl1/Cargo.toml +++ b/gen/acceleratedmobilepageurl1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-acceleratedmobilepageurl1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Acceleratedmobilepageurl (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/acceleratedmobilepageurl1" homepage = "https://developers.google.com/amp/cache/" -documentation = "https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330" +documentation = "https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330" license = "MIT" keywords = ["acceleratedmobilepag", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/acceleratedmobilepageurl1/README.md b/gen/acceleratedmobilepageurl1/README.md index 888a55ec96..a9aec65b32 100644 --- a/gen/acceleratedmobilepageurl1/README.md +++ b/gen/acceleratedmobilepageurl1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-acceleratedmobilepageurl1` library allows access to all features of the *Google Acceleratedmobilepageurl* service. -This documentation was generated from *Acceleratedmobilepageurl* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Acceleratedmobilepageurl* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Acceleratedmobilepageurl* *v1* API can be found at the [official documentation site](https://developers.google.com/amp/cache/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl) ... -* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/api::AmpUrl) - * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/api::AmpUrlBatchGetCall) +* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/api::AmpUrl) + * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/api::AmpUrlBatchGetCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl)** +* **[Hub](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::CallBuilder) -* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::CallBuilder) +* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Part)** + * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-acceleratedmobilepageurl1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Delegate), 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-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Delegate) to the -[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Delegate) to the +[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::CallBuilder) 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-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Delegate) 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 [encodable](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::RequestValue) and -[decodable](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::RequestValue) and +[decodable](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::Part) 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-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::CallBuilder), 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-acceleratedmobilepageurl1/2.0.4+20210330/google_acceleratedmobilepageurl1/client::RequestValue) are moved +* [request values](https://docs.rs/google-acceleratedmobilepageurl1/2.0.5+20210330/google_acceleratedmobilepageurl1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/acceleratedmobilepageurl1/src/api.rs b/gen/acceleratedmobilepageurl1/src/api.rs index e8f2b384c8..17d555a797 100644 --- a/gen/acceleratedmobilepageurl1/src/api.rs +++ b/gen/acceleratedmobilepageurl1/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > Acceleratedmobilepageurl<> { Acceleratedmobilepageurl { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://acceleratedmobilepageurl.googleapis.com/".to_string(), _root_url: "https://acceleratedmobilepageurl.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > Acceleratedmobilepageurl<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/acceleratedmobilepageurl1/src/client.rs b/gen/acceleratedmobilepageurl1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/acceleratedmobilepageurl1/src/client.rs +++ b/gen/acceleratedmobilepageurl1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/acceleratedmobilepageurl1/src/lib.rs b/gen/acceleratedmobilepageurl1/src/lib.rs index 09c5cd2c09..e0accd1c00 100644 --- a/gen/acceleratedmobilepageurl1/src/lib.rs +++ b/gen/acceleratedmobilepageurl1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Acceleratedmobilepageurl* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Acceleratedmobilepageurl* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Acceleratedmobilepageurl* *v1* API can be found at the //! [official documentation site](https://developers.google.com/amp/cache/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-acceleratedmobilepageurl1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/accessapproval1-cli/Cargo.toml b/gen/accessapproval1-cli/Cargo.toml index dcf47c3484..85aa8b0c8e 100644 --- a/gen/accessapproval1-cli/Cargo.toml +++ b/gen/accessapproval1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accessapproval1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accessapproval1] path = "../accessapproval1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/accessapproval1-cli/README.md b/gen/accessapproval1-cli/README.md index 05fbaed668..4f5755cec2 100644 --- a/gen/accessapproval1-cli/README.md +++ b/gen/accessapproval1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Access Approval* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *Access Approval* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash accessapproval1 [options] diff --git a/gen/accessapproval1-cli/mkdocs.yml b/gen/accessapproval1-cli/mkdocs.yml index a5c1b72be1..4a2508a7c1 100644 --- a/gen/accessapproval1-cli/mkdocs.yml +++ b/gen/accessapproval1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Approval v2.0.4+20210318 +site_name: Access Approval v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-accessapproval1-cli site_description: A complete library to interact with Access Approval (protocol v1) diff --git a/gen/accessapproval1-cli/src/main.rs b/gen/accessapproval1-cli/src/main.rs index 2c6ee583f0..53a1bc6892 100644 --- a/gen/accessapproval1-cli/src/main.rs +++ b/gen/accessapproval1-cli/src/main.rs @@ -2167,7 +2167,7 @@ async fn main() { let mut app = App::new("accessapproval1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("An API for controlling access to data by Google personnel.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accessapproval1_cli") .arg(Arg::with_name("url") diff --git a/gen/accessapproval1/Cargo.toml b/gen/accessapproval1/Cargo.toml index e61b1cc645..8a901b6ad7 100644 --- a/gen/accessapproval1/Cargo.toml +++ b/gen/accessapproval1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accessapproval1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1" homepage = "https://cloud.google.com/access-approval/docs" -documentation = "https://docs.rs/google-accessapproval1/2.0.4+20210318" +documentation = "https://docs.rs/google-accessapproval1/2.0.5+20210318" license = "MIT" keywords = ["accessapproval", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/accessapproval1/README.md b/gen/accessapproval1/README.md index 7b3d7f6478..e21f6f14f3 100644 --- a/gen/accessapproval1/README.md +++ b/gen/accessapproval1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-accessapproval1` library allows access to all features of the *Google Access Approval* service. -This documentation was generated from *Access Approval* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Access Approval* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Access Approval* *v1* API can be found at the [official documentation site](https://cloud.google.com/access-approval/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/AccessApproval) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/AccessApproval) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::FolderUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::FolderUpdateAccessApprovalSettingCall) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::OrganizationUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::OrganizationUpdateAccessApprovalSettingCall) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/api::ProjectUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/api::ProjectUpdateAccessApprovalSettingCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/AccessApproval)** +* **[Hub](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/AccessApproval)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::CallBuilder) +* **[Resources](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Part)** + * **[Parts](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-accessapproval1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -144,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Delegate), 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-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Delegate) to the +[Method Builder](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::CallBuilder) 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-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Delegate) 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 [encodable](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::RequestValue) and -[decodable](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::RequestValue) and +[decodable](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1/2.0.4+20210318/google_accessapproval1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::Part) 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-accessapproval1/2.0.4+20210318/google_accessapproval1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::CallBuilder), 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-accessapproval1/2.0.4+20210318/google_accessapproval1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accessapproval1/2.0.5+20210318/google_accessapproval1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accessapproval1/src/api.rs b/gen/accessapproval1/src/api.rs index 2177b5d406..c8d52d7fc1 100644 --- a/gen/accessapproval1/src/api.rs +++ b/gen/accessapproval1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > AccessApproval<> { AccessApproval { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://accessapproval.googleapis.com/".to_string(), _root_url: "https://accessapproval.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > AccessApproval<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accessapproval1/src/client.rs b/gen/accessapproval1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/accessapproval1/src/client.rs +++ b/gen/accessapproval1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/accessapproval1/src/lib.rs b/gen/accessapproval1/src/lib.rs index f4bef5940a..419d49e85c 100644 --- a/gen/accessapproval1/src/lib.rs +++ b/gen/accessapproval1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Approval* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Access Approval* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Access Approval* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/access-approval/docs). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-accessapproval1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/accessapproval1_beta1-cli/Cargo.toml b/gen/accessapproval1_beta1-cli/Cargo.toml index 5c52662db3..17dba17b7d 100644 --- a/gen/accessapproval1_beta1-cli/Cargo.toml +++ b/gen/accessapproval1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accessapproval1_beta1-cli" -version = "2.0.4+20200708" +version = "2.0.5+20200708" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accessapproval1_beta1] path = "../accessapproval1_beta1" -version = "2.0.4+20200708" +version = "2.0.5+20200708" diff --git a/gen/accessapproval1_beta1-cli/README.md b/gen/accessapproval1_beta1-cli/README.md index c9bf31367c..ababb43474 100644 --- a/gen/accessapproval1_beta1-cli/README.md +++ b/gen/accessapproval1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Access Approval* API at revision *20200708*. The CLI is at version *2.0.4*. +This documentation was generated from the *Access Approval* API at revision *20200708*. The CLI is at version *2.0.5*. ```bash accessapproval1-beta1 [options] diff --git a/gen/accessapproval1_beta1-cli/mkdocs.yml b/gen/accessapproval1_beta1-cli/mkdocs.yml index 27dd9bb7b3..12f5a109cc 100644 --- a/gen/accessapproval1_beta1-cli/mkdocs.yml +++ b/gen/accessapproval1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Approval v2.0.4+20200708 +site_name: Access Approval v2.0.5+20200708 site_url: http://byron.github.io/google-apis-rs/google-accessapproval1_beta1-cli site_description: A complete library to interact with Access Approval (protocol v1beta1) diff --git a/gen/accessapproval1_beta1-cli/src/main.rs b/gen/accessapproval1_beta1-cli/src/main.rs index 7dc829332a..2670f867f4 100644 --- a/gen/accessapproval1_beta1-cli/src/main.rs +++ b/gen/accessapproval1_beta1-cli/src/main.rs @@ -2245,7 +2245,7 @@ async fn main() { let mut app = App::new("accessapproval1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20200708") + .version("2.0.5+20200708") .about("An API for controlling access to data by Google personnel.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accessapproval1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/accessapproval1_beta1/Cargo.toml b/gen/accessapproval1_beta1/Cargo.toml index a8f14f6110..bcdba57e18 100644 --- a/gen/accessapproval1_beta1/Cargo.toml +++ b/gen/accessapproval1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accessapproval1_beta1" -version = "2.0.4+20200708" +version = "2.0.5+20200708" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1_beta1" homepage = "https://cloud.google.com/access-approval/docs" -documentation = "https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708" +documentation = "https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708" license = "MIT" keywords = ["accessapproval", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/accessapproval1_beta1/README.md b/gen/accessapproval1_beta1/README.md index 0836f6b584..5a0e3fe88e 100644 --- a/gen/accessapproval1_beta1/README.md +++ b/gen/accessapproval1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-accessapproval1_beta1` library allows access to all features of the *Google Access Approval* service. -This documentation was generated from *Access Approval* crate version *2.0.4+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Access Approval* crate version *2.0.5+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Access Approval* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/access-approval/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/AccessApproval) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/AccessApproval) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::FolderUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::FolderUpdateAccessApprovalSettingCall) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::OrganizationUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::OrganizationUpdateAccessApprovalSettingCall) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/api::ProjectUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/api::ProjectUpdateAccessApprovalSettingCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/AccessApproval)** +* **[Hub](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/AccessApproval)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-accessapproval1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -144,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Delegate), 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-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::CallBuilder) 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-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::Part) 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-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::CallBuilder), 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-accessapproval1_beta1/2.0.4+20200708/google_accessapproval1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accessapproval1_beta1/2.0.5+20200708/google_accessapproval1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accessapproval1_beta1/src/api.rs b/gen/accessapproval1_beta1/src/api.rs index d977551bf3..ebcdd1cff9 100644 --- a/gen/accessapproval1_beta1/src/api.rs +++ b/gen/accessapproval1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > AccessApproval<> { AccessApproval { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://accessapproval.googleapis.com/".to_string(), _root_url: "https://accessapproval.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > AccessApproval<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accessapproval1_beta1/src/client.rs b/gen/accessapproval1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/accessapproval1_beta1/src/client.rs +++ b/gen/accessapproval1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/accessapproval1_beta1/src/lib.rs b/gen/accessapproval1_beta1/src/lib.rs index f3be5b6b7e..48b53ba6aa 100644 --- a/gen/accessapproval1_beta1/src/lib.rs +++ b/gen/accessapproval1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Approval* crate version *2.0.4+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Access Approval* crate version *2.0.5+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Access Approval* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/access-approval/docs). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-accessapproval1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/accesscontextmanager1-cli/Cargo.toml b/gen/accesscontextmanager1-cli/Cargo.toml index 59f14e1ec8..b3c096ecfb 100644 --- a/gen/accesscontextmanager1-cli/Cargo.toml +++ b/gen/accesscontextmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accesscontextmanager1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accesscontextmanager1] path = "../accesscontextmanager1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/accesscontextmanager1-cli/README.md b/gen/accesscontextmanager1-cli/README.md index c81def49b0..16c2fcb542 100644 --- a/gen/accesscontextmanager1-cli/README.md +++ b/gen/accesscontextmanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Access Context Manager* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Access Context Manager* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash accesscontextmanager1 [options] diff --git a/gen/accesscontextmanager1-cli/mkdocs.yml b/gen/accesscontextmanager1-cli/mkdocs.yml index 2fdc1bf82e..e2b3f36978 100644 --- a/gen/accesscontextmanager1-cli/mkdocs.yml +++ b/gen/accesscontextmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v2.0.4+20210319 +site_name: Access Context Manager v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-accesscontextmanager1-cli site_description: A complete library to interact with Access Context Manager (protocol v1) diff --git a/gen/accesscontextmanager1-cli/src/main.rs b/gen/accesscontextmanager1-cli/src/main.rs index 2996cd6e1e..1290296e11 100644 --- a/gen/accesscontextmanager1-cli/src/main.rs +++ b/gen/accesscontextmanager1-cli/src/main.rs @@ -2804,7 +2804,7 @@ async fn main() { let mut app = App::new("accesscontextmanager1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("An API for setting attribute based access control to requests to GCP services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accesscontextmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/accesscontextmanager1/Cargo.toml b/gen/accesscontextmanager1/Cargo.toml index 771481de2f..307a15927c 100644 --- a/gen/accesscontextmanager1/Cargo.toml +++ b/gen/accesscontextmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1" homepage = "https://cloud.google.com/access-context-manager/docs/reference/rest/" -documentation = "https://docs.rs/google-accesscontextmanager1/2.0.4+20210319" +documentation = "https://docs.rs/google-accesscontextmanager1/2.0.5+20210319" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/accesscontextmanager1/README.md b/gen/accesscontextmanager1/README.md index c88020f995..4ba62a9afb 100644 --- a/gen/accesscontextmanager1/README.md +++ b/gen/accesscontextmanager1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-accesscontextmanager1` library allows access to all features of the *Google Access Context Manager* service. -This documentation was generated from *Access Context Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Access Context Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Access Context Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/AccessContextManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/AccessContextManager) ... -* [access policies](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicy) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelPatchCall), [*access levels replace all*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelReplaceAllCall), [*create*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyPatchCall), [*service perimeters commit*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCommitCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterListCall), [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterPatchCall) and [*service perimeters replace all*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterReplaceAllCall) -* [operations](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::Operation) - * [*cancel*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OperationCancelCall), [*delete*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OperationDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OperationGetCall) and [*list*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OperationListCall) +* [access policies](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicy) + * [*access levels create*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelPatchCall), [*access levels replace all*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyAccessLevelReplaceAllCall), [*create*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyPatchCall), [*service perimeters commit*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCommitCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterListCall), [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterPatchCall) and [*service perimeters replace all*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::AccessPolicyServicePerimeterReplaceAllCall) +* [operations](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::Operation) + * [*cancel*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OperationCancelCall), [*delete*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OperationDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OperationGetCall) and [*list*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OperationListCall) * organizations - * [*gcp user access bindings create*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingCreateCall), [*gcp user access bindings delete*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingDeleteCall), [*gcp user access bindings get*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingGetCall), [*gcp user access bindings list*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingListCall) and [*gcp user access bindings patch*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingPatchCall) + * [*gcp user access bindings create*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingCreateCall), [*gcp user access bindings delete*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingDeleteCall), [*gcp user access bindings get*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingGetCall), [*gcp user access bindings list*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingListCall) and [*gcp user access bindings patch*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/AccessContextManager)** +* **[Hub](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/AccessContextManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Part)** + * **[Parts](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -86,9 +86,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-accesscontextmanager1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -151,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Delegate), 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-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::ResponseResult), 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")`. @@ -171,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::CallBuilder) 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-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Delegate) 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 [encodable](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::Part) 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-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::CallBuilder), 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-accesscontextmanager1/2.0.4+20210319/google_accesscontextmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accesscontextmanager1/2.0.5+20210319/google_accesscontextmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accesscontextmanager1/src/api.rs b/gen/accesscontextmanager1/src/api.rs index 1bb9420243..35f9129a50 100644 --- a/gen/accesscontextmanager1/src/api.rs +++ b/gen/accesscontextmanager1/src/api.rs @@ -117,7 +117,7 @@ impl<'a, > AccessContextManager<> { AccessContextManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://accesscontextmanager.googleapis.com/".to_string(), _root_url: "https://accesscontextmanager.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > AccessContextManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accesscontextmanager1/src/client.rs b/gen/accesscontextmanager1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/accesscontextmanager1/src/client.rs +++ b/gen/accesscontextmanager1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/accesscontextmanager1/src/lib.rs b/gen/accesscontextmanager1/src/lib.rs index f54d2f73df..0fa326020f 100644 --- a/gen/accesscontextmanager1/src/lib.rs +++ b/gen/accesscontextmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Context Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Access Context Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Access Context Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). @@ -86,9 +86,6 @@ //! ```toml //! [dependencies] //! google-accesscontextmanager1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/accesscontextmanager1_beta-cli/Cargo.toml b/gen/accesscontextmanager1_beta-cli/Cargo.toml index be443b5b0c..971072df68 100644 --- a/gen/accesscontextmanager1_beta-cli/Cargo.toml +++ b/gen/accesscontextmanager1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accesscontextmanager1_beta-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accesscontextmanager1_beta] path = "../accesscontextmanager1_beta" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/accesscontextmanager1_beta-cli/README.md b/gen/accesscontextmanager1_beta-cli/README.md index 4cf9fb3588..6f519ce5ad 100644 --- a/gen/accesscontextmanager1_beta-cli/README.md +++ b/gen/accesscontextmanager1_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Access Context Manager* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Access Context Manager* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash accesscontextmanager1-beta [options] diff --git a/gen/accesscontextmanager1_beta-cli/mkdocs.yml b/gen/accesscontextmanager1_beta-cli/mkdocs.yml index 44a5fe4b91..863ecd403b 100644 --- a/gen/accesscontextmanager1_beta-cli/mkdocs.yml +++ b/gen/accesscontextmanager1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v2.0.4+20210319 +site_name: Access Context Manager v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-accesscontextmanager1_beta-cli site_description: A complete library to interact with Access Context Manager (protocol v1beta) diff --git a/gen/accesscontextmanager1_beta-cli/src/main.rs b/gen/accesscontextmanager1_beta-cli/src/main.rs index aa77f24ac7..7227b10510 100644 --- a/gen/accesscontextmanager1_beta-cli/src/main.rs +++ b/gen/accesscontextmanager1_beta-cli/src/main.rs @@ -1676,7 +1676,7 @@ async fn main() { let mut app = App::new("accesscontextmanager1-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("An API for setting attribute based access control to requests to GCP services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accesscontextmanager1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/accesscontextmanager1_beta/Cargo.toml b/gen/accesscontextmanager1_beta/Cargo.toml index 86d0bbcdcd..5db8fa5f29 100644 --- a/gen/accesscontextmanager1_beta/Cargo.toml +++ b/gen/accesscontextmanager1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1_beta" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1_beta" homepage = "https://cloud.google.com/access-context-manager/docs/reference/rest/" -documentation = "https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319" +documentation = "https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/accesscontextmanager1_beta/README.md b/gen/accesscontextmanager1_beta/README.md index d2fb1dc7e0..b453c096a9 100644 --- a/gen/accesscontextmanager1_beta/README.md +++ b/gen/accesscontextmanager1_beta/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-accesscontextmanager1_beta` library allows access to all features of the *Google Access Context Manager* service. -This documentation was generated from *Access Context Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Access Context Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Access Context Manager* *v1_beta* API can be found at the [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/AccessContextManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/AccessContextManager) ... -* [access policies](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicy) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelPatchCall), [*create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyPatchCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterListCall) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterPatchCall) -* [operations](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::Operation) - * [*get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/api::OperationGetCall) +* [access policies](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicy) + * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelPatchCall), [*create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyPatchCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterListCall) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterPatchCall) +* [operations](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::Operation) + * [*get*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/api::OperationGetCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/AccessContextManager)** +* **[Hub](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/AccessContextManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Part)** + * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-accesscontextmanager1_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -144,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Delegate), 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-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::CallBuilder) 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-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Delegate) 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 [encodable](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::Part) 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-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::CallBuilder), 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-accesscontextmanager1_beta/2.0.4+20210319/google_accesscontextmanager1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-accesscontextmanager1_beta/2.0.5+20210319/google_accesscontextmanager1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accesscontextmanager1_beta/src/api.rs b/gen/accesscontextmanager1_beta/src/api.rs index 678ccf1cb5..2a6572c646 100644 --- a/gen/accesscontextmanager1_beta/src/api.rs +++ b/gen/accesscontextmanager1_beta/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AccessContextManager<> { AccessContextManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://accesscontextmanager.googleapis.com/".to_string(), _root_url: "https://accesscontextmanager.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > AccessContextManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/accesscontextmanager1_beta/src/client.rs b/gen/accesscontextmanager1_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/accesscontextmanager1_beta/src/client.rs +++ b/gen/accesscontextmanager1_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/accesscontextmanager1_beta/src/lib.rs b/gen/accesscontextmanager1_beta/src/lib.rs index 2109361459..e4b9ef07a6 100644 --- a/gen/accesscontextmanager1_beta/src/lib.rs +++ b/gen/accesscontextmanager1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Context Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Access Context Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Access Context Manager* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-accesscontextmanager1_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adexchangebuyer1d3-cli/Cargo.toml b/gen/adexchangebuyer1d3-cli/Cargo.toml index ce75c485ff..af6f2c2f41 100644 --- a/gen/adexchangebuyer1d3-cli/Cargo.toml +++ b/gen/adexchangebuyer1d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d3-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangebuyer1d3] path = "../adexchangebuyer1d3" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/adexchangebuyer1d3-cli/README.md b/gen/adexchangebuyer1d3-cli/README.md index aa739e12f5..5b319befc9 100644 --- a/gen/adexchangebuyer1d3-cli/README.md +++ b/gen/adexchangebuyer1d3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash adexchangebuyer1d3 [options] diff --git a/gen/adexchangebuyer1d3-cli/mkdocs.yml b/gen/adexchangebuyer1d3-cli/mkdocs.yml index c78f9db666..62d4097019 100644 --- a/gen/adexchangebuyer1d3-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v2.0.4+20210330 +site_name: Ad Exchange Buyer v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer1d3-cli site_description: A complete library to interact with Ad Exchange Buyer (protocol v1.3) diff --git a/gen/adexchangebuyer1d3-cli/src/main.rs b/gen/adexchangebuyer1d3-cli/src/main.rs index 99ff3f1a2e..d3f117b8d8 100644 --- a/gen/adexchangebuyer1d3-cli/src/main.rs +++ b/gen/adexchangebuyer1d3-cli/src/main.rs @@ -2289,7 +2289,7 @@ async fn main() { let mut app = App::new("adexchangebuyer1d3") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer1d3_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer1d3/Cargo.toml b/gen/adexchangebuyer1d3/Cargo.toml index 5560cd0bbf..f7ea004f3a 100644 --- a/gen/adexchangebuyer1d3/Cargo.toml +++ b/gen/adexchangebuyer1d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d3" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d3" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330" +documentation = "https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangebuyer1d3/README.md b/gen/adexchangebuyer1d3/README.md index 71e3405d1d..2568677c8b 100644 --- a/gen/adexchangebuyer1d3/README.md +++ b/gen/adexchangebuyer1d3/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-adexchangebuyer1d3` library allows access to all features of the *Google Ad Exchange Buyer* service. -This documentation was generated from *Ad Exchange Buyer* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Ad Exchange Buyer* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/AdExchangeBuyer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/AdExchangeBuyer) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::Account) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::AccountUpdateCall) -* [billing info](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::BillingInfo) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::BillingInfoListCall) -* [budget](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::Budget) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::BudgetUpdateCall) -* [creatives](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::Creative) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::CreativeInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::CreativeListCall) -* [direct deals](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::DirectDeal) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::DirectDealGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::DirectDealListCall) -* [performance report](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PerformanceReport) - * [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PerformanceReportListCall) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfig) - * [*delete*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/api::PretargetingConfigUpdateCall) +* [accounts](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::Account) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::AccountUpdateCall) +* [billing info](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::BillingInfo) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::BillingInfoListCall) +* [budget](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::Budget) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::BudgetUpdateCall) +* [creatives](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::Creative) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::CreativeInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::CreativeListCall) +* [direct deals](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::DirectDeal) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::DirectDealGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::DirectDealListCall) +* [performance report](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PerformanceReport) + * [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PerformanceReportListCall) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfig) + * [*delete*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/api::PretargetingConfigUpdateCall) @@ -35,17 +35,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/AdExchangeBuyer)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/AdExchangeBuyer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -79,9 +79,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adexchangebuyer1d3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -147,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::ResponseResult), 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")`. @@ -167,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Delegate) 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 [encodable](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangebuyer1d3/2.0.4+20210330/google_adexchangebuyer1d3/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d3/2.0.5+20210330/google_adexchangebuyer1d3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer1d3/src/api.rs b/gen/adexchangebuyer1d3/src/api.rs index 085429cc11..172da8737e 100644 --- a/gen/adexchangebuyer1d3/src/api.rs +++ b/gen/adexchangebuyer1d3/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > AdExchangeBuyer<> { AdExchangeBuyer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/adexchangebuyer/v1.3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -149,7 +149,7 @@ impl<'a, > AdExchangeBuyer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer1d3/src/client.rs b/gen/adexchangebuyer1d3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adexchangebuyer1d3/src/client.rs +++ b/gen/adexchangebuyer1d3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs index ec7e73806c..0a8a1b1a10 100644 --- a/gen/adexchangebuyer1d3/src/lib.rs +++ b/gen/adexchangebuyer1d3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Buyer* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). @@ -79,9 +79,6 @@ //! ```toml //! [dependencies] //! google-adexchangebuyer1d3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adexchangebuyer1d4-cli/Cargo.toml b/gen/adexchangebuyer1d4-cli/Cargo.toml index 0d83db507e..e0e776d69c 100644 --- a/gen/adexchangebuyer1d4-cli/Cargo.toml +++ b/gen/adexchangebuyer1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d4-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangebuyer1d4] path = "../adexchangebuyer1d4" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/adexchangebuyer1d4-cli/README.md b/gen/adexchangebuyer1d4-cli/README.md index 81f5fe9423..f69e3081cb 100644 --- a/gen/adexchangebuyer1d4-cli/README.md +++ b/gen/adexchangebuyer1d4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash adexchangebuyer1d4 [options] diff --git a/gen/adexchangebuyer1d4-cli/mkdocs.yml b/gen/adexchangebuyer1d4-cli/mkdocs.yml index b6a529d170..656933c09b 100644 --- a/gen/adexchangebuyer1d4-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v2.0.4+20210330 +site_name: Ad Exchange Buyer v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer1d4-cli site_description: A complete library to interact with Ad Exchange Buyer (protocol v1.4) diff --git a/gen/adexchangebuyer1d4-cli/src/main.rs b/gen/adexchangebuyer1d4-cli/src/main.rs index dca9777e9b..b7612fa595 100644 --- a/gen/adexchangebuyer1d4-cli/src/main.rs +++ b/gen/adexchangebuyer1d4-cli/src/main.rs @@ -4075,7 +4075,7 @@ async fn main() { let mut app = App::new("adexchangebuyer1d4") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer1d4_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer1d4/Cargo.toml b/gen/adexchangebuyer1d4/Cargo.toml index 2ae7f1ef25..17ecc3b83e 100644 --- a/gen/adexchangebuyer1d4/Cargo.toml +++ b/gen/adexchangebuyer1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d4" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d4" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330" +documentation = "https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangebuyer1d4/README.md b/gen/adexchangebuyer1d4/README.md index a05a610431..66705a0918 100644 --- a/gen/adexchangebuyer1d4/README.md +++ b/gen/adexchangebuyer1d4/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-adexchangebuyer1d4` library allows access to all features of the *Google Ad Exchange Buyer* service. -This documentation was generated from *Ad Exchange Buyer* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Ad Exchange Buyer* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/AdExchangeBuyer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/AdExchangeBuyer) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::Account) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::AccountUpdateCall) -* [billing info](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::BillingInfo) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::BillingInfoListCall) -* [budget](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::Budget) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::BudgetUpdateCall) -* [creatives](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::Creative) - * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::CreativeAddDealCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::CreativeListCall), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::CreativeListDealCall) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::CreativeRemoveDealCall) +* [accounts](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::Account) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::AccountUpdateCall) +* [billing info](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::BillingInfo) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::BillingInfoListCall) +* [budget](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::Budget) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::BudgetUpdateCall) +* [creatives](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::Creative) + * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::CreativeAddDealCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::CreativeListCall), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::CreativeListDealCall) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::CreativeRemoveDealCall) * marketplacedeals - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplacedealDeleteCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplacedealInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplacedealListCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplacedealUpdateCall) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplacedealDeleteCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplacedealInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplacedealListCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplacedealUpdateCall) * marketplacenotes - * [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplacenoteInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplacenoteListCall) + * [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplacenoteInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplacenoteListCall) * marketplaceprivateauction - * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::MarketplaceprivateauctionUpdateproposalCall) -* [performance report](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PerformanceReport) - * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PerformanceReportListCall) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfig) - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PretargetingConfigUpdateCall) -* [products](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::Product) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProductGetCall) and [*search*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProductSearchCall) -* [proposals](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::Proposal) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProposalGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProposalInsertCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProposalPatchCall), [*search*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProposalSearchCall), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProposalSetupcompleteCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::ProposalUpdateCall) + * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::MarketplaceprivateauctionUpdateproposalCall) +* [performance report](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PerformanceReport) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PerformanceReportListCall) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfig) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PretargetingConfigUpdateCall) +* [products](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::Product) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProductGetCall) and [*search*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProductSearchCall) +* [proposals](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::Proposal) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProposalGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProposalInsertCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProposalPatchCall), [*search*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProposalSearchCall), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProposalSetupcompleteCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::ProposalUpdateCall) * pubprofiles - * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/api::PubprofileListCall) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/api::PubprofileListCall) @@ -45,17 +45,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/AdExchangeBuyer)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/AdExchangeBuyer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,9 +91,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adexchangebuyer1d4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -159,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::ResponseResult), 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")`. @@ -179,29 +176,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Delegate) 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 [encodable](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangebuyer1d4/2.0.4+20210330/google_adexchangebuyer1d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d4/2.0.5+20210330/google_adexchangebuyer1d4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer1d4/src/api.rs b/gen/adexchangebuyer1d4/src/api.rs index 629ebd2cec..57109de600 100644 --- a/gen/adexchangebuyer1d4/src/api.rs +++ b/gen/adexchangebuyer1d4/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > AdExchangeBuyer<> { AdExchangeBuyer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/adexchangebuyer/v1.4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -164,7 +164,7 @@ impl<'a, > AdExchangeBuyer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer1d4/src/client.rs b/gen/adexchangebuyer1d4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adexchangebuyer1d4/src/client.rs +++ b/gen/adexchangebuyer1d4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs index 735da2539f..c17038d359 100644 --- a/gen/adexchangebuyer1d4/src/lib.rs +++ b/gen/adexchangebuyer1d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Buyer* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). @@ -91,9 +91,6 @@ //! ```toml //! [dependencies] //! google-adexchangebuyer1d4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml b/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml index 0766f9aa41..5d991867b7 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml +++ b/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer2_v2_beta1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdExchangeBuyerII (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer2_v2_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangebuyer2_v2_beta1] path = "../adexchangebuyer2_v2_beta1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/adexchangebuyer2_v2_beta1-cli/README.md b/gen/adexchangebuyer2_v2_beta1-cli/README.md index 2e9537b926..80feff3ef1 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/README.md +++ b/gen/adexchangebuyer2_v2_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AdExchangeBuyerII* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *AdExchangeBuyerII* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash adexchangebuyer2-v2-beta1 [options] diff --git a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml index f6d6ed144d..55f9848e0d 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml +++ b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdExchangeBuyerII v2.0.4+20210331 +site_name: AdExchangeBuyerII v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer2_v2_beta1-cli site_description: A complete library to interact with AdExchangeBuyerII (protocol v2beta1) diff --git a/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs b/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs index e4f1fe504b..6b2e504537 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs +++ b/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs @@ -6329,7 +6329,7 @@ async fn main() { let mut app = App::new("adexchangebuyer2-v2-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer2_v2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer2_v2_beta1/Cargo.toml b/gen/adexchangebuyer2_v2_beta1/Cargo.toml index 4d5d455b44..0a105d2313 100644 --- a/gen/adexchangebuyer2_v2_beta1/Cargo.toml +++ b/gen/adexchangebuyer2_v2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer2_v2_beta1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdExchangeBuyerII (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer2_v2_beta1" homepage = "https://developers.google.com/authorized-buyers/apis/reference/rest/" -documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331" +documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331" license = "MIT" keywords = ["adexchangebuyer2", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangebuyer2_v2_beta1/README.md b/gen/adexchangebuyer2_v2_beta1/README.md index c8a1c8bf12..ebbd1e2a84 100644 --- a/gen/adexchangebuyer2_v2_beta1/README.md +++ b/gen/adexchangebuyer2_v2_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-adexchangebuyer2_v2_beta1` library allows access to all features of the *Google AdExchangeBuyerII* service. -This documentation was generated from *AdExchangeBuyerII* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AdExchangeBuyerII* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AdExchangeBuyerII* *v2_beta1* API can be found at the [official documentation site](https://developers.google.com/authorized-buyers/apis/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII) ... * accounts - * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientCreateCall), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientGetCall), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationCreateCall), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationGetCall), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationListCall), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientListCall), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUpdateCall), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserGetCall), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserListCall), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserUpdateCall), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeCreateCall), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationAddCall), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationListCall), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationRemoveCall), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeGetCall), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeListCall), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeStopWatchingCall), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeUpdateCall), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeWatchCall), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalListCall), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProductListCall), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalAcceptCall), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCancelNegotiationCall), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCompleteSetupCall), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCreateCall), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalGetCall), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalListCall), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalPauseCall), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalResumeCall), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalUpdateCall), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileListCall) + * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientCreateCall), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientGetCall), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationCreateCall), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationGetCall), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationListCall), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientListCall), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUpdateCall), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserGetCall), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserListCall), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountClientUserUpdateCall), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeCreateCall), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationAddCall), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationListCall), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationRemoveCall), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeGetCall), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeListCall), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeStopWatchingCall), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeUpdateCall), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountCreativeWatchCall), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalListCall), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProductListCall), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalAcceptCall), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCancelNegotiationCall), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCompleteSetupCall), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalCreateCall), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalGetCall), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalListCall), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalPauseCall), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalResumeCall), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountProposalUpdateCall), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileListCall) * bidders - * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidMetricListCall), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponseErrorListCall), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponsesWithoutBidListCall), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetCreateCall), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetDeleteCall), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidRequestListCall), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidCreativeListCall), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidDetailListCall), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidListCall), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetGetCall), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetImpressionMetricListCall), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetListCall), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetLosingBidListCall), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetNonBillableWinningBidListCall), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidMetricListCall), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponseErrorListCall), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponsesWithoutBidListCall), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetCreateCall), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetDeleteCall), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidRequestListCall), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidCreativeListCall), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidDetailListCall), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidListCall), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetGetCall), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetImpressionMetricListCall), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetListCall), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetLosingBidListCall) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetNonBillableWinningBidListCall) + * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidMetricListCall), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponseErrorListCall), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponsesWithoutBidListCall), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetCreateCall), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetDeleteCall), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidRequestListCall), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidCreativeListCall), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidDetailListCall), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidListCall), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetGetCall), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetImpressionMetricListCall), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetListCall), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetLosingBidListCall), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetNonBillableWinningBidListCall), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidMetricListCall), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponseErrorListCall), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponsesWithoutBidListCall), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetCreateCall), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetDeleteCall), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidRequestListCall), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidCreativeListCall), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidDetailListCall), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidListCall), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetGetCall), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetImpressionMetricListCall), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetListCall), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetLosingBidListCall) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetNonBillableWinningBidListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII)** +* **[Hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adexchangebuyer2_v2_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate), 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-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder) 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-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::Part) 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-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::CallBuilder), 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-adexchangebuyer2_v2_beta1/2.0.4+20210331/google_adexchangebuyer2_v2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer2_v2_beta1/2.0.5+20210331/google_adexchangebuyer2_v2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer2_v2_beta1/src/api.rs b/gen/adexchangebuyer2_v2_beta1/src/api.rs index 9afea59f7e..65a0e2f44b 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/api.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > AdExchangeBuyerII<> { AdExchangeBuyerII { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://adexchangebuyer.googleapis.com/".to_string(), _root_url: "https://adexchangebuyer.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > AdExchangeBuyerII<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer2_v2_beta1/src/client.rs b/gen/adexchangebuyer2_v2_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/client.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adexchangebuyer2_v2_beta1/src/lib.rs b/gen/adexchangebuyer2_v2_beta1/src/lib.rs index f12f4129fd..ff1cd25ea0 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/lib.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdExchangeBuyerII* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AdExchangeBuyerII* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AdExchangeBuyerII* *v2_beta1* API can be found at the //! [official documentation site](https://developers.google.com/authorized-buyers/apis/reference/rest/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-adexchangebuyer2_v2_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adexchangeseller2-cli/Cargo.toml b/gen/adexchangeseller2-cli/Cargo.toml index e7122856a4..a7ee54805f 100644 --- a/gen/adexchangeseller2-cli/Cargo.toml +++ b/gen/adexchangeseller2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangeseller2-cli" -version = "2.0.4+20171101" +version = "2.0.5+20171101" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Seller (protocol v2.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangeseller2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangeseller2] path = "../adexchangeseller2" -version = "2.0.4+20171101" +version = "2.0.5+20171101" diff --git a/gen/adexchangeseller2-cli/README.md b/gen/adexchangeseller2-cli/README.md index e5280bf66a..ab054eb407 100644 --- a/gen/adexchangeseller2-cli/README.md +++ b/gen/adexchangeseller2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Exchange Seller* API at revision *20171101*. The CLI is at version *2.0.4*. +This documentation was generated from the *Ad Exchange Seller* API at revision *20171101*. The CLI is at version *2.0.5*. ```bash adexchangeseller2 [options] diff --git a/gen/adexchangeseller2-cli/mkdocs.yml b/gen/adexchangeseller2-cli/mkdocs.yml index 03227f85c9..c89bb75b98 100644 --- a/gen/adexchangeseller2-cli/mkdocs.yml +++ b/gen/adexchangeseller2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Seller v2.0.4+20171101 +site_name: Ad Exchange Seller v2.0.5+20171101 site_url: http://byron.github.io/google-apis-rs/google-adexchangeseller2-cli site_description: A complete library to interact with Ad Exchange Seller (protocol v2.0) diff --git a/gen/adexchangeseller2-cli/src/main.rs b/gen/adexchangeseller2-cli/src/main.rs index 4d922152ad..53468cf019 100644 --- a/gen/adexchangeseller2-cli/src/main.rs +++ b/gen/adexchangeseller2-cli/src/main.rs @@ -1330,7 +1330,7 @@ async fn main() { let mut app = App::new("adexchangeseller2") .author("Sebastian Thiel ") - .version("2.0.4+20171101") + .version("2.0.5+20171101") .about("Accesses the inventory of Ad Exchange seller users and generates reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangeseller2_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangeseller2/Cargo.toml b/gen/adexchangeseller2/Cargo.toml index 2e7ea59894..a5b5534a69 100644 --- a/gen/adexchangeseller2/Cargo.toml +++ b/gen/adexchangeseller2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangeseller2" -version = "2.0.4+20171101" +version = "2.0.5+20171101" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Seller (protocol v2.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangeseller2" homepage = "https://developers.google.com/ad-exchange/seller-rest/" -documentation = "https://docs.rs/google-adexchangeseller2/2.0.4+20171101" +documentation = "https://docs.rs/google-adexchangeseller2/2.0.5+20171101" license = "MIT" keywords = ["adexchangeseller", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexchangeseller2/README.md b/gen/adexchangeseller2/README.md index 40876bf847..c534b533eb 100644 --- a/gen/adexchangeseller2/README.md +++ b/gen/adexchangeseller2/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-adexchangeseller2` library allows access to all features of the *Google Ad Exchange Seller* service. -This documentation was generated from *Ad Exchange Seller* crate version *2.0.4+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Ad Exchange Seller* crate version *2.0.5+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Ad Exchange Seller* *v2* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/AdExchangeSeller) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/AdExchangeSeller) ... -* [accounts](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::Account) - * [*adclients list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountAdclientListCall), [*alerts list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountAlertListCall), [*customchannels get*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountListCall), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountMetadataDimensionListCall), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountMetadataMetricListCall), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountPreferreddealGetCall), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountPreferreddealListCall), [*reports generate*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountReportSavedListCall) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountUrlchannelListCall) +* [accounts](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::Account) + * [*adclients list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountAdclientListCall), [*alerts list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountAlertListCall), [*customchannels get*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountListCall), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountMetadataDimensionListCall), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountMetadataMetricListCall), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountPreferreddealGetCall), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountPreferreddealListCall), [*reports generate*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountReportSavedListCall) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountUrlchannelListCall) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/api::AccountReportGenerateCall) +* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/api::AccountReportGenerateCall) @@ -27,17 +27,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/AdExchangeSeller)** +* **[Hub](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/AdExchangeSeller)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Part)** + * **[Parts](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -81,9 +81,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adexchangeseller2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -150,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -170,29 +167,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Delegate) 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 [encodable](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangeseller2/2.0.4+20171101/google_adexchangeseller2/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangeseller2/2.0.5+20171101/google_adexchangeseller2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangeseller2/src/api.rs b/gen/adexchangeseller2/src/api.rs index 8f784ce75f..b12af8d7ec 100644 --- a/gen/adexchangeseller2/src/api.rs +++ b/gen/adexchangeseller2/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > AdExchangeSeller<> { AdExchangeSeller { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/adexchangeseller/v2.0/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > AdExchangeSeller<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangeseller2/src/client.rs b/gen/adexchangeseller2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adexchangeseller2/src/client.rs +++ b/gen/adexchangeseller2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adexchangeseller2/src/lib.rs b/gen/adexchangeseller2/src/lib.rs index 428eba022c..ac344ecc19 100644 --- a/gen/adexchangeseller2/src/lib.rs +++ b/gen/adexchangeseller2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Seller* crate version *2.0.4+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Ad Exchange Seller* crate version *2.0.5+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Ad Exchange Seller* *v2* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). @@ -81,9 +81,6 @@ //! ```toml //! [dependencies] //! google-adexchangeseller2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adexperiencereport1-cli/Cargo.toml b/gen/adexperiencereport1-cli/Cargo.toml index b19ab9578f..434bfe5566 100644 --- a/gen/adexperiencereport1-cli/Cargo.toml +++ b/gen/adexperiencereport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexperiencereport1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexperiencereport1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexperiencereport1] path = "../adexperiencereport1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/adexperiencereport1-cli/README.md b/gen/adexperiencereport1-cli/README.md index e1e6d35708..781c13f9e3 100644 --- a/gen/adexperiencereport1-cli/README.md +++ b/gen/adexperiencereport1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Experience Report* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Ad Experience Report* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash adexperiencereport1 [options] diff --git a/gen/adexperiencereport1-cli/mkdocs.yml b/gen/adexperiencereport1-cli/mkdocs.yml index 8a3a44181f..89e5cc6f64 100644 --- a/gen/adexperiencereport1-cli/mkdocs.yml +++ b/gen/adexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Experience Report v2.0.4+20210329 +site_name: Ad Experience Report v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-adexperiencereport1-cli site_description: A complete library to interact with Ad Experience Report (protocol v1) diff --git a/gen/adexperiencereport1-cli/src/main.rs b/gen/adexperiencereport1-cli/src/main.rs index 354ebc3ad8..3c8e41934d 100644 --- a/gen/adexperiencereport1-cli/src/main.rs +++ b/gen/adexperiencereport1-cli/src/main.rs @@ -285,7 +285,7 @@ async fn main() { let mut app = App::new("adexperiencereport1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexperiencereport1_cli") .arg(Arg::with_name("folder") diff --git a/gen/adexperiencereport1/Cargo.toml b/gen/adexperiencereport1/Cargo.toml index e7ba729e7e..c857846d6e 100644 --- a/gen/adexperiencereport1/Cargo.toml +++ b/gen/adexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexperiencereport1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexperiencereport1" homepage = "https://developers.google.com/ad-experience-report/" -documentation = "https://docs.rs/google-adexperiencereport1/2.0.4+20210329" +documentation = "https://docs.rs/google-adexperiencereport1/2.0.5+20210329" license = "MIT" keywords = ["adexperiencereport", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adexperiencereport1/README.md b/gen/adexperiencereport1/README.md index a6a63827e8..4a65d6394d 100644 --- a/gen/adexperiencereport1/README.md +++ b/gen/adexperiencereport1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-adexperiencereport1` library allows access to all features of the *Google Ad Experience Report* service. -This documentation was generated from *Ad Experience Report* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Ad Experience Report* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Ad Experience Report* *v1* API can be found at the [official documentation site](https://developers.google.com/ad-experience-report/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/AdExperienceReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/AdExperienceReport) ... * sites - * [*get*](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/api::SiteGetCall) + * [*get*](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/api::SiteGetCall) * violating sites - * [*list*](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/api::ViolatingSiteListCall) + * [*list*](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/api::ViolatingSiteListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/AdExperienceReport)** +* **[Hub](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/AdExperienceReport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Part)** + * **[Parts](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adexperiencereport1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -128,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Delegate), 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-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::CallBuilder) 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-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Delegate) 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 [encodable](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::RequestValue) and -[decodable](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::RequestValue) and +[decodable](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::Part) 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-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::CallBuilder), 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-adexperiencereport1/2.0.4+20210329/google_adexperiencereport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexperiencereport1/2.0.5+20210329/google_adexperiencereport1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexperiencereport1/src/api.rs b/gen/adexperiencereport1/src/api.rs index 28de91a12b..0dc143b6fa 100644 --- a/gen/adexperiencereport1/src/api.rs +++ b/gen/adexperiencereport1/src/api.rs @@ -92,7 +92,7 @@ impl<'a, > AdExperienceReport<> { AdExperienceReport { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://adexperiencereport.googleapis.com/".to_string(), _root_url: "https://adexperiencereport.googleapis.com/".to_string(), } @@ -106,7 +106,7 @@ impl<'a, > AdExperienceReport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexperiencereport1/src/client.rs b/gen/adexperiencereport1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adexperiencereport1/src/client.rs +++ b/gen/adexperiencereport1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adexperiencereport1/src/lib.rs b/gen/adexperiencereport1/src/lib.rs index 186fe6d8d7..65ea8573bb 100644 --- a/gen/adexperiencereport1/src/lib.rs +++ b/gen/adexperiencereport1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Experience Report* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Ad Experience Report* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Ad Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/ad-experience-report/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-adexperiencereport1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/admob1-cli/Cargo.toml b/gen/admob1-cli/Cargo.toml index 2a6ba5973e..7450737bb8 100644 --- a/gen/admob1-cli/Cargo.toml +++ b/gen/admob1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-admob1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdMob (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/admob1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-admob1] path = "../admob1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/admob1-cli/README.md b/gen/admob1-cli/README.md index ef05daa29c..a66521f6c0 100644 --- a/gen/admob1-cli/README.md +++ b/gen/admob1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AdMob* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *AdMob* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash admob1 [options] diff --git a/gen/admob1-cli/mkdocs.yml b/gen/admob1-cli/mkdocs.yml index bfcf9b37db..f4538bd4b0 100644 --- a/gen/admob1-cli/mkdocs.yml +++ b/gen/admob1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdMob v2.0.4+20210331 +site_name: AdMob v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-admob1-cli site_description: A complete library to interact with AdMob (protocol v1) diff --git a/gen/admob1-cli/src/main.rs b/gen/admob1-cli/src/main.rs index 4eb9b1d027..f321fe1d7a 100644 --- a/gen/admob1-cli/src/main.rs +++ b/gen/admob1-cli/src/main.rs @@ -541,7 +541,7 @@ async fn main() { let mut app = App::new("admob1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("The AdMob API allows publishers to programmatically get information about their AdMob account. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_admob1_cli") .arg(Arg::with_name("url") diff --git a/gen/admob1/Cargo.toml b/gen/admob1/Cargo.toml index a4e11337ef..35f8002cbb 100644 --- a/gen/admob1/Cargo.toml +++ b/gen/admob1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-admob1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdMob (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/admob1" homepage = "https://developers.google.com/admob/api/" -documentation = "https://docs.rs/google-admob1/2.0.4+20210331" +documentation = "https://docs.rs/google-admob1/2.0.5+20210331" license = "MIT" keywords = ["admob", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/admob1/README.md b/gen/admob1/README.md index a914ad1c7d..5e57005120 100644 --- a/gen/admob1/README.md +++ b/gen/admob1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-admob1` library allows access to all features of the *Google AdMob* service. -This documentation was generated from *AdMob* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AdMob* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AdMob* *v1* API can be found at the [official documentation site](https://developers.google.com/admob/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/AdMob) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/AdMob) ... * accounts - * [*get*](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/api::AccountGetCall), [*list*](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/api::AccountListCall), [*mediation report generate*](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/api::AccountMediationReportGenerateCall) and [*network report generate*](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/api::AccountNetworkReportGenerateCall) + * [*get*](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/api::AccountGetCall), [*list*](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/api::AccountListCall), [*mediation report generate*](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/api::AccountMediationReportGenerateCall) and [*network report generate*](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/api::AccountNetworkReportGenerateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/AdMob)** +* **[Hub](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/AdMob)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::CallBuilder) -* **[Resources](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::CallBuilder) +* **[Resources](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Part)** + * **[Parts](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-admob1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -126,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Delegate), 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-admob1/2.0.4+20210331/google_admob1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Delegate) to the -[Method Builder](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Delegate) to the +[Method Builder](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::CallBuilder) 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-admob1/2.0.4+20210331/google_admob1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Delegate) 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 [encodable](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::RequestValue) and -[decodable](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::RequestValue) and +[decodable](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-admob1/2.0.4+20210331/google_admob1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::Part) 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-admob1/2.0.4+20210331/google_admob1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::CallBuilder), 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-admob1/2.0.4+20210331/google_admob1/client::RequestValue) are moved +* [request values](https://docs.rs/google-admob1/2.0.5+20210331/google_admob1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/admob1/src/api.rs b/gen/admob1/src/api.rs index 629457640d..2d565459e2 100644 --- a/gen/admob1/src/api.rs +++ b/gen/admob1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > AdMob<> { AdMob { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://admob.googleapis.com/".to_string(), _root_url: "https://admob.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > AdMob<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/admob1/src/client.rs b/gen/admob1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/admob1/src/client.rs +++ b/gen/admob1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/admob1/src/lib.rs b/gen/admob1/src/lib.rs index 981bd85b7c..5090606aef 100644 --- a/gen/admob1/src/lib.rs +++ b/gen/admob1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdMob* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AdMob* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AdMob* *v1* API can be found at the //! [official documentation site](https://developers.google.com/admob/api/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-admob1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adsense1d4-cli/Cargo.toml b/gen/adsense1d4-cli/Cargo.toml index af03d99caa..dab219c7d5 100644 --- a/gen/adsense1d4-cli/Cargo.toml +++ b/gen/adsense1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsense1d4-cli" -version = "2.0.4+20201002" +version = "2.0.5+20201002" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsense1d4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adsense1d4] path = "../adsense1d4" -version = "2.0.4+20201002" +version = "2.0.5+20201002" diff --git a/gen/adsense1d4-cli/README.md b/gen/adsense1d4-cli/README.md index 862c7a7381..6088799b59 100644 --- a/gen/adsense1d4-cli/README.md +++ b/gen/adsense1d4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AdSense* API at revision *20201002*. The CLI is at version *2.0.4*. +This documentation was generated from the *AdSense* API at revision *20201002*. The CLI is at version *2.0.5*. ```bash adsense1d4 [options] diff --git a/gen/adsense1d4-cli/mkdocs.yml b/gen/adsense1d4-cli/mkdocs.yml index 6bfd895e42..05c43fe610 100644 --- a/gen/adsense1d4-cli/mkdocs.yml +++ b/gen/adsense1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense v2.0.4+20201002 +site_name: AdSense v2.0.5+20201002 site_url: http://byron.github.io/google-apis-rs/google-adsense1d4-cli site_description: A complete library to interact with AdSense (protocol v1.4) diff --git a/gen/adsense1d4-cli/src/main.rs b/gen/adsense1d4-cli/src/main.rs index 304a48c1b6..d743790bb7 100644 --- a/gen/adsense1d4-cli/src/main.rs +++ b/gen/adsense1d4-cli/src/main.rs @@ -3551,7 +3551,7 @@ async fn main() { let mut app = App::new("adsense1d4") .author("Sebastian Thiel ") - .version("2.0.4+20201002") + .version("2.0.5+20201002") .about("Accesses AdSense publishers' inventory and generates performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsense1d4_cli") .arg(Arg::with_name("url") diff --git a/gen/adsense1d4/Cargo.toml b/gen/adsense1d4/Cargo.toml index 748b0cdc79..0edc0e343a 100644 --- a/gen/adsense1d4/Cargo.toml +++ b/gen/adsense1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsense1d4" -version = "2.0.4+20201002" +version = "2.0.5+20201002" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsense1d4" homepage = "https://developers.google.com/adsense/management/" -documentation = "https://docs.rs/google-adsense1d4/2.0.4+20201002" +documentation = "https://docs.rs/google-adsense1d4/2.0.5+20201002" license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adsense1d4/README.md b/gen/adsense1d4/README.md index 9f4617a234..00953b1434 100644 --- a/gen/adsense1d4/README.md +++ b/gen/adsense1d4/README.md @@ -5,40 +5,40 @@ DO NOT EDIT ! --> The `google-adsense1d4` library allows access to all features of the *Google AdSense* service. -This documentation was generated from *AdSense* crate version *2.0.4+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AdSense* crate version *2.0.5+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AdSense* *v1d4* API can be found at the [official documentation site](https://developers.google.com/adsense/management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/AdSense) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/AdSense) ... -* [accounts](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::Account) - * [*adclients get ad code*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAdclientGetAdCodeCall), [*adclients list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAdclientListCall), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAdunitCustomchannelListCall), [*adunits get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAdunitGetAdCodeCall), [*adunits list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAdunitListCall), [*alerts delete*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAlertDeleteCall), [*alerts list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountAlertListCall), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountCustomchannelAdunitListCall), [*customchannels get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountListCall), [*payments list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountReportSavedListCall), [*savedadstyles get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountSavedadstyleGetCall), [*savedadstyles list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountSavedadstyleListCall) and [*urlchannels list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountUrlchannelListCall) +* [accounts](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::Account) + * [*adclients get ad code*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAdclientGetAdCodeCall), [*adclients list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAdclientListCall), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAdunitCustomchannelListCall), [*adunits get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAdunitGetAdCodeCall), [*adunits list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAdunitListCall), [*alerts delete*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAlertDeleteCall), [*alerts list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountAlertListCall), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountCustomchannelAdunitListCall), [*customchannels get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountListCall), [*payments list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountReportSavedListCall), [*savedadstyles get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountSavedadstyleGetCall), [*savedadstyles list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountSavedadstyleListCall) and [*urlchannels list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountUrlchannelListCall) * adclients - * [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AdclientListCall) + * [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AdclientListCall) * adunits - * [*customchannels list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AdunitCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AdunitGetCall), [*get ad code*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AdunitGetAdCodeCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AdunitListCall) -* [alerts](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::Alert) - * [*delete*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AlertDeleteCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AlertListCall) + * [*customchannels list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AdunitCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AdunitGetCall), [*get ad code*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AdunitGetAdCodeCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AdunitListCall) +* [alerts](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::Alert) + * [*delete*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AlertDeleteCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AlertListCall) * customchannels - * [*adunits list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::CustomchannelAdunitListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::CustomchannelGetCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::CustomchannelListCall) -* [metadata](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::Metadata) - * [*dimensions list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::MetadataDimensionListCall) and [*metrics list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::MetadataMetricListCall) -* [payments](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::Payment) - * [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::PaymentListCall) + * [*adunits list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::CustomchannelAdunitListCall), [*get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::CustomchannelGetCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::CustomchannelListCall) +* [metadata](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::Metadata) + * [*dimensions list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::MetadataDimensionListCall) and [*metrics list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::MetadataMetricListCall) +* [payments](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::Payment) + * [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::PaymentListCall) * reports - * [*generate*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::ReportGenerateCall), [*saved generate*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::ReportSavedGenerateCall) and [*saved list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::ReportSavedListCall) + * [*generate*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::ReportGenerateCall), [*saved generate*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::ReportSavedGenerateCall) and [*saved list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::ReportSavedListCall) * savedadstyles - * [*get*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::SavedadstyleGetCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::SavedadstyleListCall) + * [*get*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::SavedadstyleGetCall) and [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::SavedadstyleListCall) * urlchannels - * [*list*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::UrlchannelListCall) + * [*list*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::UrlchannelListCall) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::AccountReportGenerateCall) -* [*generate reports*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/api::ReportGenerateCall) +* [*reports generate accounts*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::AccountReportGenerateCall) +* [*generate reports*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/api::ReportGenerateCall) @@ -46,17 +46,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/AdSense)** +* **[Hub](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/AdSense)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::CallBuilder) +* **[Resources](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Part)** + * **[Parts](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -106,9 +106,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adsense1d4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -177,17 +174,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::ResponseResult), 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")`. @@ -197,29 +194,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Delegate) to the +[Method Builder](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Delegate) 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 [encodable](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::RequestValue) and -[decodable](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::RequestValue) and +[decodable](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adsense1d4/2.0.4+20201002/google_adsense1d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsense1d4/2.0.5+20201002/google_adsense1d4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsense1d4/src/api.rs b/gen/adsense1d4/src/api.rs index 024cdbf7d0..c0a068f6b9 100644 --- a/gen/adsense1d4/src/api.rs +++ b/gen/adsense1d4/src/api.rs @@ -127,7 +127,7 @@ impl<'a, > AdSense<> { AdSense { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/adsense/v1.4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -165,7 +165,7 @@ impl<'a, > AdSense<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adsense1d4/src/client.rs b/gen/adsense1d4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adsense1d4/src/client.rs +++ b/gen/adsense1d4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adsense1d4/src/lib.rs b/gen/adsense1d4/src/lib.rs index 6d71adb978..826aa7c870 100644 --- a/gen/adsense1d4/src/lib.rs +++ b/gen/adsense1d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdSense* crate version *2.0.4+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AdSense* crate version *2.0.5+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AdSense* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/adsense/management/). @@ -106,9 +106,6 @@ //! ```toml //! [dependencies] //! google-adsense1d4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/adsensehost4d1-cli/Cargo.toml b/gen/adsensehost4d1-cli/Cargo.toml index 342f0daf02..66e301493d 100644 --- a/gen/adsensehost4d1-cli/Cargo.toml +++ b/gen/adsensehost4d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsensehost4d1-cli" -version = "2.0.4+20200930" +version = "2.0.5+20200930" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsensehost4d1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adsensehost4d1] path = "../adsensehost4d1" -version = "2.0.4+20200930" +version = "2.0.5+20200930" diff --git a/gen/adsensehost4d1-cli/README.md b/gen/adsensehost4d1-cli/README.md index 9869bfd7ef..f94fb3d6d4 100644 --- a/gen/adsensehost4d1-cli/README.md +++ b/gen/adsensehost4d1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AdSense Host* API at revision *20200930*. The CLI is at version *2.0.4*. +This documentation was generated from the *AdSense Host* API at revision *20200930*. The CLI is at version *2.0.5*. ```bash adsensehost4d1 [options] diff --git a/gen/adsensehost4d1-cli/mkdocs.yml b/gen/adsensehost4d1-cli/mkdocs.yml index 5b6196dd03..72c38672cb 100644 --- a/gen/adsensehost4d1-cli/mkdocs.yml +++ b/gen/adsensehost4d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense Host v2.0.4+20200930 +site_name: AdSense Host v2.0.5+20200930 site_url: http://byron.github.io/google-apis-rs/google-adsensehost4d1-cli site_description: A complete library to interact with AdSense Host (protocol v4.1) diff --git a/gen/adsensehost4d1-cli/src/main.rs b/gen/adsensehost4d1-cli/src/main.rs index a045f31bb2..12c7a5f84a 100644 --- a/gen/adsensehost4d1-cli/src/main.rs +++ b/gen/adsensehost4d1-cli/src/main.rs @@ -2746,7 +2746,7 @@ async fn main() { let mut app = App::new("adsensehost4d1") .author("Sebastian Thiel ") - .version("2.0.4+20200930") + .version("2.0.5+20200930") .about("Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsensehost4d1_cli") .arg(Arg::with_name("url") diff --git a/gen/adsensehost4d1/Cargo.toml b/gen/adsensehost4d1/Cargo.toml index 3e5b044ff0..2969ed4f97 100644 --- a/gen/adsensehost4d1/Cargo.toml +++ b/gen/adsensehost4d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsensehost4d1" -version = "2.0.4+20200930" +version = "2.0.5+20200930" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsensehost4d1" homepage = "https://developers.google.com/adsense/host/" -documentation = "https://docs.rs/google-adsensehost4d1/2.0.4+20200930" +documentation = "https://docs.rs/google-adsensehost4d1/2.0.5+20200930" license = "MIT" keywords = ["adsensehost", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/adsensehost4d1/README.md b/gen/adsensehost4d1/README.md index 3f05bb2ca4..042691545b 100644 --- a/gen/adsensehost4d1/README.md +++ b/gen/adsensehost4d1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-adsensehost4d1` library allows access to all features of the *Google AdSense Host* service. -This documentation was generated from *AdSense Host* crate version *2.0.4+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AdSense Host* crate version *2.0.5+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AdSense Host* *v4d1* API can be found at the [official documentation site](https://developers.google.com/adsense/host/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/AdSenseHost) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/AdSenseHost) ... -* [accounts](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::Account) - * [*adclients get*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdclientGetCall), [*adclients list*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdclientListCall), [*adunits delete*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitDeleteCall), [*adunits get*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitGetAdCodeCall), [*adunits insert*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitInsertCall), [*adunits list*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitListCall), [*adunits patch*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitPatchCall), [*adunits update*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountAdunitUpdateCall), [*get*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountGetCall), [*list*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountListCall) and [*reports generate*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AccountReportGenerateCall) +* [accounts](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::Account) + * [*adclients get*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdclientGetCall), [*adclients list*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdclientListCall), [*adunits delete*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitDeleteCall), [*adunits get*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitGetAdCodeCall), [*adunits insert*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitInsertCall), [*adunits list*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitListCall), [*adunits patch*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitPatchCall), [*adunits update*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountAdunitUpdateCall), [*get*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountGetCall), [*list*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountListCall) and [*reports generate*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AccountReportGenerateCall) * adclients - * [*get*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AdclientGetCall) and [*list*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AdclientListCall) + * [*get*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AdclientGetCall) and [*list*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AdclientListCall) * associationsessions - * [*start*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AssociationsessionStartCall) and [*verify*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::AssociationsessionVerifyCall) + * [*start*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AssociationsessionStartCall) and [*verify*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::AssociationsessionVerifyCall) * customchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::CustomchannelDeleteCall), [*get*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::CustomchannelGetCall), [*insert*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::CustomchannelInsertCall), [*list*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::CustomchannelListCall), [*patch*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::CustomchannelPatchCall) and [*update*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::CustomchannelUpdateCall) -* [reports](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::Report) - * [*generate*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::ReportGenerateCall) + * [*delete*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::CustomchannelDeleteCall), [*get*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::CustomchannelGetCall), [*insert*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::CustomchannelInsertCall), [*list*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::CustomchannelListCall), [*patch*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::CustomchannelPatchCall) and [*update*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::CustomchannelUpdateCall) +* [reports](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::Report) + * [*generate*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::ReportGenerateCall) * urlchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::UrlchannelDeleteCall), [*insert*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::UrlchannelInsertCall) and [*list*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/api::UrlchannelListCall) + * [*delete*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::UrlchannelDeleteCall), [*insert*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::UrlchannelInsertCall) and [*list*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/api::UrlchannelListCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/AdSenseHost)** +* **[Hub](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/AdSenseHost)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::CallBuilder) +* **[Resources](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Part)** + * **[Parts](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -85,9 +85,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-adsensehost4d1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -154,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::ResponseResult), 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")`. @@ -174,29 +171,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Delegate) to the +[Method Builder](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Delegate) 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 [encodable](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::RequestValue) and -[decodable](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::RequestValue) and +[decodable](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adsensehost4d1/2.0.4+20200930/google_adsensehost4d1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsensehost4d1/2.0.5+20200930/google_adsensehost4d1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsensehost4d1/src/api.rs b/gen/adsensehost4d1/src/api.rs index eb04b408ea..c40a245d8f 100644 --- a/gen/adsensehost4d1/src/api.rs +++ b/gen/adsensehost4d1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AdSenseHost<> { AdSenseHost { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/adsensehost/v4.1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -147,7 +147,7 @@ impl<'a, > AdSenseHost<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adsensehost4d1/src/client.rs b/gen/adsensehost4d1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/adsensehost4d1/src/client.rs +++ b/gen/adsensehost4d1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/adsensehost4d1/src/lib.rs b/gen/adsensehost4d1/src/lib.rs index 20bc8711ba..f9c1b602e6 100644 --- a/gen/adsensehost4d1/src/lib.rs +++ b/gen/adsensehost4d1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdSense Host* crate version *2.0.4+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AdSense Host* crate version *2.0.5+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AdSense Host* *v4d1* API can be found at the //! [official documentation site](https://developers.google.com/adsense/host/). @@ -85,9 +85,6 @@ //! ```toml //! [dependencies] //! google-adsensehost4d1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/alertcenter1_beta1-cli/Cargo.toml b/gen/alertcenter1_beta1-cli/Cargo.toml index 8254b87b43..a0579b3df0 100644 --- a/gen/alertcenter1_beta1-cli/Cargo.toml +++ b/gen/alertcenter1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-alertcenter1_beta1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with AlertCenter (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/alertcenter1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-alertcenter1_beta1] path = "../alertcenter1_beta1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/alertcenter1_beta1-cli/README.md b/gen/alertcenter1_beta1-cli/README.md index 3c09989240..0b35f446e5 100644 --- a/gen/alertcenter1_beta1-cli/README.md +++ b/gen/alertcenter1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AlertCenter* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *AlertCenter* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash alertcenter1-beta1 [options] diff --git a/gen/alertcenter1_beta1-cli/mkdocs.yml b/gen/alertcenter1_beta1-cli/mkdocs.yml index 51aaa850a8..dc1d2949f9 100644 --- a/gen/alertcenter1_beta1-cli/mkdocs.yml +++ b/gen/alertcenter1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AlertCenter v2.0.4+20210323 +site_name: AlertCenter v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-alertcenter1_beta1-cli site_description: A complete library to interact with AlertCenter (protocol v1beta1) diff --git a/gen/alertcenter1_beta1-cli/src/main.rs b/gen/alertcenter1_beta1-cli/src/main.rs index e8c28ff835..6b27580066 100644 --- a/gen/alertcenter1_beta1-cli/src/main.rs +++ b/gen/alertcenter1_beta1-cli/src/main.rs @@ -1208,7 +1208,7 @@ async fn main() { let mut app = App::new("alertcenter1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("Manages alerts on issues affecting your domain.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_alertcenter1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/alertcenter1_beta1/Cargo.toml b/gen/alertcenter1_beta1/Cargo.toml index dc69c49feb..b1def5e60f 100644 --- a/gen/alertcenter1_beta1/Cargo.toml +++ b/gen/alertcenter1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-alertcenter1_beta1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with AlertCenter (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/alertcenter1_beta1" homepage = "https://developers.google.com/admin-sdk/alertcenter/" -documentation = "https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323" +documentation = "https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323" license = "MIT" keywords = ["alertcenter", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/alertcenter1_beta1/README.md b/gen/alertcenter1_beta1/README.md index a4cf4358d4..45b4a3785d 100644 --- a/gen/alertcenter1_beta1/README.md +++ b/gen/alertcenter1_beta1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-alertcenter1_beta1` library allows access to all features of the *Google AlertCenter* service. -This documentation was generated from *AlertCenter* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AlertCenter* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AlertCenter* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/alertcenter/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/AlertCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/AlertCenter) ... -* [alerts](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::Alert) - * [*batch delete*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertBatchDeleteCall), [*batch undelete*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertBatchUndeleteCall), [*delete*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertDeleteCall), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertFeedbackCreateCall), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertFeedbackListCall), [*get*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertGetCall), [*get metadata*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertGetMetadataCall), [*list*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertListCall) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::AlertUndeleteCall) +* [alerts](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::Alert) + * [*batch delete*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertBatchDeleteCall), [*batch undelete*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertBatchUndeleteCall), [*delete*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertDeleteCall), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertFeedbackCreateCall), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertFeedbackListCall), [*get*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertGetCall), [*get metadata*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertGetMetadataCall), [*list*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertListCall) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::AlertUndeleteCall) Other activities are ... -* [get settings](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::MethodGetSettingCall) -* [update settings](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/api::MethodUpdateSettingCall) +* [get settings](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::MethodGetSettingCall) +* [update settings](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/api::MethodUpdateSettingCall) @@ -27,17 +27,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/AlertCenter)** +* **[Hub](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/AlertCenter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-alertcenter1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -143,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Delegate), 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-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::CallBuilder) 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-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::Part) 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-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::CallBuilder), 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-alertcenter1_beta1/2.0.4+20210323/google_alertcenter1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-alertcenter1_beta1/2.0.5+20210323/google_alertcenter1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/alertcenter1_beta1/src/api.rs b/gen/alertcenter1_beta1/src/api.rs index 33bd617835..7a71c1add6 100644 --- a/gen/alertcenter1_beta1/src/api.rs +++ b/gen/alertcenter1_beta1/src/api.rs @@ -119,7 +119,7 @@ impl<'a, > AlertCenter<> { AlertCenter { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://alertcenter.googleapis.com/".to_string(), _root_url: "https://alertcenter.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > AlertCenter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/alertcenter1_beta1/src/client.rs b/gen/alertcenter1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/alertcenter1_beta1/src/client.rs +++ b/gen/alertcenter1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/alertcenter1_beta1/src/lib.rs b/gen/alertcenter1_beta1/src/lib.rs index a205de5938..7ae2e5cc38 100644 --- a/gen/alertcenter1_beta1/src/lib.rs +++ b/gen/alertcenter1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AlertCenter* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AlertCenter* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AlertCenter* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/alertcenter/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-alertcenter1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/analytics3-cli/Cargo.toml b/gen/analytics3-cli/Cargo.toml index 6bb7f0bd83..76aad60579 100644 --- a/gen/analytics3-cli/Cargo.toml +++ b/gen/analytics3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analytics3-cli" -version = "2.0.4+20190807" +version = "2.0.5+20190807" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analytics3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analytics3] path = "../analytics3" -version = "2.0.4+20190807" +version = "2.0.5+20190807" diff --git a/gen/analytics3-cli/README.md b/gen/analytics3-cli/README.md index 8eabec14b4..2d9fe72b77 100644 --- a/gen/analytics3-cli/README.md +++ b/gen/analytics3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *analytics* API at revision *20190807*. The CLI is at version *2.0.4*. +This documentation was generated from the *analytics* API at revision *20190807*. The CLI is at version *2.0.5*. ```bash analytics3 [options] diff --git a/gen/analytics3-cli/mkdocs.yml b/gen/analytics3-cli/mkdocs.yml index 8aa0b05428..e62a128726 100644 --- a/gen/analytics3-cli/mkdocs.yml +++ b/gen/analytics3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: analytics v2.0.4+20190807 +site_name: analytics v2.0.5+20190807 site_url: http://byron.github.io/google-apis-rs/google-analytics3-cli site_description: A complete library to interact with analytics (protocol v3) diff --git a/gen/analytics3-cli/src/main.rs b/gen/analytics3-cli/src/main.rs index 26dff2338e..d565c7bcd3 100644 --- a/gen/analytics3-cli/src/main.rs +++ b/gen/analytics3-cli/src/main.rs @@ -10364,7 +10364,7 @@ async fn main() { let mut app = App::new("analytics3") .author("Sebastian Thiel ") - .version("2.0.4+20190807") + .version("2.0.5+20190807") .about("Views and manages your Google Analytics data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analytics3_cli") .arg(Arg::with_name("url") diff --git a/gen/analytics3/Cargo.toml b/gen/analytics3/Cargo.toml index 4c7973822d..8f5364ea5a 100644 --- a/gen/analytics3/Cargo.toml +++ b/gen/analytics3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analytics3" -version = "2.0.4+20190807" +version = "2.0.5+20190807" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analytics3" homepage = "https://developers.google.com/analytics/" -documentation = "https://docs.rs/google-analytics3/2.0.4+20190807" +documentation = "https://docs.rs/google-analytics3/2.0.5+20190807" license = "MIT" keywords = ["analytics", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/analytics3/README.md b/gen/analytics3/README.md index 5ef3380508..9ffc32af47 100644 --- a/gen/analytics3/README.md +++ b/gen/analytics3/README.md @@ -5,29 +5,29 @@ DO NOT EDIT ! --> The `google-analytics3` library allows access to all features of the *Google analytics* service. -This documentation was generated from *analytics* crate version *2.0.4+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *analytics* crate version *2.0.5+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *analytics* *v3* API can be found at the [official documentation site](https://developers.google.com/analytics/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/Analytics) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/Analytics) ... * data - * [*ga get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::DataGaGetCall), [*mcf get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::DataMcfGetCall) and [*realtime get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::DataRealtimeGetCall) + * [*ga get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::DataGaGetCall), [*mcf get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::DataMcfGetCall) and [*realtime get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::DataRealtimeGetCall) * management - * [*account summaries list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementAccountSummaryListCall), [*account user links delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementAccountUserLinkDeleteCall), [*account user links insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementAccountUserLinkInsertCall), [*account user links list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementAccountUserLinkListCall), [*account user links update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementAccountUserLinkUpdateCall), [*accounts list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementAccountListCall), [*client id hash client id*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementClientIdHashClientIdCall), [*custom data sources list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomDataSourceListCall), [*custom dimensions get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomDimensionGetCall), [*custom dimensions insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomDimensionInsertCall), [*custom dimensions list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomDimensionPatchCall), [*custom dimensions update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomDimensionUpdateCall), [*custom metrics get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomMetricGetCall), [*custom metrics insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomMetricInsertCall), [*custom metrics list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomMetricPatchCall), [*custom metrics update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementCustomMetricUpdateCall), [*experiments delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementExperimentDeleteCall), [*experiments get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementExperimentGetCall), [*experiments insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementExperimentInsertCall), [*experiments list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementExperimentListCall), [*experiments patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementExperimentPatchCall), [*experiments update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementExperimentUpdateCall), [*filters delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementFilterDeleteCall), [*filters get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementFilterGetCall), [*filters insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementFilterInsertCall), [*filters list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementFilterListCall), [*filters patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementFilterPatchCall), [*filters update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementFilterUpdateCall), [*goals get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementGoalGetCall), [*goals insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementGoalInsertCall), [*goals list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementGoalListCall), [*goals patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementGoalPatchCall), [*goals update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementGoalUpdateCall), [*profile filter links delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileFilterLinkDeleteCall), [*profile filter links get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileFilterLinkGetCall), [*profile filter links insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileFilterLinkInsertCall), [*profile filter links list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileFilterLinkListCall), [*profile filter links patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileFilterLinkPatchCall), [*profile filter links update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileFilterLinkUpdateCall), [*profile user links delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileUserLinkDeleteCall), [*profile user links insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileUserLinkInsertCall), [*profile user links list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileUserLinkListCall), [*profile user links update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileUserLinkUpdateCall), [*profiles delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileDeleteCall), [*profiles get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileGetCall), [*profiles insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileInsertCall), [*profiles list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileListCall), [*profiles patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfilePatchCall), [*profiles update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementProfileUpdateCall), [*remarketing audience delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementRemarketingAudienceDeleteCall), [*remarketing audience get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementRemarketingAudienceGetCall), [*remarketing audience insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementRemarketingAudienceInsertCall), [*remarketing audience list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementRemarketingAudienceListCall), [*remarketing audience patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementRemarketingAudiencePatchCall), [*remarketing audience update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementRemarketingAudienceUpdateCall), [*segments list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementSegmentListCall), [*unsampled reports delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUnsampledReportDeleteCall), [*unsampled reports get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUnsampledReportGetCall), [*unsampled reports insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUnsampledReportInsertCall), [*unsampled reports list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUnsampledReportListCall), [*uploads delete upload data*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUploadDeleteUploadDataCall), [*uploads get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUploadGetCall), [*uploads list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUploadListCall), [*uploads upload data*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUploadUploadDataCall), [*web property ad words links delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkDeleteCall), [*web property ad words links get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkGetCall), [*web property ad words links insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkInsertCall), [*web property ad words links list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkListCall), [*web property ad words links patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkPatchCall), [*web property ad words links update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkUpdateCall), [*webproperties get*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyGetCall), [*webproperties insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyInsertCall), [*webproperties list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyListCall), [*webproperties patch*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyPatchCall), [*webproperties update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyUpdateCall), [*webproperty user links delete*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyUserLinkDeleteCall), [*webproperty user links insert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyUserLinkInsertCall), [*webproperty user links list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyUserLinkListCall) and [*webproperty user links update*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementWebpropertyUserLinkUpdateCall) + * [*account summaries list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementAccountSummaryListCall), [*account user links delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementAccountUserLinkDeleteCall), [*account user links insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementAccountUserLinkInsertCall), [*account user links list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementAccountUserLinkListCall), [*account user links update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementAccountUserLinkUpdateCall), [*accounts list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementAccountListCall), [*client id hash client id*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementClientIdHashClientIdCall), [*custom data sources list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomDataSourceListCall), [*custom dimensions get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomDimensionGetCall), [*custom dimensions insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomDimensionInsertCall), [*custom dimensions list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomDimensionPatchCall), [*custom dimensions update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomDimensionUpdateCall), [*custom metrics get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomMetricGetCall), [*custom metrics insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomMetricInsertCall), [*custom metrics list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomMetricPatchCall), [*custom metrics update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementCustomMetricUpdateCall), [*experiments delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementExperimentDeleteCall), [*experiments get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementExperimentGetCall), [*experiments insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementExperimentInsertCall), [*experiments list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementExperimentListCall), [*experiments patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementExperimentPatchCall), [*experiments update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementExperimentUpdateCall), [*filters delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementFilterDeleteCall), [*filters get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementFilterGetCall), [*filters insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementFilterInsertCall), [*filters list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementFilterListCall), [*filters patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementFilterPatchCall), [*filters update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementFilterUpdateCall), [*goals get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementGoalGetCall), [*goals insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementGoalInsertCall), [*goals list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementGoalListCall), [*goals patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementGoalPatchCall), [*goals update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementGoalUpdateCall), [*profile filter links delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileFilterLinkDeleteCall), [*profile filter links get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileFilterLinkGetCall), [*profile filter links insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileFilterLinkInsertCall), [*profile filter links list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileFilterLinkListCall), [*profile filter links patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileFilterLinkPatchCall), [*profile filter links update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileFilterLinkUpdateCall), [*profile user links delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileUserLinkDeleteCall), [*profile user links insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileUserLinkInsertCall), [*profile user links list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileUserLinkListCall), [*profile user links update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileUserLinkUpdateCall), [*profiles delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileDeleteCall), [*profiles get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileGetCall), [*profiles insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileInsertCall), [*profiles list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileListCall), [*profiles patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfilePatchCall), [*profiles update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementProfileUpdateCall), [*remarketing audience delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementRemarketingAudienceDeleteCall), [*remarketing audience get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementRemarketingAudienceGetCall), [*remarketing audience insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementRemarketingAudienceInsertCall), [*remarketing audience list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementRemarketingAudienceListCall), [*remarketing audience patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementRemarketingAudiencePatchCall), [*remarketing audience update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementRemarketingAudienceUpdateCall), [*segments list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementSegmentListCall), [*unsampled reports delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUnsampledReportDeleteCall), [*unsampled reports get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUnsampledReportGetCall), [*unsampled reports insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUnsampledReportInsertCall), [*unsampled reports list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUnsampledReportListCall), [*uploads delete upload data*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUploadDeleteUploadDataCall), [*uploads get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUploadGetCall), [*uploads list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUploadListCall), [*uploads upload data*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUploadUploadDataCall), [*web property ad words links delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkDeleteCall), [*web property ad words links get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkGetCall), [*web property ad words links insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkInsertCall), [*web property ad words links list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkListCall), [*web property ad words links patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkPatchCall), [*web property ad words links update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkUpdateCall), [*webproperties get*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyGetCall), [*webproperties insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyInsertCall), [*webproperties list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyListCall), [*webproperties patch*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyPatchCall), [*webproperties update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyUpdateCall), [*webproperty user links delete*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyUserLinkDeleteCall), [*webproperty user links insert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyUserLinkInsertCall), [*webproperty user links list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyUserLinkListCall) and [*webproperty user links update*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementWebpropertyUserLinkUpdateCall) * metadata - * [*columns list*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::MetadataColumnListCall) + * [*columns list*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::MetadataColumnListCall) * provisioning - * [*create account ticket*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ProvisioningCreateAccountTicketCall) and [*create account tree*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ProvisioningCreateAccountTreeCall) + * [*create account ticket*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ProvisioningCreateAccountTicketCall) and [*create account tree*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ProvisioningCreateAccountTreeCall) * user deletion - * [*user deletion request upsert*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::UserDeletionUserDeletionRequestUpsertCall) + * [*user deletion request upsert*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::UserDeletionUserDeletionRequestUpsertCall) Upload supported by ... -* [*uploads upload data management*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/api::ManagementUploadUploadDataCall) +* [*uploads upload data management*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/api::ManagementUploadUploadDataCall) @@ -35,17 +35,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/Analytics)** +* **[Hub](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/Analytics)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::CallBuilder) -* **[Resources](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::CallBuilder) +* **[Resources](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Part)** + * **[Parts](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -81,9 +81,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-analytics3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -149,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::ResponseResult), 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")`. @@ -169,29 +166,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Delegate) to the -[Method Builder](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Delegate) to the +[Method Builder](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Delegate) 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 [encodable](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::RequestValue) and -[decodable](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::RequestValue) and +[decodable](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-analytics3/2.0.4+20190807/google_analytics3/client::RequestValue) are moved +* [request values](https://docs.rs/google-analytics3/2.0.5+20190807/google_analytics3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analytics3/src/api.rs b/gen/analytics3/src/api.rs index 343a5945ab..99649349d5 100644 --- a/gen/analytics3/src/api.rs +++ b/gen/analytics3/src/api.rs @@ -144,7 +144,7 @@ impl<'a, > Analytics<> { Analytics { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/analytics/v3/".to_string(), _root_url: "https://analytics.googleapis.com/".to_string(), } @@ -167,7 +167,7 @@ impl<'a, > Analytics<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -25520,7 +25520,6 @@ impl<'a> ManagementUploadUploadDataCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/analytics3/src/client.rs b/gen/analytics3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/analytics3/src/client.rs +++ b/gen/analytics3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/analytics3/src/lib.rs b/gen/analytics3/src/lib.rs index 9d9eb250db..e4c264670f 100644 --- a/gen/analytics3/src/lib.rs +++ b/gen/analytics3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *analytics* crate version *2.0.4+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *analytics* crate version *2.0.5+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *analytics* *v3* API can be found at the //! [official documentation site](https://developers.google.com/analytics/). @@ -81,9 +81,6 @@ //! ```toml //! [dependencies] //! google-analytics3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/analyticsadmin1_alpha-cli/Cargo.toml b/gen/analyticsadmin1_alpha-cli/Cargo.toml index 0d51225764..ae7ce9acc7 100644 --- a/gen/analyticsadmin1_alpha-cli/Cargo.toml +++ b/gen/analyticsadmin1_alpha-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsadmin1_alpha-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Google Analytics Admin (protocol v1alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsadmin1_alpha-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analyticsadmin1_alpha] path = "../analyticsadmin1_alpha" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/analyticsadmin1_alpha-cli/README.md b/gen/analyticsadmin1_alpha-cli/README.md index e36daecf10..b343df4b26 100644 --- a/gen/analyticsadmin1_alpha-cli/README.md +++ b/gen/analyticsadmin1_alpha-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Google Analytics Admin* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Google Analytics Admin* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash analyticsadmin1-alpha [options] diff --git a/gen/analyticsadmin1_alpha-cli/mkdocs.yml b/gen/analyticsadmin1_alpha-cli/mkdocs.yml index 03441f9bfe..4bc4bdbec5 100644 --- a/gen/analyticsadmin1_alpha-cli/mkdocs.yml +++ b/gen/analyticsadmin1_alpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Google Analytics Admin v2.0.4+20210331 +site_name: Google Analytics Admin v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-analyticsadmin1_alpha-cli site_description: A complete library to interact with Google Analytics Admin (protocol v1alpha) diff --git a/gen/analyticsadmin1_alpha-cli/src/main.rs b/gen/analyticsadmin1_alpha-cli/src/main.rs index 05526a6205..94a8763a58 100644 --- a/gen/analyticsadmin1_alpha-cli/src/main.rs +++ b/gen/analyticsadmin1_alpha-cli/src/main.rs @@ -5987,7 +5987,7 @@ async fn main() { let mut app = App::new("analyticsadmin1-alpha") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analyticsadmin1_alpha_cli") .arg(Arg::with_name("url") diff --git a/gen/analyticsadmin1_alpha/Cargo.toml b/gen/analyticsadmin1_alpha/Cargo.toml index 74dcaa4b8c..011c591656 100644 --- a/gen/analyticsadmin1_alpha/Cargo.toml +++ b/gen/analyticsadmin1_alpha/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsadmin1_alpha" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Google Analytics Admin (protocol v1alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsadmin1_alpha" homepage = "http://code.google.com/apis/analytics/docs/mgmt/home.html" -documentation = "https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331" +documentation = "https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331" license = "MIT" keywords = ["analyticsadmin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/analyticsadmin1_alpha/README.md b/gen/analyticsadmin1_alpha/README.md index a55b79a44e..a83ab1a776 100644 --- a/gen/analyticsadmin1_alpha/README.md +++ b/gen/analyticsadmin1_alpha/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-analyticsadmin1_alpha` library allows access to all features of the *Google Google Analytics Admin* service. -This documentation was generated from *Google Analytics Admin* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Google Analytics Admin* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Google Analytics Admin* *v1_alpha* API can be found at the [official documentation site](http://code.google.com/apis/analytics/docs/mgmt/home.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin) ... * account summaries - * [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountSummaryListCall) + * [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountSummaryListCall) * accounts - * [*delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountDeleteCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountGetCall), [*get data sharing settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountGetDataSharingSettingCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountPatchCall), [*provision account ticket*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountProvisionAccountTicketCall), [*search change history events*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountSearchChangeHistoryEventCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkPatchCall) + * [*delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountDeleteCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountGetCall), [*get data sharing settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountGetDataSharingSettingCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountPatchCall), [*provision account ticket*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountProvisionAccountTicketCall), [*search change history events*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountSearchChangeHistoryEventCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::AccountUserLinkPatchCall) * properties - * [*android app data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamCreateCall), [*android app data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamDeleteCall), [*android app data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamGetCall), [*android app data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamListCall), [*android app data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamPatchCall), [*create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyCreateCall), [*delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyDeleteCall), [*firebase links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkCreateCall), [*firebase links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkDeleteCall), [*firebase links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkListCall), [*firebase links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkPatchCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyGetCall), [*google ads links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkCreateCall), [*google ads links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkDeleteCall), [*google ads links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkListCall), [*google ads links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkPatchCall), [*ios app data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamCreateCall), [*ios app data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamDeleteCall), [*ios app data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamGetCall), [*ios app data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamListCall), [*ios app data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamPatchCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyPatchCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkListCall), [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkPatchCall), [*web data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamCreateCall), [*web data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamDeleteCall), [*web data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetCall), [*web data streams get enhanced measurement settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetEnhancedMeasurementSettingCall), [*web data streams get global site tag*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetGlobalSiteTagCall), [*web data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamListCall), [*web data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamPatchCall) and [*web data streams update enhanced measurement settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamUpdateEnhancedMeasurementSettingCall) + * [*android app data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamCreateCall), [*android app data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamDeleteCall), [*android app data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamGetCall), [*android app data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamListCall), [*android app data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyAndroidAppDataStreamPatchCall), [*create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyCreateCall), [*delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyDeleteCall), [*firebase links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkCreateCall), [*firebase links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkDeleteCall), [*firebase links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkListCall), [*firebase links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkPatchCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyGetCall), [*google ads links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkCreateCall), [*google ads links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkDeleteCall), [*google ads links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkListCall), [*google ads links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkPatchCall), [*ios app data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamCreateCall), [*ios app data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamDeleteCall), [*ios app data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamGetCall), [*ios app data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamListCall), [*ios app data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyIosAppDataStreamPatchCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyPatchCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkListCall), [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyUserLinkPatchCall), [*web data streams create*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamCreateCall), [*web data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamDeleteCall), [*web data streams get*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetCall), [*web data streams get enhanced measurement settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetEnhancedMeasurementSettingCall), [*web data streams get global site tag*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamGetGlobalSiteTagCall), [*web data streams list*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamListCall), [*web data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamPatchCall) and [*web data streams update enhanced measurement settings*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/api::PropertyWebDataStreamUpdateEnhancedMeasurementSettingCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin)** +* **[Hub](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::CallBuilder) +* **[Resources](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Part)** + * **[Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -78,9 +78,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-analyticsadmin1_alpha = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -146,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Delegate), 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-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -166,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Delegate) to the +[Method Builder](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::CallBuilder) 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-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Delegate) 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 [encodable](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::RequestValue) and +[decodable](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::Part) 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-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::CallBuilder), 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-analyticsadmin1_alpha/2.0.4+20210331/google_analyticsadmin1_alpha/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsadmin1_alpha/2.0.5+20210331/google_analyticsadmin1_alpha/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analyticsadmin1_alpha/src/api.rs b/gen/analyticsadmin1_alpha/src/api.rs index 503fa9dc19..ff41fe4e5b 100644 --- a/gen/analyticsadmin1_alpha/src/api.rs +++ b/gen/analyticsadmin1_alpha/src/api.rs @@ -132,7 +132,7 @@ impl<'a, > GoogleAnalyticsAdmin<> { GoogleAnalyticsAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://analyticsadmin.googleapis.com/".to_string(), _root_url: "https://analyticsadmin.googleapis.com/".to_string(), } @@ -149,7 +149,7 @@ impl<'a, > GoogleAnalyticsAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/analyticsadmin1_alpha/src/client.rs b/gen/analyticsadmin1_alpha/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/analyticsadmin1_alpha/src/client.rs +++ b/gen/analyticsadmin1_alpha/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/analyticsadmin1_alpha/src/lib.rs b/gen/analyticsadmin1_alpha/src/lib.rs index 179055a3d0..9d392367ee 100644 --- a/gen/analyticsadmin1_alpha/src/lib.rs +++ b/gen/analyticsadmin1_alpha/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Google Analytics Admin* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Google Analytics Admin* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Google Analytics Admin* *v1_alpha* API can be found at the //! [official documentation site](http://code.google.com/apis/analytics/docs/mgmt/home.html). @@ -78,9 +78,6 @@ //! ```toml //! [dependencies] //! google-analyticsadmin1_alpha = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/analyticsdata1_beta-cli/Cargo.toml b/gen/analyticsdata1_beta-cli/Cargo.toml index b0d06ff831..773265b68b 100644 --- a/gen/analyticsdata1_beta-cli/Cargo.toml +++ b/gen/analyticsdata1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsdata1_beta-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsData (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsdata1_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analyticsdata1_beta] path = "../analyticsdata1_beta" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/analyticsdata1_beta-cli/README.md b/gen/analyticsdata1_beta-cli/README.md index 3bae982bf3..0521021370 100644 --- a/gen/analyticsdata1_beta-cli/README.md +++ b/gen/analyticsdata1_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AnalyticsData* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *AnalyticsData* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash analyticsdata1-beta [options] diff --git a/gen/analyticsdata1_beta-cli/mkdocs.yml b/gen/analyticsdata1_beta-cli/mkdocs.yml index 9d4559c098..497705fd4e 100644 --- a/gen/analyticsdata1_beta-cli/mkdocs.yml +++ b/gen/analyticsdata1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsData v2.0.4+20210329 +site_name: AnalyticsData v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-analyticsdata1_beta-cli site_description: A complete library to interact with AnalyticsData (protocol v1beta) diff --git a/gen/analyticsdata1_beta-cli/src/main.rs b/gen/analyticsdata1_beta-cli/src/main.rs index f7082b7d2e..23d41f5e0b 100644 --- a/gen/analyticsdata1_beta-cli/src/main.rs +++ b/gen/analyticsdata1_beta-cli/src/main.rs @@ -884,7 +884,7 @@ async fn main() { let mut app = App::new("analyticsdata1-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Accesses report data in Google Analytics.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analyticsdata1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/analyticsdata1_beta/Cargo.toml b/gen/analyticsdata1_beta/Cargo.toml index f115b7da88..d433093d48 100644 --- a/gen/analyticsdata1_beta/Cargo.toml +++ b/gen/analyticsdata1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsdata1_beta" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsData (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsdata1_beta" homepage = "https://developers.google.com/analytics/devguides/reporting/data/v1/" -documentation = "https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329" +documentation = "https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329" license = "MIT" keywords = ["analyticsdata", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/analyticsdata1_beta/README.md b/gen/analyticsdata1_beta/README.md index eeca91640b..ca1a81cfdf 100644 --- a/gen/analyticsdata1_beta/README.md +++ b/gen/analyticsdata1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-analyticsdata1_beta` library allows access to all features of the *Google AnalyticsData* service. -This documentation was generated from *AnalyticsData* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AnalyticsData* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AnalyticsData* *v1_beta* API can be found at the [official documentation site](https://developers.google.com/analytics/devguides/reporting/data/v1/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/AnalyticsData) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/AnalyticsData) ... * properties - * [*batch run pivot reports*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/api::PropertyBatchRunPivotReportCall), [*batch run reports*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/api::PropertyBatchRunReportCall), [*get metadata*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/api::PropertyGetMetadataCall), [*run pivot report*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/api::PropertyRunPivotReportCall), [*run realtime report*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/api::PropertyRunRealtimeReportCall) and [*run report*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/api::PropertyRunReportCall) + * [*batch run pivot reports*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/api::PropertyBatchRunPivotReportCall), [*batch run reports*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/api::PropertyBatchRunReportCall), [*get metadata*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/api::PropertyGetMetadataCall), [*run pivot report*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/api::PropertyRunPivotReportCall), [*run realtime report*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/api::PropertyRunRealtimeReportCall) and [*run report*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/api::PropertyRunReportCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/AnalyticsData)** +* **[Hub](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/AnalyticsData)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Part)** + * **[Parts](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-analyticsdata1_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Delegate), 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-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::CallBuilder) 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-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Delegate) 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 [encodable](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::Part) 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-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::CallBuilder), 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-analyticsdata1_beta/2.0.4+20210329/google_analyticsdata1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsdata1_beta/2.0.5+20210329/google_analyticsdata1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analyticsdata1_beta/src/api.rs b/gen/analyticsdata1_beta/src/api.rs index 7123bedc8f..7a3b361786 100644 --- a/gen/analyticsdata1_beta/src/api.rs +++ b/gen/analyticsdata1_beta/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > AnalyticsData<> { AnalyticsData { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://analyticsdata.googleapis.com/".to_string(), _root_url: "https://analyticsdata.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > AnalyticsData<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/analyticsdata1_beta/src/client.rs b/gen/analyticsdata1_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/analyticsdata1_beta/src/client.rs +++ b/gen/analyticsdata1_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/analyticsdata1_beta/src/lib.rs b/gen/analyticsdata1_beta/src/lib.rs index e66c1ef975..d1efb99b50 100644 --- a/gen/analyticsdata1_beta/src/lib.rs +++ b/gen/analyticsdata1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AnalyticsData* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AnalyticsData* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AnalyticsData* *v1_beta* API can be found at the //! [official documentation site](https://developers.google.com/analytics/devguides/reporting/data/v1/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-analyticsdata1_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/analyticsreporting4-cli/Cargo.toml b/gen/analyticsreporting4-cli/Cargo.toml index d45e8e4526..404dbd4932 100644 --- a/gen/analyticsreporting4-cli/Cargo.toml +++ b/gen/analyticsreporting4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsreporting4-cli" -version = "2.0.4+20210310" +version = "2.0.5+20210310" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsReporting (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsreporting4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analyticsreporting4] path = "../analyticsreporting4" -version = "2.0.4+20210310" +version = "2.0.5+20210310" diff --git a/gen/analyticsreporting4-cli/README.md b/gen/analyticsreporting4-cli/README.md index fc7e4745fa..f03f9bd192 100644 --- a/gen/analyticsreporting4-cli/README.md +++ b/gen/analyticsreporting4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AnalyticsReporting* API at revision *20210310*. The CLI is at version *2.0.4*. +This documentation was generated from the *AnalyticsReporting* API at revision *20210310*. The CLI is at version *2.0.5*. ```bash analyticsreporting4 [options] diff --git a/gen/analyticsreporting4-cli/mkdocs.yml b/gen/analyticsreporting4-cli/mkdocs.yml index fd142cecde..364308cf73 100644 --- a/gen/analyticsreporting4-cli/mkdocs.yml +++ b/gen/analyticsreporting4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsReporting v2.0.4+20210310 +site_name: AnalyticsReporting v2.0.5+20210310 site_url: http://byron.github.io/google-apis-rs/google-analyticsreporting4-cli site_description: A complete library to interact with AnalyticsReporting (protocol v4) diff --git a/gen/analyticsreporting4-cli/src/main.rs b/gen/analyticsreporting4-cli/src/main.rs index c4e92228e1..033ef28824 100644 --- a/gen/analyticsreporting4-cli/src/main.rs +++ b/gen/analyticsreporting4-cli/src/main.rs @@ -370,7 +370,7 @@ async fn main() { let mut app = App::new("analyticsreporting4") .author("Sebastian Thiel ") - .version("2.0.4+20210310") + .version("2.0.5+20210310") .about("Accesses Analytics report data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analyticsreporting4_cli") .arg(Arg::with_name("url") diff --git a/gen/analyticsreporting4/Cargo.toml b/gen/analyticsreporting4/Cargo.toml index 1eaf8c5cbb..31563f1f5a 100644 --- a/gen/analyticsreporting4/Cargo.toml +++ b/gen/analyticsreporting4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsreporting4" -version = "2.0.4+20210310" +version = "2.0.5+20210310" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsReporting (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsreporting4" homepage = "https://developers.google.com/analytics/devguides/reporting/core/v4/" -documentation = "https://docs.rs/google-analyticsreporting4/2.0.4+20210310" +documentation = "https://docs.rs/google-analyticsreporting4/2.0.5+20210310" license = "MIT" keywords = ["analyticsreporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/analyticsreporting4/README.md b/gen/analyticsreporting4/README.md index 9052e1adf7..6551a8d50f 100644 --- a/gen/analyticsreporting4/README.md +++ b/gen/analyticsreporting4/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-analyticsreporting4` library allows access to all features of the *Google AnalyticsReporting* service. -This documentation was generated from *AnalyticsReporting* crate version *2.0.4+20210310*, where *20210310* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AnalyticsReporting* crate version *2.0.5+20210310*, where *20210310* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AnalyticsReporting* *v4* API can be found at the [official documentation site](https://developers.google.com/analytics/devguides/reporting/core/v4/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/AnalyticsReporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/AnalyticsReporting) ... -* [reports](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/api::Report) - * [*batch get*](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/api::ReportBatchGetCall) +* [reports](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/api::Report) + * [*batch get*](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/api::ReportBatchGetCall) * user activity - * [*search*](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/api::UserActivitySearchCall) + * [*search*](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/api::UserActivitySearchCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/AnalyticsReporting)** +* **[Hub](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/AnalyticsReporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::CallBuilder) +* **[Resources](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Part)** + * **[Parts](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-analyticsreporting4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Delegate), 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-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Delegate) to the +[Method Builder](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::CallBuilder) 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-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Delegate) 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 [encodable](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::RequestValue) and +[decodable](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::Part) 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-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::CallBuilder), 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-analyticsreporting4/2.0.4+20210310/google_analyticsreporting4/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsreporting4/2.0.5+20210310/google_analyticsreporting4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analyticsreporting4/src/api.rs b/gen/analyticsreporting4/src/api.rs index 9bde175fac..4122203073 100644 --- a/gen/analyticsreporting4/src/api.rs +++ b/gen/analyticsreporting4/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > AnalyticsReporting<> { AnalyticsReporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://analyticsreporting.googleapis.com/".to_string(), _root_url: "https://analyticsreporting.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > AnalyticsReporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/analyticsreporting4/src/client.rs b/gen/analyticsreporting4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/analyticsreporting4/src/client.rs +++ b/gen/analyticsreporting4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/analyticsreporting4/src/lib.rs b/gen/analyticsreporting4/src/lib.rs index 9792a3b0f3..ac8d0c7810 100644 --- a/gen/analyticsreporting4/src/lib.rs +++ b/gen/analyticsreporting4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AnalyticsReporting* crate version *2.0.4+20210310*, where *20210310* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AnalyticsReporting* crate version *2.0.5+20210310*, where *20210310* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AnalyticsReporting* *v4* API can be found at the //! [official documentation site](https://developers.google.com/analytics/devguides/reporting/core/v4/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-analyticsreporting4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/androiddeviceprovisioning1-cli/Cargo.toml b/gen/androiddeviceprovisioning1-cli/Cargo.toml index e11182d2b8..57fa28df48 100644 --- a/gen/androiddeviceprovisioning1-cli/Cargo.toml +++ b/gen/androiddeviceprovisioning1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androiddeviceprovisioning1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Provisioning Partner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androiddeviceprovisioning1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androiddeviceprovisioning1] path = "../androiddeviceprovisioning1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/androiddeviceprovisioning1-cli/README.md b/gen/androiddeviceprovisioning1-cli/README.md index 779bde589d..f9cb4b28b8 100644 --- a/gen/androiddeviceprovisioning1-cli/README.md +++ b/gen/androiddeviceprovisioning1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Provisioning Partner* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Android Provisioning Partner* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash androiddeviceprovisioning1 [options] diff --git a/gen/androiddeviceprovisioning1-cli/mkdocs.yml b/gen/androiddeviceprovisioning1-cli/mkdocs.yml index dd464e13c3..f095df357b 100644 --- a/gen/androiddeviceprovisioning1-cli/mkdocs.yml +++ b/gen/androiddeviceprovisioning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Provisioning Partner v2.0.4+20210331 +site_name: Android Provisioning Partner v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-androiddeviceprovisioning1-cli site_description: A complete library to interact with Android Provisioning Partner (protocol v1) diff --git a/gen/androiddeviceprovisioning1-cli/src/main.rs b/gen/androiddeviceprovisioning1-cli/src/main.rs index a3694304b6..b880c18030 100644 --- a/gen/androiddeviceprovisioning1-cli/src/main.rs +++ b/gen/androiddeviceprovisioning1-cli/src/main.rs @@ -2723,7 +2723,7 @@ async fn main() { let mut app = App::new("androiddeviceprovisioning1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("Automates Android zero-touch enrollment for device resellers, customers, and EMMs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androiddeviceprovisioning1_cli") .arg(Arg::with_name("folder") diff --git a/gen/androiddeviceprovisioning1/Cargo.toml b/gen/androiddeviceprovisioning1/Cargo.toml index c9169d47ea..802812cbfc 100644 --- a/gen/androiddeviceprovisioning1/Cargo.toml +++ b/gen/androiddeviceprovisioning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androiddeviceprovisioning1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Provisioning Partner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androiddeviceprovisioning1" homepage = "https://developers.google.com/zero-touch/" -documentation = "https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331" +documentation = "https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331" license = "MIT" keywords = ["androiddeviceprovisi", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androiddeviceprovisioning1/README.md b/gen/androiddeviceprovisioning1/README.md index deca8c25c9..4a173e023c 100644 --- a/gen/androiddeviceprovisioning1/README.md +++ b/gen/androiddeviceprovisioning1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-androiddeviceprovisioning1` library allows access to all features of the *Google Android Provisioning Partner* service. -This documentation was generated from *Android Provisioning Partner* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Android Provisioning Partner* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Android Provisioning Partner* *v1* API can be found at the [official documentation site](https://developers.google.com/zero-touch/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner) ... * customers - * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationCreateCall), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationDeleteCall), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationGetCall), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationListCall), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationPatchCall), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceApplyConfigurationCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceListCall), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceRemoveConfigurationCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceUnclaimCall), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerDpcListCall) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::CustomerListCall) -* [operations](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::Operation) - * [*get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::OperationGetCall) + * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationCreateCall), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationDeleteCall), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationGetCall), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationListCall), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerConfigurationPatchCall), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceApplyConfigurationCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceListCall), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceRemoveConfigurationCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerDeviceUnclaimCall), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerDpcListCall) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::CustomerListCall) +* [operations](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::Operation) + * [*get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::OperationGetCall) * partners - * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerCustomerCreateCall), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerCustomerListCall), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceClaimCall), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceClaimAsyncCall), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceFindByIdentifierCall), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceFindByOwnerCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceGetCall), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceMetadataCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimCall), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimAsyncCall), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUpdateMetadataAsyncCall), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerVendorCustomerListCall) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/api::PartnerVendorListCall) + * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerCustomerCreateCall), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerCustomerListCall), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceClaimCall), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceClaimAsyncCall), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceFindByIdentifierCall), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceFindByOwnerCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceGetCall), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceMetadataCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimCall), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimAsyncCall), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerDeviceUpdateMetadataAsyncCall), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerVendorCustomerListCall) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/api::PartnerVendorListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner)** +* **[Hub](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/AndroidProvisioningPartner)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::CallBuilder) +* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Part)** + * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -72,9 +72,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-androiddeviceprovisioning1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Delegate), 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-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Delegate) to the +[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::CallBuilder) 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-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Delegate) 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 [encodable](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::RequestValue) and -[decodable](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::RequestValue) and +[decodable](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::Part) 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-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::CallBuilder), 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-androiddeviceprovisioning1/2.0.4+20210331/google_androiddeviceprovisioning1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androiddeviceprovisioning1/2.0.5+20210331/google_androiddeviceprovisioning1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androiddeviceprovisioning1/src/api.rs b/gen/androiddeviceprovisioning1/src/api.rs index 76989952dd..c8ce7394b5 100644 --- a/gen/androiddeviceprovisioning1/src/api.rs +++ b/gen/androiddeviceprovisioning1/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > AndroidProvisioningPartner<> { AndroidProvisioningPartner { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://androiddeviceprovisioning.googleapis.com/".to_string(), _root_url: "https://androiddeviceprovisioning.googleapis.com/".to_string(), } @@ -115,7 +115,7 @@ impl<'a, > AndroidProvisioningPartner<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androiddeviceprovisioning1/src/client.rs b/gen/androiddeviceprovisioning1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/androiddeviceprovisioning1/src/client.rs +++ b/gen/androiddeviceprovisioning1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/androiddeviceprovisioning1/src/lib.rs b/gen/androiddeviceprovisioning1/src/lib.rs index a6f977df33..6e7c10070a 100644 --- a/gen/androiddeviceprovisioning1/src/lib.rs +++ b/gen/androiddeviceprovisioning1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Provisioning Partner* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Android Provisioning Partner* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Android Provisioning Partner* *v1* API can be found at the //! [official documentation site](https://developers.google.com/zero-touch/). @@ -72,9 +72,6 @@ //! ```toml //! [dependencies] //! google-androiddeviceprovisioning1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/androidenterprise1-cli/Cargo.toml b/gen/androidenterprise1-cli/Cargo.toml index e145d3fede..6575b4bb7d 100644 --- a/gen/androidenterprise1-cli/Cargo.toml +++ b/gen/androidenterprise1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidenterprise1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidenterprise1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidenterprise1] path = "../androidenterprise1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/androidenterprise1-cli/README.md b/gen/androidenterprise1-cli/README.md index 4dfb4a3916..c39cb052d8 100644 --- a/gen/androidenterprise1-cli/README.md +++ b/gen/androidenterprise1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Enterprise* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Android Enterprise* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash androidenterprise1 [options] diff --git a/gen/androidenterprise1-cli/mkdocs.yml b/gen/androidenterprise1-cli/mkdocs.yml index a2b3060bf1..c1a0c523a0 100644 --- a/gen/androidenterprise1-cli/mkdocs.yml +++ b/gen/androidenterprise1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Enterprise v2.0.4+20210324 +site_name: Android Enterprise v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-androidenterprise1-cli site_description: A complete library to interact with Android Enterprise (protocol v1) diff --git a/gen/androidenterprise1-cli/src/main.rs b/gen/androidenterprise1-cli/src/main.rs index 7b86f2e252..b297898723 100644 --- a/gen/androidenterprise1-cli/src/main.rs +++ b/gen/androidenterprise1-cli/src/main.rs @@ -7249,7 +7249,7 @@ async fn main() { let mut app = App::new("androidenterprise1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Manages the deployment of apps to Android Enterprise devices.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidenterprise1_cli") .arg(Arg::with_name("url") diff --git a/gen/androidenterprise1/Cargo.toml b/gen/androidenterprise1/Cargo.toml index 402af7deb3..7cb2a047f5 100644 --- a/gen/androidenterprise1/Cargo.toml +++ b/gen/androidenterprise1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidenterprise1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidenterprise1" homepage = "https://developers.google.com/android/work/play/emm-api" -documentation = "https://docs.rs/google-androidenterprise1/2.0.4+20210324" +documentation = "https://docs.rs/google-androidenterprise1/2.0.5+20210324" license = "MIT" keywords = ["androidenterprise", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidenterprise1/README.md b/gen/androidenterprise1/README.md index 74815b531a..84de36da05 100644 --- a/gen/androidenterprise1/README.md +++ b/gen/androidenterprise1/README.md @@ -5,46 +5,46 @@ DO NOT EDIT ! --> The `google-androidenterprise1` library allows access to all features of the *Google Android Enterprise* service. -This documentation was generated from *Android Enterprise* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Android Enterprise* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Android Enterprise* *v1* API can be found at the [official documentation site](https://developers.google.com/android/work/play/emm-api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/AndroidEnterprise) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/AndroidEnterprise) ... -* [devices](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::Device) - * [*force report upload*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::DeviceUpdateCall) -* [enterprises](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::Enterprise) - * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create web token*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EnterpriseUnenrollCall) -* [entitlements](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::Entitlement) - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::EntitlementUpdateCall) +* [devices](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::Device) + * [*force report upload*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::DeviceUpdateCall) +* [enterprises](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::Enterprise) + * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create web token*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EnterpriseUnenrollCall) +* [entitlements](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::Entitlement) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::EntitlementUpdateCall) * grouplicenses - * [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::GrouplicenseListCall) + * [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::GrouplicenseListCall) * grouplicenseusers - * [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::GrouplicenseuserListCall) -* [installs](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::Install) - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::InstallUpdateCall) + * [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::GrouplicenseuserListCall) +* [installs](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::Install) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::InstallUpdateCall) * managedconfigurationsfordevice - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall) * managedconfigurationsforuser - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall) * managedconfigurationssettings - * [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ManagedconfigurationssettingListCall) -* [permissions](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::Permission) - * [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::PermissionGetCall) -* [products](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::Product) - * [*approve*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ProductUnapproveCall) + * [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ManagedconfigurationssettingListCall) +* [permissions](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::Permission) + * [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::PermissionGetCall) +* [products](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::Product) + * [*approve*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ProductUnapproveCall) * serviceaccountkeys - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::ServiceaccountkeyListCall) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::ServiceaccountkeyListCall) * storelayoutclusters - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutclusterUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutclusterUpdateCall) * storelayoutpages - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::StorelayoutpageUpdateCall) -* [users](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::User) - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::UserUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::StorelayoutpageUpdateCall) +* [users](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::User) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::UserUpdateCall) * webapps - * [*delete*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/api::WebappUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/api::WebappUpdateCall) @@ -53,17 +53,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/AndroidEnterprise)** +* **[Hub](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/AndroidEnterprise)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Part)** + * **[Parts](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -107,9 +107,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-androidenterprise1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -171,17 +168,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::ResponseResult), 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")`. @@ -191,29 +188,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Delegate) 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 [encodable](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::RequestValue) and -[decodable](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::RequestValue) and +[decodable](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androidenterprise1/2.0.4+20210324/google_androidenterprise1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidenterprise1/2.0.5+20210324/google_androidenterprise1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidenterprise1/src/api.rs b/gen/androidenterprise1/src/api.rs index f49bed0f0b..0c5e675319 100644 --- a/gen/androidenterprise1/src/api.rs +++ b/gen/androidenterprise1/src/api.rs @@ -116,7 +116,7 @@ impl<'a, > AndroidEnterprise<> { AndroidEnterprise { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://androidenterprise.googleapis.com/".to_string(), _root_url: "https://androidenterprise.googleapis.com/".to_string(), } @@ -172,7 +172,7 @@ impl<'a, > AndroidEnterprise<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidenterprise1/src/client.rs b/gen/androidenterprise1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/androidenterprise1/src/client.rs +++ b/gen/androidenterprise1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs index 753cf625f0..1b200db1b7 100644 --- a/gen/androidenterprise1/src/lib.rs +++ b/gen/androidenterprise1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Enterprise* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Android Enterprise* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Android Enterprise* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/work/play/emm-api). @@ -107,9 +107,6 @@ //! ```toml //! [dependencies] //! google-androidenterprise1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/androidmanagement1-cli/Cargo.toml b/gen/androidmanagement1-cli/Cargo.toml index fcdcb3810c..4903ed418b 100644 --- a/gen/androidmanagement1-cli/Cargo.toml +++ b/gen/androidmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidmanagement1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidmanagement1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidmanagement1] path = "../androidmanagement1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/androidmanagement1-cli/README.md b/gen/androidmanagement1-cli/README.md index 51562d9e7d..5f4f8808b1 100644 --- a/gen/androidmanagement1-cli/README.md +++ b/gen/androidmanagement1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Management* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Android Management* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash androidmanagement1 [options] diff --git a/gen/androidmanagement1-cli/mkdocs.yml b/gen/androidmanagement1-cli/mkdocs.yml index 87bec54436..290e3930cc 100644 --- a/gen/androidmanagement1-cli/mkdocs.yml +++ b/gen/androidmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Management v2.0.4+20210322 +site_name: Android Management v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-androidmanagement1-cli site_description: A complete library to interact with Android Management (protocol v1) diff --git a/gen/androidmanagement1-cli/src/main.rs b/gen/androidmanagement1-cli/src/main.rs index 1e81f51be0..814ad8dce0 100644 --- a/gen/androidmanagement1-cli/src/main.rs +++ b/gen/androidmanagement1-cli/src/main.rs @@ -2952,7 +2952,7 @@ async fn main() { let mut app = App::new("androidmanagement1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("The Android Management API provides remote enterprise management of Android devices and apps.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidmanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/androidmanagement1/Cargo.toml b/gen/androidmanagement1/Cargo.toml index ed8473e0e5..d378b43a9b 100644 --- a/gen/androidmanagement1/Cargo.toml +++ b/gen/androidmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidmanagement1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidmanagement1" homepage = "https://developers.google.com/android/management" -documentation = "https://docs.rs/google-androidmanagement1/2.0.4+20210322" +documentation = "https://docs.rs/google-androidmanagement1/2.0.5+20210322" license = "MIT" keywords = ["androidmanagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidmanagement1/README.md b/gen/androidmanagement1/README.md index f8cea260d6..6e73232148 100644 --- a/gen/androidmanagement1/README.md +++ b/gen/androidmanagement1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-androidmanagement1` library allows access to all features of the *Google Android Management* service. -This documentation was generated from *Android Management* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Android Management* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Android Management* *v1* API can be found at the [official documentation site](https://developers.google.com/android/management). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/AndroidManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/AndroidManagement) ... -* [enterprises](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::Enterprise) - * [*applications get*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseApplicationGetCall), [*create*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseCreateCall), [*delete*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeleteCall), [*devices delete*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceDeleteCall), [*devices get*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceGetCall), [*devices issue command*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceIssueCommandCall), [*devices list*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceListCall), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationCancelCall), [*devices operations delete*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationDeleteCall), [*devices operations get*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationGetCall), [*devices operations list*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationListCall), [*devices patch*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseDevicePatchCall), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseEnrollmentTokenCreateCall), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseEnrollmentTokenDeleteCall), [*get*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseGetCall), [*list*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseListCall), [*patch*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterprisePatchCall), [*policies delete*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterprisePolicyDeleteCall), [*policies get*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterprisePolicyGetCall), [*policies list*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterprisePolicyListCall), [*policies patch*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterprisePolicyPatchCall), [*web apps create*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseWebAppCreateCall), [*web apps delete*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseWebAppDeleteCall), [*web apps get*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseWebAppGetCall), [*web apps list*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseWebAppListCall), [*web apps patch*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseWebAppPatchCall) and [*web tokens create*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::EnterpriseWebTokenCreateCall) -* [signup urls](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::SignupUrl) - * [*create*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/api::SignupUrlCreateCall) +* [enterprises](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::Enterprise) + * [*applications get*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseApplicationGetCall), [*create*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseCreateCall), [*delete*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeleteCall), [*devices delete*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceDeleteCall), [*devices get*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceGetCall), [*devices issue command*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceIssueCommandCall), [*devices list*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceListCall), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationCancelCall), [*devices operations delete*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationDeleteCall), [*devices operations get*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationGetCall), [*devices operations list*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDeviceOperationListCall), [*devices patch*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseDevicePatchCall), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseEnrollmentTokenCreateCall), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseEnrollmentTokenDeleteCall), [*get*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseGetCall), [*list*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseListCall), [*patch*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterprisePatchCall), [*policies delete*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterprisePolicyDeleteCall), [*policies get*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterprisePolicyGetCall), [*policies list*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterprisePolicyListCall), [*policies patch*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterprisePolicyPatchCall), [*web apps create*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseWebAppCreateCall), [*web apps delete*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseWebAppDeleteCall), [*web apps get*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseWebAppGetCall), [*web apps list*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseWebAppListCall), [*web apps patch*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseWebAppPatchCall) and [*web tokens create*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::EnterpriseWebTokenCreateCall) +* [signup urls](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::SignupUrl) + * [*create*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/api::SignupUrlCreateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/AndroidManagement)** +* **[Hub](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/AndroidManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,9 +92,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-androidmanagement1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -164,17 +161,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Delegate), 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-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::ResponseResult), 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")`. @@ -184,29 +181,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::CallBuilder) 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-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Delegate) 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 [encodable](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::Part) 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-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::CallBuilder), 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-androidmanagement1/2.0.4+20210322/google_androidmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidmanagement1/2.0.5+20210322/google_androidmanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidmanagement1/src/api.rs b/gen/androidmanagement1/src/api.rs index ace76b0448..86bbc6dde3 100644 --- a/gen/androidmanagement1/src/api.rs +++ b/gen/androidmanagement1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > AndroidManagement<> { AndroidManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://androidmanagement.googleapis.com/".to_string(), _root_url: "https://androidmanagement.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > AndroidManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidmanagement1/src/client.rs b/gen/androidmanagement1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/androidmanagement1/src/client.rs +++ b/gen/androidmanagement1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/androidmanagement1/src/lib.rs b/gen/androidmanagement1/src/lib.rs index f22798ac41..63984a66dc 100644 --- a/gen/androidmanagement1/src/lib.rs +++ b/gen/androidmanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Management* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Android Management* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Android Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/management). @@ -92,9 +92,6 @@ //! ```toml //! [dependencies] //! google-androidmanagement1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/androidpublisher2-cli/Cargo.toml b/gen/androidpublisher2-cli/Cargo.toml index fbf719d60d..a4f0ac56d4 100644 --- a/gen/androidpublisher2-cli/Cargo.toml +++ b/gen/androidpublisher2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher2-cli" -version = "2.0.4+20200331" +version = "2.0.5+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidpublisher2] path = "../androidpublisher2" -version = "2.0.4+20200331" +version = "2.0.5+20200331" diff --git a/gen/androidpublisher2-cli/README.md b/gen/androidpublisher2-cli/README.md index 53f0cc7063..2d0cea1279 100644 --- a/gen/androidpublisher2-cli/README.md +++ b/gen/androidpublisher2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Publisher* API at revision *20200331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Android Publisher* API at revision *20200331*. The CLI is at version *2.0.5*. ```bash androidpublisher2 [options] diff --git a/gen/androidpublisher2-cli/mkdocs.yml b/gen/androidpublisher2-cli/mkdocs.yml index c2fe95fac4..6b60631e03 100644 --- a/gen/androidpublisher2-cli/mkdocs.yml +++ b/gen/androidpublisher2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v2.0.4+20200331 +site_name: Android Publisher v2.0.5+20200331 site_url: http://byron.github.io/google-apis-rs/google-androidpublisher2-cli site_description: A complete library to interact with Android Publisher (protocol v2) diff --git a/gen/androidpublisher2-cli/src/main.rs b/gen/androidpublisher2-cli/src/main.rs index 8d4541178d..d1220391b7 100644 --- a/gen/androidpublisher2-cli/src/main.rs +++ b/gen/androidpublisher2-cli/src/main.rs @@ -5998,7 +5998,7 @@ async fn main() { let mut app = App::new("androidpublisher2") .author("Sebastian Thiel ") - .version("2.0.4+20200331") + .version("2.0.5+20200331") .about("Accesses Android application developers' Google Play accounts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidpublisher2_cli") .arg(Arg::with_name("url") diff --git a/gen/androidpublisher2/Cargo.toml b/gen/androidpublisher2/Cargo.toml index 9894b1b57e..6f024ed77e 100644 --- a/gen/androidpublisher2/Cargo.toml +++ b/gen/androidpublisher2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher2" -version = "2.0.4+20200331" +version = "2.0.5+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher2" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher2/2.0.4+20200331" +documentation = "https://docs.rs/google-androidpublisher2/2.0.5+20200331" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidpublisher2/README.md b/gen/androidpublisher2/README.md index b544299317..1397ecdc79 100644 --- a/gen/androidpublisher2/README.md +++ b/gen/androidpublisher2/README.md @@ -5,33 +5,33 @@ DO NOT EDIT ! --> The `google-androidpublisher2` library allows access to all features of the *Google Android Publisher* service. -This documentation was generated from *Android Publisher* crate version *2.0.4+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Android Publisher* crate version *2.0.5+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Android Publisher* *v2* API can be found at the [official documentation site](https://developers.google.com/android-publisher). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/AndroidPublisher) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/AndroidPublisher) ... * edits - * [*apklistings delete*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApklistingDeleteCall), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApklistingDeleteallCall), [*apklistings get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApklistingGetCall), [*apklistings list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApklistingListCall), [*apklistings patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApklistingPatchCall), [*apklistings update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApklistingUpdateCall), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditValidateCall) + * [*apklistings delete*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApklistingDeleteCall), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApklistingDeleteallCall), [*apklistings get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApklistingGetCall), [*apklistings list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApklistingListCall), [*apklistings patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApklistingPatchCall), [*apklistings update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApklistingUpdateCall), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditValidateCall) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::InappproductUpdateCall) + * [*delete*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::InappproductUpdateCall) * orders - * [*refund*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::OrderRefundCall) + * [*refund*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::OrderRefundCall) * purchases - * [*products get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseProductGetCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::PurchaseVoidedpurchaseListCall) -* [reviews](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::Review) - * [*get*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::ReviewReplyCall) + * [*products get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseProductGetCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::PurchaseVoidedpurchaseListCall) +* [reviews](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::Review) + * [*get*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::ReviewReplyCall) Upload supported by ... -* [*apks upload edits*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditApkUploadCall) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditBundleUploadCall) -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall) -* [*images upload edits*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/api::EditImageUploadCall) +* [*apks upload edits*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditApkUploadCall) +* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditBundleUploadCall) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall) +* [*images upload edits*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/api::EditImageUploadCall) @@ -39,17 +39,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/AndroidPublisher)** +* **[Hub](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/AndroidPublisher)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Part)** + * **[Parts](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -83,9 +83,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-androidpublisher2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -152,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::ResponseResult), 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")`. @@ -172,29 +169,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Delegate) 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 [encodable](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::RequestValue) and -[decodable](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::RequestValue) and +[decodable](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androidpublisher2/2.0.4+20200331/google_androidpublisher2/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidpublisher2/2.0.5+20200331/google_androidpublisher2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidpublisher2/src/api.rs b/gen/androidpublisher2/src/api.rs index 8349049da6..582fe71e3c 100644 --- a/gen/androidpublisher2/src/api.rs +++ b/gen/androidpublisher2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AndroidPublisher<> { AndroidPublisher { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/androidpublisher/v2/applications/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > AndroidPublisher<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -5276,7 +5276,6 @@ impl<'a> EditApkUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -5913,7 +5912,6 @@ impl<'a> EditBundleUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -6296,7 +6294,6 @@ impl<'a> EditDeobfuscationfileUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -8452,7 +8449,6 @@ impl<'a> EditExpansionfileUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -9703,7 +9699,6 @@ impl<'a> EditImageUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/androidpublisher2/src/client.rs b/gen/androidpublisher2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/androidpublisher2/src/client.rs +++ b/gen/androidpublisher2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/androidpublisher2/src/lib.rs b/gen/androidpublisher2/src/lib.rs index 4fdbf5bda4..ce918a36f8 100644 --- a/gen/androidpublisher2/src/lib.rs +++ b/gen/androidpublisher2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Publisher* crate version *2.0.4+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Android Publisher* crate version *2.0.5+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Android Publisher* *v2* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). @@ -83,9 +83,6 @@ //! ```toml //! [dependencies] //! google-androidpublisher2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/androidpublisher3-cli/Cargo.toml b/gen/androidpublisher3-cli/Cargo.toml index 0d4d598ad3..5433324950 100644 --- a/gen/androidpublisher3-cli/Cargo.toml +++ b/gen/androidpublisher3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher3-cli" -version = "2.0.4+20210401" +version = "2.0.5+20210401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidpublisher3] path = "../androidpublisher3" -version = "2.0.4+20210401" +version = "2.0.5+20210401" diff --git a/gen/androidpublisher3-cli/README.md b/gen/androidpublisher3-cli/README.md index c97374b763..e267956a7c 100644 --- a/gen/androidpublisher3-cli/README.md +++ b/gen/androidpublisher3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Publisher* API at revision *20210401*. The CLI is at version *2.0.4*. +This documentation was generated from the *Android Publisher* API at revision *20210401*. The CLI is at version *2.0.5*. ```bash androidpublisher3 [options] diff --git a/gen/androidpublisher3-cli/mkdocs.yml b/gen/androidpublisher3-cli/mkdocs.yml index 3c867ed658..f8207a361c 100644 --- a/gen/androidpublisher3-cli/mkdocs.yml +++ b/gen/androidpublisher3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v2.0.4+20210401 +site_name: Android Publisher v2.0.5+20210401 site_url: http://byron.github.io/google-apis-rs/google-androidpublisher3-cli site_description: A complete library to interact with Android Publisher (protocol v3) diff --git a/gen/androidpublisher3-cli/src/main.rs b/gen/androidpublisher3-cli/src/main.rs index 8dde21c10b..418b08a3aa 100644 --- a/gen/androidpublisher3-cli/src/main.rs +++ b/gen/androidpublisher3-cli/src/main.rs @@ -6200,7 +6200,7 @@ async fn main() { let mut app = App::new("androidpublisher3") .author("Sebastian Thiel ") - .version("2.0.4+20210401") + .version("2.0.5+20210401") .about("Lets Android application developers access their Google Play accounts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidpublisher3_cli") .arg(Arg::with_name("url") diff --git a/gen/androidpublisher3/Cargo.toml b/gen/androidpublisher3/Cargo.toml index 84ca8a7f94..56fc3f21ed 100644 --- a/gen/androidpublisher3/Cargo.toml +++ b/gen/androidpublisher3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher3" -version = "2.0.4+20210401" +version = "2.0.5+20210401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher3" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher3/2.0.4+20210401" +documentation = "https://docs.rs/google-androidpublisher3/2.0.5+20210401" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/androidpublisher3/README.md b/gen/androidpublisher3/README.md index c0a6b9a5f7..d73234e4c7 100644 --- a/gen/androidpublisher3/README.md +++ b/gen/androidpublisher3/README.md @@ -5,43 +5,43 @@ DO NOT EDIT ! --> The `google-androidpublisher3` library allows access to all features of the *Google Android Publisher* service. -This documentation was generated from *Android Publisher* crate version *2.0.4+20210401*, where *20210401* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Android Publisher* crate version *2.0.5+20210401*, where *20210401* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Android Publisher* *v3* API can be found at the [official documentation site](https://developers.google.com/android-publisher). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/AndroidPublisher) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/AndroidPublisher) ... * edits - * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditValidateCall) + * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditValidateCall) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InappproductUpdateCall) + * [*delete*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InappproductUpdateCall) * internalappsharingartifacts - * [*uploadapk*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) + * [*uploadapk*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) * orders - * [*refund*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::OrderRefundCall) + * [*refund*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::OrderRefundCall) * purchases - * [*products acknowledge*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseProductAcknowledgeCall), [*products get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseProductGetCall), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseSubscriptionAcknowledgeCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::PurchaseVoidedpurchaseListCall) -* [reviews](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::Review) - * [*get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::ReviewReplyCall) + * [*products acknowledge*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseProductAcknowledgeCall), [*products get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseProductGetCall), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseSubscriptionAcknowledgeCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::PurchaseVoidedpurchaseListCall) +* [reviews](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::Review) + * [*get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::ReviewReplyCall) * systemapks - * [*variants create*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::SystemapkVariantCreateCall), [*variants download*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::SystemapkVariantDownloadCall), [*variants get*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::SystemapkVariantGetCall) and [*variants list*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::SystemapkVariantListCall) + * [*variants create*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::SystemapkVariantCreateCall), [*variants download*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::SystemapkVariantDownloadCall), [*variants get*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::SystemapkVariantGetCall) and [*variants list*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::SystemapkVariantListCall) Upload supported by ... -* [*apks upload edits*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditApkUploadCall) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditBundleUploadCall) -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditDeobfuscationfileUploadCall) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditExpansionfileUploadCall) -* [*images upload edits*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::EditImageUploadCall) -* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) -* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) +* [*apks upload edits*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditApkUploadCall) +* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditBundleUploadCall) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditDeobfuscationfileUploadCall) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditExpansionfileUploadCall) +* [*images upload edits*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::EditImageUploadCall) +* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) +* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) Download supported by ... -* [*variants download systemapks*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/api::SystemapkVariantDownloadCall) +* [*variants download systemapks*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/api::SystemapkVariantDownloadCall) @@ -49,17 +49,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/AndroidPublisher)** +* **[Hub](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/AndroidPublisher)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Part)** + * **[Parts](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,9 +93,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-androidpublisher3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -162,17 +159,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Delegate), 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-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::ResponseResult), 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")`. @@ -182,29 +179,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::CallBuilder) 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-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Delegate) 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 [encodable](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::RequestValue) and -[decodable](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::RequestValue) and +[decodable](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::Part) 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-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::CallBuilder), 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-androidpublisher3/2.0.4+20210401/google_androidpublisher3/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidpublisher3/2.0.5+20210401/google_androidpublisher3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidpublisher3/src/api.rs b/gen/androidpublisher3/src/api.rs index 18a664a898..b44ed75308 100644 --- a/gen/androidpublisher3/src/api.rs +++ b/gen/androidpublisher3/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AndroidPublisher<> { AndroidPublisher { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://androidpublisher.googleapis.com/".to_string(), _root_url: "https://androidpublisher.googleapis.com/".to_string(), } @@ -150,7 +150,7 @@ impl<'a, > AndroidPublisher<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3881,7 +3881,6 @@ impl<'a> EditApkUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -4528,7 +4527,6 @@ impl<'a> EditBundleUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -4915,7 +4913,6 @@ impl<'a> EditDeobfuscationfileUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -7103,7 +7100,6 @@ impl<'a> EditExpansionfileUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -8374,7 +8370,6 @@ impl<'a> EditImageUploadCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -15564,7 +15559,6 @@ impl<'a> InternalappsharingartifactUploadapkCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -15928,7 +15922,6 @@ impl<'a> InternalappsharingartifactUploadbundleCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/androidpublisher3/src/client.rs b/gen/androidpublisher3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/androidpublisher3/src/client.rs +++ b/gen/androidpublisher3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/androidpublisher3/src/lib.rs b/gen/androidpublisher3/src/lib.rs index 7e14b932eb..e7a3f04ec7 100644 --- a/gen/androidpublisher3/src/lib.rs +++ b/gen/androidpublisher3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Publisher* crate version *2.0.4+20210401*, where *20210401* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Android Publisher* crate version *2.0.5+20210401*, where *20210401* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Android Publisher* *v3* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). @@ -93,9 +93,6 @@ //! ```toml //! [dependencies] //! google-androidpublisher3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/apigateway1-cli/Cargo.toml b/gen/apigateway1-cli/Cargo.toml index 88595df9e8..647db332d2 100644 --- a/gen/apigateway1-cli/Cargo.toml +++ b/gen/apigateway1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-apigateway1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with apigateway (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigateway1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-apigateway1] path = "../apigateway1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/apigateway1-cli/README.md b/gen/apigateway1-cli/README.md index 20789c05a6..e3f938d005 100644 --- a/gen/apigateway1-cli/README.md +++ b/gen/apigateway1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *apigateway* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *apigateway* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash apigateway1 [options] diff --git a/gen/apigateway1-cli/mkdocs.yml b/gen/apigateway1-cli/mkdocs.yml index 60c59f75bd..f7c4777807 100644 --- a/gen/apigateway1-cli/mkdocs.yml +++ b/gen/apigateway1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: apigateway v2.0.4+20210318 +site_name: apigateway v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-apigateway1-cli site_description: A complete library to interact with apigateway (protocol v1) diff --git a/gen/apigateway1-cli/src/main.rs b/gen/apigateway1-cli/src/main.rs index 1f777e6b12..b82744f1c2 100644 --- a/gen/apigateway1-cli/src/main.rs +++ b/gen/apigateway1-cli/src/main.rs @@ -3093,7 +3093,7 @@ async fn main() { let mut app = App::new("apigateway1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_apigateway1_cli") .arg(Arg::with_name("url") diff --git a/gen/apigateway1/Cargo.toml b/gen/apigateway1/Cargo.toml index b8da23b0b8..71351735ba 100644 --- a/gen/apigateway1/Cargo.toml +++ b/gen/apigateway1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apigateway1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with apigateway (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigateway1" homepage = "https://cloud.google.com/api-gateway/docs" -documentation = "https://docs.rs/google-apigateway1/2.0.4+20210318" +documentation = "https://docs.rs/google-apigateway1/2.0.5+20210318" license = "MIT" keywords = ["apigateway", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/apigateway1/README.md b/gen/apigateway1/README.md index ff1f56c805..8df3828f25 100644 --- a/gen/apigateway1/README.md +++ b/gen/apigateway1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-apigateway1` library allows access to all features of the *Google apigateway* service. -This documentation was generated from *apigateway* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *apigateway* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *apigateway* *v1* API can be found at the [official documentation site](https://cloud.google.com/api-gateway/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/Apigateway) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/Apigateway) ... * projects - * [*locations apis configs create*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigCreateCall), [*locations apis configs delete*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigDeleteCall), [*locations apis configs get*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigGetCall), [*locations apis configs get iam policy*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigGetIamPolicyCall), [*locations apis configs list*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigListCall), [*locations apis configs patch*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigPatchCall), [*locations apis configs set iam policy*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigSetIamPolicyCall), [*locations apis configs test iam permissions*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiConfigTestIamPermissionCall), [*locations apis create*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiCreateCall), [*locations apis delete*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiDeleteCall), [*locations apis get*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiGetCall), [*locations apis get iam policy*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiGetIamPolicyCall), [*locations apis list*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiListCall), [*locations apis patch*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiPatchCall), [*locations apis set iam policy*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiSetIamPolicyCall), [*locations apis test iam permissions*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationApiTestIamPermissionCall), [*locations gateways create*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayCreateCall), [*locations gateways delete*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayDeleteCall), [*locations gateways get*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayGetCall), [*locations gateways get iam policy*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayGetIamPolicyCall), [*locations gateways list*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayListCall), [*locations gateways patch*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayPatchCall), [*locations gateways set iam policy*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewaySetIamPolicyCall), [*locations gateways test iam permissions*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGatewayTestIamPermissionCall), [*locations get*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/api::ProjectLocationOperationListCall) + * [*locations apis configs create*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigCreateCall), [*locations apis configs delete*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigDeleteCall), [*locations apis configs get*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigGetCall), [*locations apis configs get iam policy*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigGetIamPolicyCall), [*locations apis configs list*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigListCall), [*locations apis configs patch*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigPatchCall), [*locations apis configs set iam policy*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigSetIamPolicyCall), [*locations apis configs test iam permissions*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiConfigTestIamPermissionCall), [*locations apis create*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiCreateCall), [*locations apis delete*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiDeleteCall), [*locations apis get*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiGetCall), [*locations apis get iam policy*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiGetIamPolicyCall), [*locations apis list*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiListCall), [*locations apis patch*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiPatchCall), [*locations apis set iam policy*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiSetIamPolicyCall), [*locations apis test iam permissions*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationApiTestIamPermissionCall), [*locations gateways create*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayCreateCall), [*locations gateways delete*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayDeleteCall), [*locations gateways get*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayGetCall), [*locations gateways get iam policy*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayGetIamPolicyCall), [*locations gateways list*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayListCall), [*locations gateways patch*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayPatchCall), [*locations gateways set iam policy*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewaySetIamPolicyCall), [*locations gateways test iam permissions*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGatewayTestIamPermissionCall), [*locations get*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/Apigateway)** +* **[Hub](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/Apigateway)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::CallBuilder) -* **[Resources](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::CallBuilder) +* **[Resources](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Part)** + * **[Parts](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-apigateway1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Delegate), 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-apigateway1/2.0.4+20210318/google_apigateway1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Delegate) to the -[Method Builder](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Delegate) to the +[Method Builder](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::CallBuilder) 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-apigateway1/2.0.4+20210318/google_apigateway1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Delegate) 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 [encodable](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::RequestValue) and -[decodable](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::RequestValue) and +[decodable](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apigateway1/2.0.4+20210318/google_apigateway1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::Part) 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-apigateway1/2.0.4+20210318/google_apigateway1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::CallBuilder), 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-apigateway1/2.0.4+20210318/google_apigateway1/client::RequestValue) are moved +* [request values](https://docs.rs/google-apigateway1/2.0.5+20210318/google_apigateway1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/apigateway1/src/api.rs b/gen/apigateway1/src/api.rs index 3f9e49b443..c7932c5a6f 100644 --- a/gen/apigateway1/src/api.rs +++ b/gen/apigateway1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Apigateway<> { Apigateway { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://apigateway.googleapis.com/".to_string(), _root_url: "https://apigateway.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Apigateway<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/apigateway1/src/client.rs b/gen/apigateway1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/apigateway1/src/client.rs +++ b/gen/apigateway1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/apigateway1/src/lib.rs b/gen/apigateway1/src/lib.rs index ad1cf4c948..f32f253d43 100644 --- a/gen/apigateway1/src/lib.rs +++ b/gen/apigateway1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *apigateway* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *apigateway* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *apigateway* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/api-gateway/docs). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-apigateway1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/apigee1-cli/Cargo.toml b/gen/apigee1-cli/Cargo.toml index e2f135f446..19ac55c5c2 100644 --- a/gen/apigee1-cli/Cargo.toml +++ b/gen/apigee1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-apigee1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Apigee (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigee1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-apigee1] path = "../apigee1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/apigee1-cli/README.md b/gen/apigee1-cli/README.md index 251d34cfb6..e019ebc88e 100644 --- a/gen/apigee1-cli/README.md +++ b/gen/apigee1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Apigee* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Apigee* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash apigee1 [options] diff --git a/gen/apigee1-cli/mkdocs.yml b/gen/apigee1-cli/mkdocs.yml index 0461e6a6b1..96335000ca 100644 --- a/gen/apigee1-cli/mkdocs.yml +++ b/gen/apigee1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Apigee v2.0.4+20210319 +site_name: Apigee v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-apigee1-cli site_description: A complete library to interact with Apigee (protocol v1) diff --git a/gen/apigee1-cli/src/main.rs b/gen/apigee1-cli/src/main.rs index 29f50e5e06..b824658599 100644 --- a/gen/apigee1-cli/src/main.rs +++ b/gen/apigee1-cli/src/main.rs @@ -19684,7 +19684,7 @@ async fn main() { let mut app = App::new("apigee1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_apigee1_cli") .arg(Arg::with_name("url") diff --git a/gen/apigee1/Cargo.toml b/gen/apigee1/Cargo.toml index 0a3e8969ef..4444c9e8f3 100644 --- a/gen/apigee1/Cargo.toml +++ b/gen/apigee1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apigee1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Apigee (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigee1" homepage = "https://cloud.google.com/apigee-api-management/" -documentation = "https://docs.rs/google-apigee1/2.0.4+20210319" +documentation = "https://docs.rs/google-apigee1/2.0.5+20210319" license = "MIT" keywords = ["apigee", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/apigee1/README.md b/gen/apigee1/README.md index f8399ad130..0ea881c5f8 100644 --- a/gen/apigee1/README.md +++ b/gen/apigee1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-apigee1` library allows access to all features of the *Google Apigee* service. -This documentation was generated from *Apigee* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Apigee* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Apigee* *v1* API can be found at the [official documentation site](https://cloud.google.com/apigee-api-management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/Apigee) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/Apigee) ... * hybrid - * [*issuers list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::HybridIssuerListCall) + * [*issuers list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::HybridIssuerListCall) * organizations - * [*analytics datastores create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAnalyticDatastoreCreateCall), [*analytics datastores delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAnalyticDatastoreDeleteCall), [*analytics datastores get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAnalyticDatastoreGetCall), [*analytics datastores list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAnalyticDatastoreListCall), [*analytics datastores test*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAnalyticDatastoreTestCall), [*analytics datastores update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAnalyticDatastoreUpdateCall), [*apiproducts attributes*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductAttributeCall), [*apiproducts attributes delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductAttributeDeleteCall), [*apiproducts attributes get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductAttributeGetCall), [*apiproducts attributes list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductAttributeListCall), [*apiproducts attributes update api product attribute*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductAttributeUpdateApiProductAttributeCall), [*apiproducts create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductCreateCall), [*apiproducts delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductDeleteCall), [*apiproducts get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductGetCall), [*apiproducts list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductListCall), [*apiproducts update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiproductUpdateCall), [*apis create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiCreateCall), [*apis delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiDeleteCall), [*apis deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiDeploymentListCall), [*apis get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiGetCall), [*apis keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiKeyvaluemapCreateCall), [*apis keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiKeyvaluemapDeleteCall), [*apis list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiListCall), [*apis revisions delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiRevisionDeleteCall), [*apis revisions deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiRevisionDeploymentListCall), [*apis revisions get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiRevisionGetCall), [*apis revisions update api proxy revision*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationApiRevisionUpdateApiProxyRevisionCall), [*apps get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAppGetCall), [*apps list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationAppListCall), [*create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationCreateCall), [*datacollectors create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDatacollectorCreateCall), [*datacollectors delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDatacollectorDeleteCall), [*datacollectors get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDatacollectorGetCall), [*datacollectors list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDatacollectorListCall), [*datacollectors patch*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDatacollectorPatchCall), [*delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeleteCall), [*deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeploymentListCall), [*developers apps attributes*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeCall), [*developers apps attributes delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeDeleteCall), [*developers apps attributes get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeGetCall), [*developers apps attributes list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeListCall), [*developers apps attributes update developer app attribute*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeUpdateDeveloperAppAttributeCall), [*developers apps create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppCreateCall), [*developers apps delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppDeleteCall), [*developers apps generate key pair or update developer app status*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppGenerateKeyPairOrUpdateDeveloperAppStatuCall), [*developers apps get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppGetCall), [*developers apps keys apiproducts delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyApiproductDeleteCall), [*developers apps keys apiproducts update developer app key api product*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyApiproductUpdateDeveloperAppKeyApiProductCall), [*developers apps keys create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyCreateCall), [*developers apps keys create create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyCreateCreateCall), [*developers apps keys delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyDeleteCall), [*developers apps keys get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyGetCall), [*developers apps keys replace developer app key*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyReplaceDeveloperAppKeyCall), [*developers apps keys update developer app key*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppKeyUpdateDeveloperAppKeyCall), [*developers apps list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppListCall), [*developers apps update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAppUpdateCall), [*developers attributes*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAttributeCall), [*developers attributes delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAttributeDeleteCall), [*developers attributes get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAttributeGetCall), [*developers attributes list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAttributeListCall), [*developers attributes update developer attribute*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperAttributeUpdateDeveloperAttributeCall), [*developers create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperCreateCall), [*developers delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperDeleteCall), [*developers get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperGetCall), [*developers list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperListCall), [*developers set developer status*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperSetDeveloperStatuCall), [*developers update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationDeveloperUpdateCall), [*envgroups attachments create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentCreateCall), [*envgroups attachments delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentDeleteCall), [*envgroups attachments get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentGetCall), [*envgroups attachments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentListCall), [*envgroups create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupCreateCall), [*envgroups delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupDeleteCall), [*envgroups get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupGetCall), [*envgroups list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupListCall), [*envgroups patch*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvgroupPatchCall), [*environments analytics admin get schemav2*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticAdminGetSchemav2Call), [*environments analytics exports create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportCreateCall), [*environments analytics exports get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportGetCall), [*environments analytics exports list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportListCall), [*environments apis deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiDeploymentListCall), [*environments apis revisions debugsessions create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionCreateCall), [*environments apis revisions debugsessions data get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDataGetCall), [*environments apis revisions debugsessions delete data*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDeleteDataCall), [*environments apis revisions debugsessions get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionGetCall), [*environments apis revisions debugsessions list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionListCall), [*environments apis revisions deploy*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeployCall), [*environments apis revisions deployments generate deploy change report*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateDeployChangeReportCall), [*environments apis revisions deployments generate undeploy change report*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateUndeployChangeReportCall), [*environments apis revisions get deployments*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionGetDeploymentCall), [*environments apis revisions undeploy*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionUndeployCall), [*environments caches delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentCacheDeleteCall), [*environments create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentCreateCall), [*environments delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentDeleteCall), [*environments deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentDeploymentListCall), [*environments flowhooks attach shared flow to flow hook*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookAttachSharedFlowToFlowHookCall), [*environments flowhooks detach shared flow from flow hook*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookDetachSharedFlowFromFlowHookCall), [*environments flowhooks get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookGetCall), [*environments get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentGetCall), [*environments get debugmask*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentGetDebugmaskCall), [*environments get deployed config*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentGetDeployedConfigCall), [*environments get iam policy*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentGetIamPolicyCall), [*environments get trace config*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentGetTraceConfigCall), [*environments keystores aliases create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCreateCall), [*environments keystores aliases csr*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCsrCall), [*environments keystores aliases delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseDeleteCall), [*environments keystores aliases get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCall), [*environments keystores aliases get certificate*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCertificateCall), [*environments keystores aliases update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseUpdateCall), [*environments keystores create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreCreateCall), [*environments keystores delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreDeleteCall), [*environments keystores get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreGetCall), [*environments keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeyvaluemapCreateCall), [*environments keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentKeyvaluemapDeleteCall), [*environments optimized stats get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentOptimizedStatGetCall), [*environments queries create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentQueryCreateCall), [*environments queries get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentQueryGetCall), [*environments queries get result*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentQueryGetResultCall), [*environments queries list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentQueryListCall), [*environments references create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentReferenceCreateCall), [*environments references delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentReferenceDeleteCall), [*environments references get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentReferenceGetCall), [*environments references update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentReferenceUpdateCall), [*environments resourcefiles create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileCreateCall), [*environments resourcefiles delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileDeleteCall), [*environments resourcefiles get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileGetCall), [*environments resourcefiles list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileListCall), [*environments resourcefiles list environment resources*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileListEnvironmentResourceCall), [*environments resourcefiles update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileUpdateCall), [*environments set iam policy*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentSetIamPolicyCall), [*environments sharedflows deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowDeploymentListCall), [*environments sharedflows revisions deploy*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionDeployCall), [*environments sharedflows revisions get deployments*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionGetDeploymentCall), [*environments sharedflows revisions undeploy*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionUndeployCall), [*environments stats get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentStatGetCall), [*environments subscribe*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentSubscribeCall), [*environments targetservers create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverCreateCall), [*environments targetservers delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverDeleteCall), [*environments targetservers get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverGetCall), [*environments targetservers update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverUpdateCall), [*environments test iam permissions*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTestIamPermissionCall), [*environments trace config overrides create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideCreateCall), [*environments trace config overrides delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideDeleteCall), [*environments trace config overrides get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideGetCall), [*environments trace config overrides list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideListCall), [*environments trace config overrides patch*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverridePatchCall), [*environments unsubscribe*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentUnsubscribeCall), [*environments update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentUpdateCall), [*environments update debugmask*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentUpdateDebugmaskCall), [*environments update environment*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentUpdateEnvironmentCall), [*environments update trace config*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationEnvironmentUpdateTraceConfigCall), [*get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationGetCall), [*get deployed ingress config*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationGetDeployedIngressConfigCall), [*get sync authorization*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationGetSyncAuthorizationCall), [*host queries create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationHostQueryCreateCall), [*host queries get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationHostQueryGetCall), [*host queries get result*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationHostQueryGetResultCall), [*host queries get result view*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationHostQueryGetResultViewCall), [*host queries list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationHostQueryListCall), [*host stats get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationHostStatGetCall), [*instances attachments create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceAttachmentCreateCall), [*instances attachments delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceAttachmentDeleteCall), [*instances attachments get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceAttachmentGetCall), [*instances attachments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceAttachmentListCall), [*instances canaryevaluations create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceCanaryevaluationCreateCall), [*instances canaryevaluations get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceCanaryevaluationGetCall), [*instances create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceCreateCall), [*instances delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceDeleteCall), [*instances get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceGetCall), [*instances list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceListCall), [*instances nat addresses activate*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceNatAddresseActivateCall), [*instances nat addresses create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceNatAddresseCreateCall), [*instances nat addresses delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceNatAddresseDeleteCall), [*instances nat addresses get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceNatAddresseGetCall), [*instances nat addresses list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceNatAddresseListCall), [*instances report status*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationInstanceReportStatuCall), [*keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationKeyvaluemapCreateCall), [*keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationKeyvaluemapDeleteCall), [*list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationListCall), [*operations get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationOperationListCall), [*optimized host stats get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationOptimizedHostStatGetCall), [*reports create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationReportCreateCall), [*reports delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationReportDeleteCall), [*reports get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationReportGetCall), [*reports list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationReportListCall), [*reports update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationReportUpdateCall), [*set sync authorization*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSetSyncAuthorizationCall), [*sharedflows create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowCreateCall), [*sharedflows delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowDeleteCall), [*sharedflows deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowDeploymentListCall), [*sharedflows get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowGetCall), [*sharedflows list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowListCall), [*sharedflows revisions delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowRevisionDeleteCall), [*sharedflows revisions deployments list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowRevisionDeploymentListCall), [*sharedflows revisions get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowRevisionGetCall), [*sharedflows revisions update shared flow revision*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSharedflowRevisionUpdateSharedFlowRevisionCall), [*sites apicategories create*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSiteApicategoryCreateCall), [*sites apicategories delete*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSiteApicategoryDeleteCall), [*sites apicategories get*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSiteApicategoryGetCall), [*sites apicategories list*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSiteApicategoryListCall), [*sites apicategories patch*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationSiteApicategoryPatchCall) and [*update*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::OrganizationUpdateCall) + * [*analytics datastores create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAnalyticDatastoreCreateCall), [*analytics datastores delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAnalyticDatastoreDeleteCall), [*analytics datastores get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAnalyticDatastoreGetCall), [*analytics datastores list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAnalyticDatastoreListCall), [*analytics datastores test*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAnalyticDatastoreTestCall), [*analytics datastores update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAnalyticDatastoreUpdateCall), [*apiproducts attributes*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductAttributeCall), [*apiproducts attributes delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductAttributeDeleteCall), [*apiproducts attributes get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductAttributeGetCall), [*apiproducts attributes list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductAttributeListCall), [*apiproducts attributes update api product attribute*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductAttributeUpdateApiProductAttributeCall), [*apiproducts create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductCreateCall), [*apiproducts delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductDeleteCall), [*apiproducts get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductGetCall), [*apiproducts list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductListCall), [*apiproducts update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiproductUpdateCall), [*apis create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiCreateCall), [*apis delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiDeleteCall), [*apis deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiDeploymentListCall), [*apis get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiGetCall), [*apis keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiKeyvaluemapCreateCall), [*apis keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiKeyvaluemapDeleteCall), [*apis list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiListCall), [*apis revisions delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiRevisionDeleteCall), [*apis revisions deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiRevisionDeploymentListCall), [*apis revisions get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiRevisionGetCall), [*apis revisions update api proxy revision*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationApiRevisionUpdateApiProxyRevisionCall), [*apps get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAppGetCall), [*apps list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationAppListCall), [*create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationCreateCall), [*datacollectors create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDatacollectorCreateCall), [*datacollectors delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDatacollectorDeleteCall), [*datacollectors get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDatacollectorGetCall), [*datacollectors list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDatacollectorListCall), [*datacollectors patch*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDatacollectorPatchCall), [*delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeleteCall), [*deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeploymentListCall), [*developers apps attributes*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeCall), [*developers apps attributes delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeDeleteCall), [*developers apps attributes get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeGetCall), [*developers apps attributes list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeListCall), [*developers apps attributes update developer app attribute*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppAttributeUpdateDeveloperAppAttributeCall), [*developers apps create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppCreateCall), [*developers apps delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppDeleteCall), [*developers apps generate key pair or update developer app status*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppGenerateKeyPairOrUpdateDeveloperAppStatuCall), [*developers apps get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppGetCall), [*developers apps keys apiproducts delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyApiproductDeleteCall), [*developers apps keys apiproducts update developer app key api product*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyApiproductUpdateDeveloperAppKeyApiProductCall), [*developers apps keys create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyCreateCall), [*developers apps keys create create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyCreateCreateCall), [*developers apps keys delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyDeleteCall), [*developers apps keys get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyGetCall), [*developers apps keys replace developer app key*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyReplaceDeveloperAppKeyCall), [*developers apps keys update developer app key*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppKeyUpdateDeveloperAppKeyCall), [*developers apps list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppListCall), [*developers apps update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAppUpdateCall), [*developers attributes*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAttributeCall), [*developers attributes delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAttributeDeleteCall), [*developers attributes get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAttributeGetCall), [*developers attributes list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAttributeListCall), [*developers attributes update developer attribute*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperAttributeUpdateDeveloperAttributeCall), [*developers create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperCreateCall), [*developers delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperDeleteCall), [*developers get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperGetCall), [*developers list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperListCall), [*developers set developer status*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperSetDeveloperStatuCall), [*developers update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationDeveloperUpdateCall), [*envgroups attachments create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentCreateCall), [*envgroups attachments delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentDeleteCall), [*envgroups attachments get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentGetCall), [*envgroups attachments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupAttachmentListCall), [*envgroups create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupCreateCall), [*envgroups delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupDeleteCall), [*envgroups get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupGetCall), [*envgroups list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupListCall), [*envgroups patch*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvgroupPatchCall), [*environments analytics admin get schemav2*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticAdminGetSchemav2Call), [*environments analytics exports create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportCreateCall), [*environments analytics exports get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportGetCall), [*environments analytics exports list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentAnalyticExportListCall), [*environments apis deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiDeploymentListCall), [*environments apis revisions debugsessions create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionCreateCall), [*environments apis revisions debugsessions data get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDataGetCall), [*environments apis revisions debugsessions delete data*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDeleteDataCall), [*environments apis revisions debugsessions get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionGetCall), [*environments apis revisions debugsessions list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionListCall), [*environments apis revisions deploy*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeployCall), [*environments apis revisions deployments generate deploy change report*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateDeployChangeReportCall), [*environments apis revisions deployments generate undeploy change report*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateUndeployChangeReportCall), [*environments apis revisions get deployments*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionGetDeploymentCall), [*environments apis revisions undeploy*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentApiRevisionUndeployCall), [*environments caches delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentCacheDeleteCall), [*environments create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentCreateCall), [*environments delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentDeleteCall), [*environments deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentDeploymentListCall), [*environments flowhooks attach shared flow to flow hook*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookAttachSharedFlowToFlowHookCall), [*environments flowhooks detach shared flow from flow hook*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookDetachSharedFlowFromFlowHookCall), [*environments flowhooks get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentFlowhookGetCall), [*environments get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentGetCall), [*environments get debugmask*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentGetDebugmaskCall), [*environments get deployed config*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentGetDeployedConfigCall), [*environments get iam policy*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentGetIamPolicyCall), [*environments get trace config*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentGetTraceConfigCall), [*environments keystores aliases create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCreateCall), [*environments keystores aliases csr*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCsrCall), [*environments keystores aliases delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseDeleteCall), [*environments keystores aliases get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCall), [*environments keystores aliases get certificate*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCertificateCall), [*environments keystores aliases update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseUpdateCall), [*environments keystores create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreCreateCall), [*environments keystores delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreDeleteCall), [*environments keystores get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeystoreGetCall), [*environments keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeyvaluemapCreateCall), [*environments keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentKeyvaluemapDeleteCall), [*environments optimized stats get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentOptimizedStatGetCall), [*environments queries create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentQueryCreateCall), [*environments queries get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentQueryGetCall), [*environments queries get result*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentQueryGetResultCall), [*environments queries list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentQueryListCall), [*environments references create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentReferenceCreateCall), [*environments references delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentReferenceDeleteCall), [*environments references get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentReferenceGetCall), [*environments references update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentReferenceUpdateCall), [*environments resourcefiles create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileCreateCall), [*environments resourcefiles delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileDeleteCall), [*environments resourcefiles get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileGetCall), [*environments resourcefiles list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileListCall), [*environments resourcefiles list environment resources*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileListEnvironmentResourceCall), [*environments resourcefiles update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentResourcefileUpdateCall), [*environments set iam policy*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentSetIamPolicyCall), [*environments sharedflows deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowDeploymentListCall), [*environments sharedflows revisions deploy*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionDeployCall), [*environments sharedflows revisions get deployments*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionGetDeploymentCall), [*environments sharedflows revisions undeploy*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionUndeployCall), [*environments stats get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentStatGetCall), [*environments subscribe*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentSubscribeCall), [*environments targetservers create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverCreateCall), [*environments targetservers delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverDeleteCall), [*environments targetservers get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverGetCall), [*environments targetservers update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTargetserverUpdateCall), [*environments test iam permissions*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTestIamPermissionCall), [*environments trace config overrides create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideCreateCall), [*environments trace config overrides delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideDeleteCall), [*environments trace config overrides get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideGetCall), [*environments trace config overrides list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideListCall), [*environments trace config overrides patch*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentTraceConfigOverridePatchCall), [*environments unsubscribe*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentUnsubscribeCall), [*environments update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentUpdateCall), [*environments update debugmask*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentUpdateDebugmaskCall), [*environments update environment*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentUpdateEnvironmentCall), [*environments update trace config*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationEnvironmentUpdateTraceConfigCall), [*get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationGetCall), [*get deployed ingress config*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationGetDeployedIngressConfigCall), [*get sync authorization*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationGetSyncAuthorizationCall), [*host queries create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationHostQueryCreateCall), [*host queries get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationHostQueryGetCall), [*host queries get result*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationHostQueryGetResultCall), [*host queries get result view*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationHostQueryGetResultViewCall), [*host queries list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationHostQueryListCall), [*host stats get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationHostStatGetCall), [*instances attachments create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceAttachmentCreateCall), [*instances attachments delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceAttachmentDeleteCall), [*instances attachments get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceAttachmentGetCall), [*instances attachments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceAttachmentListCall), [*instances canaryevaluations create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceCanaryevaluationCreateCall), [*instances canaryevaluations get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceCanaryevaluationGetCall), [*instances create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceCreateCall), [*instances delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceDeleteCall), [*instances get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceGetCall), [*instances list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceListCall), [*instances nat addresses activate*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceNatAddresseActivateCall), [*instances nat addresses create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceNatAddresseCreateCall), [*instances nat addresses delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceNatAddresseDeleteCall), [*instances nat addresses get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceNatAddresseGetCall), [*instances nat addresses list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceNatAddresseListCall), [*instances report status*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationInstanceReportStatuCall), [*keyvaluemaps create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationKeyvaluemapCreateCall), [*keyvaluemaps delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationKeyvaluemapDeleteCall), [*list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationListCall), [*operations get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationOperationListCall), [*optimized host stats get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationOptimizedHostStatGetCall), [*reports create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationReportCreateCall), [*reports delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationReportDeleteCall), [*reports get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationReportGetCall), [*reports list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationReportListCall), [*reports update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationReportUpdateCall), [*set sync authorization*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSetSyncAuthorizationCall), [*sharedflows create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowCreateCall), [*sharedflows delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowDeleteCall), [*sharedflows deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowDeploymentListCall), [*sharedflows get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowGetCall), [*sharedflows list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowListCall), [*sharedflows revisions delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowRevisionDeleteCall), [*sharedflows revisions deployments list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowRevisionDeploymentListCall), [*sharedflows revisions get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowRevisionGetCall), [*sharedflows revisions update shared flow revision*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSharedflowRevisionUpdateSharedFlowRevisionCall), [*sites apicategories create*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSiteApicategoryCreateCall), [*sites apicategories delete*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSiteApicategoryDeleteCall), [*sites apicategories get*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSiteApicategoryGetCall), [*sites apicategories list*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSiteApicategoryListCall), [*sites apicategories patch*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationSiteApicategoryPatchCall) and [*update*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::OrganizationUpdateCall) * projects - * [*provision organization*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/api::ProjectProvisionOrganizationCall) + * [*provision organization*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/api::ProjectProvisionOrganizationCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/Apigee)** +* **[Hub](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/Apigee)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::CallBuilder) -* **[Resources](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::CallBuilder) +* **[Resources](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Part)** + * **[Parts](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -86,9 +86,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-apigee1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -155,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Delegate), 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-apigee1/2.0.4+20210319/google_apigee1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::ResponseResult), 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")`. @@ -175,29 +172,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Delegate) to the -[Method Builder](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Delegate) to the +[Method Builder](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::CallBuilder) 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-apigee1/2.0.4+20210319/google_apigee1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Delegate) 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 [encodable](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::RequestValue) and -[decodable](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::RequestValue) and +[decodable](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apigee1/2.0.4+20210319/google_apigee1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::Part) 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-apigee1/2.0.4+20210319/google_apigee1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::CallBuilder), 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-apigee1/2.0.4+20210319/google_apigee1/client::RequestValue) are moved +* [request values](https://docs.rs/google-apigee1/2.0.5+20210319/google_apigee1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/apigee1/src/api.rs b/gen/apigee1/src/api.rs index 951237fa58..646c16c93d 100644 --- a/gen/apigee1/src/api.rs +++ b/gen/apigee1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Apigee<> { Apigee { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://apigee.googleapis.com/".to_string(), _root_url: "https://apigee.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > Apigee<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/apigee1/src/client.rs b/gen/apigee1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/apigee1/src/client.rs +++ b/gen/apigee1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/apigee1/src/lib.rs b/gen/apigee1/src/lib.rs index 46c1f404d1..8072882adc 100644 --- a/gen/apigee1/src/lib.rs +++ b/gen/apigee1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Apigee* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Apigee* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Apigee* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/apigee-api-management/). @@ -86,9 +86,6 @@ //! ```toml //! [dependencies] //! google-apigee1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/appengine1-cli/Cargo.toml b/gen/appengine1-cli/Cargo.toml index 41d7376016..600860b528 100644 --- a/gen/appengine1-cli/Cargo.toml +++ b/gen/appengine1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appengine1] path = "../appengine1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/appengine1-cli/README.md b/gen/appengine1-cli/README.md index 4d110e74f9..6f8a417c92 100644 --- a/gen/appengine1-cli/README.md +++ b/gen/appengine1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appengine* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *appengine* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash appengine1 [options] diff --git a/gen/appengine1-cli/mkdocs.yml b/gen/appengine1-cli/mkdocs.yml index 53ced52bdd..41a552c5fe 100644 --- a/gen/appengine1-cli/mkdocs.yml +++ b/gen/appengine1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v2.0.4+20210324 +site_name: appengine v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-appengine1-cli site_description: A complete library to interact with appengine (protocol v1) diff --git a/gen/appengine1-cli/src/main.rs b/gen/appengine1-cli/src/main.rs index b40dc7e231..d237254fd0 100644 --- a/gen/appengine1-cli/src/main.rs +++ b/gen/appengine1-cli/src/main.rs @@ -4171,7 +4171,7 @@ async fn main() { let mut app = App::new("appengine1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Provisions and manages developers' App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1/Cargo.toml b/gen/appengine1/Cargo.toml index 759fe5ae5c..2e5a8e37a9 100644 --- a/gen/appengine1/Cargo.toml +++ b/gen/appengine1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1/2.0.4+20210324" +documentation = "https://docs.rs/google-appengine1/2.0.5+20210324" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appengine1/README.md b/gen/appengine1/README.md index 273829426f..ea799a754f 100644 --- a/gen/appengine1/README.md +++ b/gen/appengine1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *appengine* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *appengine* *v1* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/Appengine) ... * apps - * [*authorized certificates create*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppAuthorizedDomainListCall), [*create*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppCreateCall), [*domain mappings create*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppDomainMappingCreateCall), [*domain mappings delete*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppDomainMappingDeleteCall), [*domain mappings get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppDomainMappingGetCall), [*domain mappings list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppDomainMappingListCall), [*domain mappings patch*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppFirewallIngressRulePatchCall), [*get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppPatchCall), [*repair*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppRepairCall), [*services delete*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/api::AppServiceVersionPatchCall) + * [*authorized certificates create*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppAuthorizedDomainListCall), [*create*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppCreateCall), [*domain mappings create*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppDomainMappingCreateCall), [*domain mappings delete*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppDomainMappingDeleteCall), [*domain mappings get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppDomainMappingGetCall), [*domain mappings list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppDomainMappingListCall), [*domain mappings patch*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppFirewallIngressRulePatchCall), [*get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppPatchCall), [*repair*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppRepairCall), [*services delete*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/api::AppServiceVersionPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/Appengine)** +* **[Hub](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/Appengine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::CallBuilder) +* **[Resources](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Part)** + * **[Parts](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -77,9 +77,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-appengine1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -145,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Delegate) to the +[Method Builder](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Delegate) 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 [encodable](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::RequestValue) and +[decodable](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appengine1/2.0.4+20210324/google_appengine1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1/2.0.5+20210324/google_appengine1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1/src/api.rs b/gen/appengine1/src/api.rs index faf06cf96c..3dd0ecb652 100644 --- a/gen/appengine1/src/api.rs +++ b/gen/appengine1/src/api.rs @@ -128,7 +128,7 @@ impl<'a, > Appengine<> { Appengine { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Appengine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1/src/client.rs b/gen/appengine1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/appengine1/src/client.rs +++ b/gen/appengine1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/appengine1/src/lib.rs b/gen/appengine1/src/lib.rs index 5282e15cdb..87539b4d9f 100644 --- a/gen/appengine1/src/lib.rs +++ b/gen/appengine1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *appengine* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *appengine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -77,9 +77,6 @@ //! ```toml //! [dependencies] //! google-appengine1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/appengine1_beta4-cli/Cargo.toml b/gen/appengine1_beta4-cli/Cargo.toml index 2578849ec1..110a2982c3 100644 --- a/gen/appengine1_beta4-cli/Cargo.toml +++ b/gen/appengine1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1_beta4-cli" -version = "2.0.4+20181005" +version = "2.0.5+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appengine1_beta4] path = "../appengine1_beta4" -version = "2.0.4+20181005" +version = "2.0.5+20181005" diff --git a/gen/appengine1_beta4-cli/README.md b/gen/appengine1_beta4-cli/README.md index 1a3fcb723b..67662d5039 100644 --- a/gen/appengine1_beta4-cli/README.md +++ b/gen/appengine1_beta4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *2.0.4*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *2.0.5*. ```bash appengine1-beta4 [options] diff --git a/gen/appengine1_beta4-cli/mkdocs.yml b/gen/appengine1_beta4-cli/mkdocs.yml index cadffd7824..bc76ff580a 100644 --- a/gen/appengine1_beta4-cli/mkdocs.yml +++ b/gen/appengine1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v2.0.4+20181005 +site_name: appengine v2.0.5+20181005 site_url: http://byron.github.io/google-apis-rs/google-appengine1_beta4-cli site_description: A complete library to interact with appengine (protocol v1beta4) diff --git a/gen/appengine1_beta4-cli/src/main.rs b/gen/appengine1_beta4-cli/src/main.rs index 6d7e30da74..3bc3fda83e 100644 --- a/gen/appengine1_beta4-cli/src/main.rs +++ b/gen/appengine1_beta4-cli/src/main.rs @@ -2266,7 +2266,7 @@ async fn main() { let mut app = App::new("appengine1-beta4") .author("Sebastian Thiel ") - .version("2.0.4+20181005") + .version("2.0.5+20181005") .about("The App Engine Admin API enables developers to provision and manage their App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1_beta4/Cargo.toml b/gen/appengine1_beta4/Cargo.toml index e61c6d3d00..feedae2a88 100644 --- a/gen/appengine1_beta4/Cargo.toml +++ b/gen/appengine1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1_beta4" -version = "2.0.4+20181005" +version = "2.0.5+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta4" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta4/2.0.4+20181005" +documentation = "https://docs.rs/google-appengine1_beta4/2.0.5+20181005" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appengine1_beta4/README.md b/gen/appengine1_beta4/README.md index f365283c54..8c3dbc02ce 100644 --- a/gen/appengine1_beta4/README.md +++ b/gen/appengine1_beta4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1_beta4` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *2.0.4+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *appengine* crate version *2.0.5+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *appengine* *v1_beta4* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/Appengine) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppLocationListCall), [*modules delete*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleDeleteCall), [*modules get*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleGetCall), [*modules list*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleListCall), [*modules patch*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModulePatchCall), [*modules versions create*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionCreateCall), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionDeleteCall), [*modules versions get*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionGetCall), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDebugCall), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDeleteCall), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceGetCall), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceListCall), [*modules versions list*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionListCall), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppModuleVersionPatchCall), [*operations get*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppOperationListCall) and [*patch*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/api::AppPatchCall) + * [*create*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppLocationListCall), [*modules delete*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleDeleteCall), [*modules get*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleGetCall), [*modules list*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleListCall), [*modules patch*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModulePatchCall), [*modules versions create*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionCreateCall), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionDeleteCall), [*modules versions get*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionGetCall), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDebugCall), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDeleteCall), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceGetCall), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceListCall), [*modules versions list*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionListCall), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppModuleVersionPatchCall), [*operations get*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppOperationListCall) and [*patch*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/api::AppPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/Appengine)** +* **[Hub](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/Appengine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::CallBuilder) +* **[Resources](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-appengine1_beta4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Delegate) to the +[Method Builder](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Delegate) 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 [encodable](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::RequestValue) and +[decodable](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appengine1_beta4/2.0.4+20181005/google_appengine1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1_beta4/2.0.5+20181005/google_appengine1_beta4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1_beta4/src/api.rs b/gen/appengine1_beta4/src/api.rs index a62fbb70e9..5a6b22e8dd 100644 --- a/gen/appengine1_beta4/src/api.rs +++ b/gen/appengine1_beta4/src/api.rs @@ -128,7 +128,7 @@ impl<'a, > Appengine<> { Appengine { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Appengine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1_beta4/src/client.rs b/gen/appengine1_beta4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/appengine1_beta4/src/client.rs +++ b/gen/appengine1_beta4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/appengine1_beta4/src/lib.rs b/gen/appengine1_beta4/src/lib.rs index 6ce3180109..7a8f187c11 100644 --- a/gen/appengine1_beta4/src/lib.rs +++ b/gen/appengine1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *2.0.4+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *appengine* crate version *2.0.5+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *appengine* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-appengine1_beta4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/appengine1_beta5-cli/Cargo.toml b/gen/appengine1_beta5-cli/Cargo.toml index 54baa9382b..cc50da056c 100644 --- a/gen/appengine1_beta5-cli/Cargo.toml +++ b/gen/appengine1_beta5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1_beta5-cli" -version = "2.0.4+20181005" +version = "2.0.5+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta5-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appengine1_beta5] path = "../appengine1_beta5" -version = "2.0.4+20181005" +version = "2.0.5+20181005" diff --git a/gen/appengine1_beta5-cli/README.md b/gen/appengine1_beta5-cli/README.md index f19d2edb34..b01183cfb7 100644 --- a/gen/appengine1_beta5-cli/README.md +++ b/gen/appengine1_beta5-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *2.0.4*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *2.0.5*. ```bash appengine1-beta5 [options] diff --git a/gen/appengine1_beta5-cli/mkdocs.yml b/gen/appengine1_beta5-cli/mkdocs.yml index 6f99faa2f3..f6be70fbcb 100644 --- a/gen/appengine1_beta5-cli/mkdocs.yml +++ b/gen/appengine1_beta5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v2.0.4+20181005 +site_name: appengine v2.0.5+20181005 site_url: http://byron.github.io/google-apis-rs/google-appengine1_beta5-cli site_description: A complete library to interact with appengine (protocol v1beta5) diff --git a/gen/appengine1_beta5-cli/src/main.rs b/gen/appengine1_beta5-cli/src/main.rs index d29af8ee2c..ca810984b0 100644 --- a/gen/appengine1_beta5-cli/src/main.rs +++ b/gen/appengine1_beta5-cli/src/main.rs @@ -2270,7 +2270,7 @@ async fn main() { let mut app = App::new("appengine1-beta5") .author("Sebastian Thiel ") - .version("2.0.4+20181005") + .version("2.0.5+20181005") .about("The App Engine Admin API enables developers to provision and manage their App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_beta5_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1_beta5/Cargo.toml b/gen/appengine1_beta5/Cargo.toml index 7e8060ec1a..bfc4b46c95 100644 --- a/gen/appengine1_beta5/Cargo.toml +++ b/gen/appengine1_beta5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1_beta5" -version = "2.0.4+20181005" +version = "2.0.5+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta5" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta5/2.0.4+20181005" +documentation = "https://docs.rs/google-appengine1_beta5/2.0.5+20181005" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appengine1_beta5/README.md b/gen/appengine1_beta5/README.md index c20af22ebe..99a658a87b 100644 --- a/gen/appengine1_beta5/README.md +++ b/gen/appengine1_beta5/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1_beta5` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *2.0.4+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *appengine* crate version *2.0.5+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *appengine* *v1_beta5* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/Appengine) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppPatchCall), [*services delete*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/api::AppServiceVersionPatchCall) + * [*create*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppPatchCall), [*services delete*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/api::AppServiceVersionPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/Appengine)** +* **[Hub](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/Appengine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::CallBuilder) +* **[Resources](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Part)** + * **[Parts](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-appengine1_beta5 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Delegate) to the +[Method Builder](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Delegate) 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 [encodable](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::RequestValue) and +[decodable](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appengine1_beta5/2.0.4+20181005/google_appengine1_beta5/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1_beta5/2.0.5+20181005/google_appengine1_beta5/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1_beta5/src/api.rs b/gen/appengine1_beta5/src/api.rs index 305675a6d7..42364ba9e6 100644 --- a/gen/appengine1_beta5/src/api.rs +++ b/gen/appengine1_beta5/src/api.rs @@ -128,7 +128,7 @@ impl<'a, > Appengine<> { Appengine { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Appengine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1_beta5/src/client.rs b/gen/appengine1_beta5/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/appengine1_beta5/src/client.rs +++ b/gen/appengine1_beta5/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/appengine1_beta5/src/lib.rs b/gen/appengine1_beta5/src/lib.rs index f6469df086..82f7f26011 100644 --- a/gen/appengine1_beta5/src/lib.rs +++ b/gen/appengine1_beta5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *2.0.4+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *appengine* crate version *2.0.5+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *appengine* *v1_beta5* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-appengine1_beta5 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/appsactivity1-cli/Cargo.toml b/gen/appsactivity1-cli/Cargo.toml index d7a80abcb2..99cfbe30dc 100644 --- a/gen/appsactivity1-cli/Cargo.toml +++ b/gen/appsactivity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appsactivity1-cli" -version = "2.0.4+20200628" +version = "2.0.5+20200628" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appsactivity1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appsactivity1] path = "../appsactivity1" -version = "2.0.4+20200628" +version = "2.0.5+20200628" diff --git a/gen/appsactivity1-cli/README.md b/gen/appsactivity1-cli/README.md index d7e8beb3fa..96253abf1e 100644 --- a/gen/appsactivity1-cli/README.md +++ b/gen/appsactivity1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appsactivity* API at revision *20200628*. The CLI is at version *2.0.4*. +This documentation was generated from the *appsactivity* API at revision *20200628*. The CLI is at version *2.0.5*. ```bash appsactivity1 [options] diff --git a/gen/appsactivity1-cli/mkdocs.yml b/gen/appsactivity1-cli/mkdocs.yml index 2680b989ea..67e8cd0404 100644 --- a/gen/appsactivity1-cli/mkdocs.yml +++ b/gen/appsactivity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appsactivity v2.0.4+20200628 +site_name: appsactivity v2.0.5+20200628 site_url: http://byron.github.io/google-apis-rs/google-appsactivity1-cli site_description: A complete library to interact with appsactivity (protocol v1) diff --git a/gen/appsactivity1-cli/src/main.rs b/gen/appsactivity1-cli/src/main.rs index 1a87c6b6ef..1cc6c6c0b4 100644 --- a/gen/appsactivity1-cli/src/main.rs +++ b/gen/appsactivity1-cli/src/main.rs @@ -222,7 +222,7 @@ async fn main() { let mut app = App::new("appsactivity1") .author("Sebastian Thiel ") - .version("2.0.4+20200628") + .version("2.0.5+20200628") .about("Provides a historical view of activity.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appsactivity1_cli") .arg(Arg::with_name("url") diff --git a/gen/appsactivity1/Cargo.toml b/gen/appsactivity1/Cargo.toml index 9a5cba96b4..a1837ea889 100644 --- a/gen/appsactivity1/Cargo.toml +++ b/gen/appsactivity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appsactivity1" -version = "2.0.4+20200628" +version = "2.0.5+20200628" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appsactivity1" homepage = "https://developers.google.com/google-apps/activity/" -documentation = "https://docs.rs/google-appsactivity1/2.0.4+20200628" +documentation = "https://docs.rs/google-appsactivity1/2.0.5+20200628" license = "MIT" keywords = ["appsactivity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appsactivity1/README.md b/gen/appsactivity1/README.md index 794b371910..3e74f738e6 100644 --- a/gen/appsactivity1/README.md +++ b/gen/appsactivity1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appsactivity1` library allows access to all features of the *Google appsactivity* service. -This documentation was generated from *appsactivity* crate version *2.0.4+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *appsactivity* crate version *2.0.5+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *appsactivity* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/activity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/Appsactivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/Appsactivity) ... -* [activities](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/api::Activity) - * [*list*](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/api::ActivityListCall) +* [activities](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/api::Activity) + * [*list*](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/api::ActivityListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/Appsactivity)** +* **[Hub](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/Appsactivity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Part)** + * **[Parts](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-appsactivity1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Delegate) 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 [encodable](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::RequestValue) and -[decodable](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::RequestValue) and +[decodable](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appsactivity1/2.0.4+20200628/google_appsactivity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appsactivity1/2.0.5+20200628/google_appsactivity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appsactivity1/src/api.rs b/gen/appsactivity1/src/api.rs index 8a44f9eb0d..1dfa0d26aa 100644 --- a/gen/appsactivity1/src/api.rs +++ b/gen/appsactivity1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Appsactivity<> { Appsactivity { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/appsactivity/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Appsactivity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appsactivity1/src/client.rs b/gen/appsactivity1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/appsactivity1/src/client.rs +++ b/gen/appsactivity1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/appsactivity1/src/lib.rs b/gen/appsactivity1/src/lib.rs index d3ba245a74..3a5070a7ea 100644 --- a/gen/appsactivity1/src/lib.rs +++ b/gen/appsactivity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appsactivity* crate version *2.0.4+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *appsactivity* crate version *2.0.5+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *appsactivity* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/activity/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-appsactivity1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/appstate1-cli/Cargo.toml b/gen/appstate1-cli/Cargo.toml index 3db36a6e66..7cc10a3250 100644 --- a/gen/appstate1-cli/Cargo.toml +++ b/gen/appstate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appstate1-cli" -version = "2.0.4+20190627" +version = "2.0.5+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appstate1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appstate1] path = "../appstate1" -version = "2.0.4+20190627" +version = "2.0.5+20190627" diff --git a/gen/appstate1-cli/README.md b/gen/appstate1-cli/README.md index fce8347862..9b5d95c6b8 100644 --- a/gen/appstate1-cli/README.md +++ b/gen/appstate1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *App State* API at revision *20190627*. The CLI is at version *2.0.4*. +This documentation was generated from the *App State* API at revision *20190627*. The CLI is at version *2.0.5*. ```bash appstate1 [options] diff --git a/gen/appstate1-cli/mkdocs.yml b/gen/appstate1-cli/mkdocs.yml index 61e7f4856f..42679e8fb9 100644 --- a/gen/appstate1-cli/mkdocs.yml +++ b/gen/appstate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: App State v2.0.4+20190627 +site_name: App State v2.0.5+20190627 site_url: http://byron.github.io/google-apis-rs/google-appstate1-cli site_description: A complete library to interact with App State (protocol v1) diff --git a/gen/appstate1-cli/src/main.rs b/gen/appstate1-cli/src/main.rs index 8ecbc3c8be..94ea3fce72 100644 --- a/gen/appstate1-cli/src/main.rs +++ b/gen/appstate1-cli/src/main.rs @@ -550,7 +550,7 @@ async fn main() { let mut app = App::new("appstate1") .author("Sebastian Thiel ") - .version("2.0.4+20190627") + .version("2.0.5+20190627") .about("The Google App State API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appstate1_cli") .arg(Arg::with_name("url") diff --git a/gen/appstate1/Cargo.toml b/gen/appstate1/Cargo.toml index d484feb811..02edacf8f0 100644 --- a/gen/appstate1/Cargo.toml +++ b/gen/appstate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appstate1" -version = "2.0.4+20190627" +version = "2.0.5+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appstate1" homepage = "https://developers.google.com/games/services/web/api/states" -documentation = "https://docs.rs/google-appstate1/2.0.4+20190627" +documentation = "https://docs.rs/google-appstate1/2.0.5+20190627" license = "MIT" keywords = ["appstate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/appstate1/README.md b/gen/appstate1/README.md index 8c0807a7e5..1501cebc70 100644 --- a/gen/appstate1/README.md +++ b/gen/appstate1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appstate1` library allows access to all features of the *Google App State* service. -This documentation was generated from *App State* crate version *2.0.4+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *App State* crate version *2.0.5+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *App State* *v1* API can be found at the [official documentation site](https://developers.google.com/games/services/web/api/states). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/AppState) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/AppState) ... * states - * [*clear*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/api::StateClearCall), [*delete*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/api::StateDeleteCall), [*get*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/api::StateGetCall), [*list*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/api::StateListCall) and [*update*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/api::StateUpdateCall) + * [*clear*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/api::StateClearCall), [*delete*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/api::StateDeleteCall), [*get*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/api::StateGetCall), [*list*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/api::StateListCall) and [*update*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/api::StateUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/AppState)** +* **[Hub](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/AppState)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::CallBuilder) +* **[Resources](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Part)** + * **[Parts](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-appstate1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Delegate) to the +[Method Builder](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Delegate) 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 [encodable](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::RequestValue) and -[decodable](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::RequestValue) and +[decodable](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appstate1/2.0.4+20190627/google_appstate1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appstate1/2.0.5+20190627/google_appstate1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appstate1/src/api.rs b/gen/appstate1/src/api.rs index e0eeb218a2..97801ab003 100644 --- a/gen/appstate1/src/api.rs +++ b/gen/appstate1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AppState<> { AppState { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/appstate/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > AppState<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appstate1/src/client.rs b/gen/appstate1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/appstate1/src/client.rs +++ b/gen/appstate1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/appstate1/src/lib.rs b/gen/appstate1/src/lib.rs index 8b9e231fc4..42d5483436 100644 --- a/gen/appstate1/src/lib.rs +++ b/gen/appstate1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *App State* crate version *2.0.4+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *App State* crate version *2.0.5+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *App State* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/services/web/api/states). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-appstate1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/area120tables1_alpha1-cli/Cargo.toml b/gen/area120tables1_alpha1-cli/Cargo.toml index 2ab52df525..6b6983df69 100644 --- a/gen/area120tables1_alpha1-cli/Cargo.toml +++ b/gen/area120tables1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-area120tables1_alpha1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Area120 Tables (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/area120tables1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-area120tables1_alpha1] path = "../area120tables1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/area120tables1_alpha1-cli/README.md b/gen/area120tables1_alpha1-cli/README.md index a7d82b0f54..154cb0f613 100644 --- a/gen/area120tables1_alpha1-cli/README.md +++ b/gen/area120tables1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Area120 Tables* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Area120 Tables* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash area120tables1-alpha1 [options] diff --git a/gen/area120tables1_alpha1-cli/mkdocs.yml b/gen/area120tables1_alpha1-cli/mkdocs.yml index 9c5d8e2d06..125bae220a 100644 --- a/gen/area120tables1_alpha1-cli/mkdocs.yml +++ b/gen/area120tables1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Area120 Tables v2.0.4+20210330 +site_name: Area120 Tables v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-area120tables1_alpha1-cli site_description: A complete library to interact with Area120 Tables (protocol v1alpha1) diff --git a/gen/area120tables1_alpha1-cli/src/main.rs b/gen/area120tables1_alpha1-cli/src/main.rs index 373530f4b4..40fbf86d1f 100644 --- a/gen/area120tables1_alpha1-cli/src/main.rs +++ b/gen/area120tables1_alpha1-cli/src/main.rs @@ -1294,7 +1294,7 @@ async fn main() { let mut app = App::new("area120tables1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_area120tables1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/area120tables1_alpha1/Cargo.toml b/gen/area120tables1_alpha1/Cargo.toml index d24f4d9db9..976be2dbcb 100644 --- a/gen/area120tables1_alpha1/Cargo.toml +++ b/gen/area120tables1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-area120tables1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Area120 Tables (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/area120tables1_alpha1" homepage = "https://support.google.com/area120-tables/answer/10011390" -documentation = "https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330" +documentation = "https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330" license = "MIT" keywords = ["area120tables", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/area120tables1_alpha1/README.md b/gen/area120tables1_alpha1/README.md index f2ba886636..65c6167e76 100644 --- a/gen/area120tables1_alpha1/README.md +++ b/gen/area120tables1_alpha1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-area120tables1_alpha1` library allows access to all features of the *Google Area120 Tables* service. -This documentation was generated from *Area120 Tables* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Area120 Tables* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Area120 Tables* *v1_alpha1* API can be found at the [official documentation site](https://support.google.com/area120-tables/answer/10011390). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/Area120Tables) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/Area120Tables) ... -* [tables](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::Table) - * [*get*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableGetCall), [*list*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableListCall), [*rows batch create*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowBatchCreateCall), [*rows batch delete*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowBatchDeleteCall), [*rows batch update*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowBatchUpdateCall), [*rows create*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowCreateCall), [*rows delete*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowDeleteCall), [*rows get*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowGetCall), [*rows list*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowListCall) and [*rows patch*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::TableRowPatchCall) -* [workspaces](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::Workspace) - * [*get*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::WorkspaceGetCall) and [*list*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/api::WorkspaceListCall) +* [tables](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::Table) + * [*get*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableGetCall), [*list*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableListCall), [*rows batch create*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowBatchCreateCall), [*rows batch delete*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowBatchDeleteCall), [*rows batch update*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowBatchUpdateCall), [*rows create*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowCreateCall), [*rows delete*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowDeleteCall), [*rows get*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowGetCall), [*rows list*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowListCall) and [*rows patch*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::TableRowPatchCall) +* [workspaces](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::Workspace) + * [*get*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::WorkspaceGetCall) and [*list*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/api::WorkspaceListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/Area120Tables)** +* **[Hub](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/Area120Tables)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-area120tables1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Delegate), 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-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::CallBuilder) 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-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::Part) 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-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::CallBuilder), 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-area120tables1_alpha1/2.0.4+20210330/google_area120tables1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-area120tables1_alpha1/2.0.5+20210330/google_area120tables1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/area120tables1_alpha1/src/api.rs b/gen/area120tables1_alpha1/src/api.rs index e14d1c6323..6a1406d8dc 100644 --- a/gen/area120tables1_alpha1/src/api.rs +++ b/gen/area120tables1_alpha1/src/api.rs @@ -138,7 +138,7 @@ impl<'a, > Area120Tables<> { Area120Tables { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://area120tables.googleapis.com/".to_string(), _root_url: "https://area120tables.googleapis.com/".to_string(), } @@ -152,7 +152,7 @@ impl<'a, > Area120Tables<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/area120tables1_alpha1/src/client.rs b/gen/area120tables1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/area120tables1_alpha1/src/client.rs +++ b/gen/area120tables1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/area120tables1_alpha1/src/lib.rs b/gen/area120tables1_alpha1/src/lib.rs index cf778c2488..46c177000e 100644 --- a/gen/area120tables1_alpha1/src/lib.rs +++ b/gen/area120tables1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Area120 Tables* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Area120 Tables* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Area120 Tables* *v1_alpha1* API can be found at the //! [official documentation site](https://support.google.com/area120-tables/answer/10011390). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-area120tables1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/artifactregistry1-cli/Cargo.toml b/gen/artifactregistry1-cli/Cargo.toml index 62c656e6b7..fcb849d69b 100644 --- a/gen/artifactregistry1-cli/Cargo.toml +++ b/gen/artifactregistry1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-artifactregistry1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-artifactregistry1] path = "../artifactregistry1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/artifactregistry1-cli/README.md b/gen/artifactregistry1-cli/README.md index 0176bea9e3..52df3f410a 100644 --- a/gen/artifactregistry1-cli/README.md +++ b/gen/artifactregistry1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Artifact Registry* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Artifact Registry* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash artifactregistry1 [options] diff --git a/gen/artifactregistry1-cli/mkdocs.yml b/gen/artifactregistry1-cli/mkdocs.yml index 91a19c6776..f32ea46ff4 100644 --- a/gen/artifactregistry1-cli/mkdocs.yml +++ b/gen/artifactregistry1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Artifact Registry v2.0.4+20210324 +site_name: Artifact Registry v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-artifactregistry1-cli site_description: A complete library to interact with Artifact Registry (protocol v1) diff --git a/gen/artifactregistry1-cli/src/main.rs b/gen/artifactregistry1-cli/src/main.rs index 0065514824..a2887d2ed5 100644 --- a/gen/artifactregistry1-cli/src/main.rs +++ b/gen/artifactregistry1-cli/src/main.rs @@ -580,7 +580,7 @@ async fn main() { let mut app = App::new("artifactregistry1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_artifactregistry1_cli") .arg(Arg::with_name("url") diff --git a/gen/artifactregistry1/Cargo.toml b/gen/artifactregistry1/Cargo.toml index fd07d82914..7d08c9d25b 100644 --- a/gen/artifactregistry1/Cargo.toml +++ b/gen/artifactregistry1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-artifactregistry1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1" homepage = "https://cloud.google.com/artifacts/docs/" -documentation = "https://docs.rs/google-artifactregistry1/2.0.4+20210324" +documentation = "https://docs.rs/google-artifactregistry1/2.0.5+20210324" license = "MIT" keywords = ["artifactregistry", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/artifactregistry1/README.md b/gen/artifactregistry1/README.md index cec3898722..d0a0781469 100644 --- a/gen/artifactregistry1/README.md +++ b/gen/artifactregistry1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-artifactregistry1` library allows access to all features of the *Google Artifact Registry* service. -This documentation was generated from *Artifact Registry* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Artifact Registry* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Artifact Registry* *v1* API can be found at the [official documentation site](https://cloud.google.com/artifacts/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/ArtifactRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/ArtifactRegistry) ... -* [operations](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/api::Operation) - * [*cancel*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/api::OperationCancelCall), [*delete*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/api::OperationDeleteCall), [*get*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/api::OperationGetCall) and [*list*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/api::OperationListCall) +* [operations](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/api::Operation) + * [*cancel*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/api::OperationCancelCall), [*delete*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/api::OperationDeleteCall), [*get*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/api::OperationGetCall) and [*list*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/api::OperationListCall) * projects - * [*locations repositories docker images list*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageListCall) + * [*locations repositories docker images list*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/ArtifactRegistry)** +* **[Hub](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/ArtifactRegistry)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::CallBuilder) -* **[Resources](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::CallBuilder) +* **[Resources](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Part)** + * **[Parts](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-artifactregistry1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Delegate), 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-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Delegate) to the -[Method Builder](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Delegate) to the +[Method Builder](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::CallBuilder) 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-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Delegate) 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 [encodable](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::RequestValue) and -[decodable](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::RequestValue) and +[decodable](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::Part) 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-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::CallBuilder), 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-artifactregistry1/2.0.4+20210324/google_artifactregistry1/client::RequestValue) are moved +* [request values](https://docs.rs/google-artifactregistry1/2.0.5+20210324/google_artifactregistry1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/artifactregistry1/src/api.rs b/gen/artifactregistry1/src/api.rs index 81f9bd3697..c1533f315c 100644 --- a/gen/artifactregistry1/src/api.rs +++ b/gen/artifactregistry1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > ArtifactRegistry<> { ArtifactRegistry { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://artifactregistry.googleapis.com/".to_string(), _root_url: "https://artifactregistry.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > ArtifactRegistry<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/artifactregistry1/src/client.rs b/gen/artifactregistry1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/artifactregistry1/src/client.rs +++ b/gen/artifactregistry1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/artifactregistry1/src/lib.rs b/gen/artifactregistry1/src/lib.rs index 5a2fe2fa8e..54e3f114c1 100644 --- a/gen/artifactregistry1/src/lib.rs +++ b/gen/artifactregistry1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Artifact Registry* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Artifact Registry* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Artifact Registry* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/artifacts/docs/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-artifactregistry1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/artifactregistry1_beta1-cli/Cargo.toml b/gen/artifactregistry1_beta1-cli/Cargo.toml index 00286ac24a..0649ea71bf 100644 --- a/gen/artifactregistry1_beta1-cli/Cargo.toml +++ b/gen/artifactregistry1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-artifactregistry1_beta1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-artifactregistry1_beta1] path = "../artifactregistry1_beta1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/artifactregistry1_beta1-cli/README.md b/gen/artifactregistry1_beta1-cli/README.md index c093fb562e..90207dd3c4 100644 --- a/gen/artifactregistry1_beta1-cli/README.md +++ b/gen/artifactregistry1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Artifact Registry* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Artifact Registry* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash artifactregistry1-beta1 [options] diff --git a/gen/artifactregistry1_beta1-cli/mkdocs.yml b/gen/artifactregistry1_beta1-cli/mkdocs.yml index 871f500116..8df1362070 100644 --- a/gen/artifactregistry1_beta1-cli/mkdocs.yml +++ b/gen/artifactregistry1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Artifact Registry v2.0.4+20210324 +site_name: Artifact Registry v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-artifactregistry1_beta1-cli site_description: A complete library to interact with Artifact Registry (protocol v1beta1) diff --git a/gen/artifactregistry1_beta1-cli/src/main.rs b/gen/artifactregistry1_beta1-cli/src/main.rs index eaaa7477dd..931ff7bb97 100644 --- a/gen/artifactregistry1_beta1-cli/src/main.rs +++ b/gen/artifactregistry1_beta1-cli/src/main.rs @@ -2401,7 +2401,7 @@ async fn main() { let mut app = App::new("artifactregistry1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_artifactregistry1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/artifactregistry1_beta1/Cargo.toml b/gen/artifactregistry1_beta1/Cargo.toml index fb500ebb54..64325750e1 100644 --- a/gen/artifactregistry1_beta1/Cargo.toml +++ b/gen/artifactregistry1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-artifactregistry1_beta1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1_beta1" homepage = "https://cloud.google.com/artifacts/docs/" -documentation = "https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324" +documentation = "https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324" license = "MIT" keywords = ["artifactregistry", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/artifactregistry1_beta1/README.md b/gen/artifactregistry1_beta1/README.md index 5681b83f72..8e76a7a05d 100644 --- a/gen/artifactregistry1_beta1/README.md +++ b/gen/artifactregistry1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-artifactregistry1_beta1` library allows access to all features of the *Google Artifact Registry* service. -This documentation was generated from *Artifact Registry* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Artifact Registry* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Artifact Registry* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/artifacts/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/ArtifactRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/ArtifactRegistry) ... * projects - * [*locations get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationOperationListCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositorySetIamPolicyCall) and [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationOperationListCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositorySetIamPolicyCall) and [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/api::ProjectLocationRepositoryTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/ArtifactRegistry)** +* **[Hub](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/ArtifactRegistry)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-artifactregistry1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Delegate), 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-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::CallBuilder) 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-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::Part) 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-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::CallBuilder), 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-artifactregistry1_beta1/2.0.4+20210324/google_artifactregistry1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-artifactregistry1_beta1/2.0.5+20210324/google_artifactregistry1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/artifactregistry1_beta1/src/api.rs b/gen/artifactregistry1_beta1/src/api.rs index de9f347611..59387d4839 100644 --- a/gen/artifactregistry1_beta1/src/api.rs +++ b/gen/artifactregistry1_beta1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > ArtifactRegistry<> { ArtifactRegistry { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://artifactregistry.googleapis.com/".to_string(), _root_url: "https://artifactregistry.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > ArtifactRegistry<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/artifactregistry1_beta1/src/client.rs b/gen/artifactregistry1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/artifactregistry1_beta1/src/client.rs +++ b/gen/artifactregistry1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/artifactregistry1_beta1/src/lib.rs b/gen/artifactregistry1_beta1/src/lib.rs index 5977abf10e..e0e3796709 100644 --- a/gen/artifactregistry1_beta1/src/lib.rs +++ b/gen/artifactregistry1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Artifact Registry* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Artifact Registry* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Artifact Registry* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/artifacts/docs/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-artifactregistry1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/assuredworkloads1-cli/Cargo.toml b/gen/assuredworkloads1-cli/Cargo.toml index d2858358ec..ffe3cd48a6 100644 --- a/gen/assuredworkloads1-cli/Cargo.toml +++ b/gen/assuredworkloads1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-assuredworkloads1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Assuredworkloads (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/assuredworkloads1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-assuredworkloads1] path = "../assuredworkloads1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/assuredworkloads1-cli/README.md b/gen/assuredworkloads1-cli/README.md index 82b976dd9b..fbebf40f1a 100644 --- a/gen/assuredworkloads1-cli/README.md +++ b/gen/assuredworkloads1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Assuredworkloads* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Assuredworkloads* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash assuredworkloads1 [options] diff --git a/gen/assuredworkloads1-cli/mkdocs.yml b/gen/assuredworkloads1-cli/mkdocs.yml index 23bca99341..1dd5110c9c 100644 --- a/gen/assuredworkloads1-cli/mkdocs.yml +++ b/gen/assuredworkloads1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Assuredworkloads v2.0.4+20210325 +site_name: Assuredworkloads v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-assuredworkloads1-cli site_description: A complete library to interact with Assuredworkloads (protocol v1) diff --git a/gen/assuredworkloads1-cli/src/main.rs b/gen/assuredworkloads1-cli/src/main.rs index 273bb407af..13df2ab60f 100644 --- a/gen/assuredworkloads1-cli/src/main.rs +++ b/gen/assuredworkloads1-cli/src/main.rs @@ -799,7 +799,7 @@ async fn main() { let mut app = App::new("assuredworkloads1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_assuredworkloads1_cli") .arg(Arg::with_name("url") diff --git a/gen/assuredworkloads1/Cargo.toml b/gen/assuredworkloads1/Cargo.toml index 63a086469d..448f87ebbf 100644 --- a/gen/assuredworkloads1/Cargo.toml +++ b/gen/assuredworkloads1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-assuredworkloads1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Assuredworkloads (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/assuredworkloads1" homepage = "https://cloud.google.com" -documentation = "https://docs.rs/google-assuredworkloads1/2.0.4+20210325" +documentation = "https://docs.rs/google-assuredworkloads1/2.0.5+20210325" license = "MIT" keywords = ["assuredworkloads", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/assuredworkloads1/README.md b/gen/assuredworkloads1/README.md index f0901b405c..288b51b9f0 100644 --- a/gen/assuredworkloads1/README.md +++ b/gen/assuredworkloads1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-assuredworkloads1` library allows access to all features of the *Google Assuredworkloads* service. -This documentation was generated from *Assuredworkloads* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Assuredworkloads* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Assuredworkloads* *v1* API can be found at the [official documentation site](https://cloud.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/Assuredworkloads) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/Assuredworkloads) ... * organizations - * [*locations operations get*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationOperationListCall), [*locations workloads create*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadCreateCall), [*locations workloads delete*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadDeleteCall), [*locations workloads get*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadGetCall), [*locations workloads list*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadListCall) and [*locations workloads patch*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadPatchCall) + * [*locations operations get*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationOperationListCall), [*locations workloads create*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadCreateCall), [*locations workloads delete*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadDeleteCall), [*locations workloads get*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadGetCall), [*locations workloads list*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadListCall) and [*locations workloads patch*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/api::OrganizationLocationWorkloadPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/Assuredworkloads)** +* **[Hub](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/Assuredworkloads)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::CallBuilder) -* **[Resources](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::CallBuilder) +* **[Resources](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Part)** + * **[Parts](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-assuredworkloads1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Delegate), 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-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Delegate) to the -[Method Builder](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Delegate) to the +[Method Builder](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::CallBuilder) 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-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Delegate) 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 [encodable](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::RequestValue) and -[decodable](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::RequestValue) and +[decodable](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::Part) 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-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::CallBuilder), 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-assuredworkloads1/2.0.4+20210325/google_assuredworkloads1/client::RequestValue) are moved +* [request values](https://docs.rs/google-assuredworkloads1/2.0.5+20210325/google_assuredworkloads1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/assuredworkloads1/src/api.rs b/gen/assuredworkloads1/src/api.rs index c1a36aeb5f..05e2e4e0f3 100644 --- a/gen/assuredworkloads1/src/api.rs +++ b/gen/assuredworkloads1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Assuredworkloads<> { Assuredworkloads { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://assuredworkloads.googleapis.com/".to_string(), _root_url: "https://assuredworkloads.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Assuredworkloads<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/assuredworkloads1/src/client.rs b/gen/assuredworkloads1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/assuredworkloads1/src/client.rs +++ b/gen/assuredworkloads1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/assuredworkloads1/src/lib.rs b/gen/assuredworkloads1/src/lib.rs index 12ba2833be..d6999d0697 100644 --- a/gen/assuredworkloads1/src/lib.rs +++ b/gen/assuredworkloads1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Assuredworkloads* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Assuredworkloads* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Assuredworkloads* *v1* API can be found at the //! [official documentation site](https://cloud.google.com). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-assuredworkloads1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/autoscaler1_beta2-cli/Cargo.toml b/gen/autoscaler1_beta2-cli/Cargo.toml index 7dc9e88488..103b24a66a 100644 --- a/gen/autoscaler1_beta2-cli/Cargo.toml +++ b/gen/autoscaler1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-autoscaler1_beta2-cli" -version = "2.0.4+20150629" +version = "2.0.5+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/autoscaler1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-autoscaler1_beta2] path = "../autoscaler1_beta2" -version = "2.0.4+20150629" +version = "2.0.5+20150629" diff --git a/gen/autoscaler1_beta2-cli/README.md b/gen/autoscaler1_beta2-cli/README.md index 473665c95f..d2ded53736 100644 --- a/gen/autoscaler1_beta2-cli/README.md +++ b/gen/autoscaler1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *2.0.4*. +This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *2.0.5*. ```bash autoscaler1-beta2 [options] diff --git a/gen/autoscaler1_beta2-cli/mkdocs.yml b/gen/autoscaler1_beta2-cli/mkdocs.yml index 39a4fc4fcd..b4f9fcf73b 100644 --- a/gen/autoscaler1_beta2-cli/mkdocs.yml +++ b/gen/autoscaler1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: autoscaler v2.0.4+20150629 +site_name: autoscaler v2.0.5+20150629 site_url: http://byron.github.io/google-apis-rs/google-autoscaler1_beta2-cli site_description: A complete library to interact with autoscaler (protocol v1beta2) diff --git a/gen/autoscaler1_beta2-cli/src/main.rs b/gen/autoscaler1_beta2-cli/src/main.rs index 4a6b988f2f..344a9efa53 100644 --- a/gen/autoscaler1_beta2-cli/src/main.rs +++ b/gen/autoscaler1_beta2-cli/src/main.rs @@ -1177,7 +1177,7 @@ async fn main() { let mut app = App::new("autoscaler1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20150629") + .version("2.0.5+20150629") .about("The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_autoscaler1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/autoscaler1_beta2/Cargo.toml b/gen/autoscaler1_beta2/Cargo.toml index beb4f99316..54258d4de4 100644 --- a/gen/autoscaler1_beta2/Cargo.toml +++ b/gen/autoscaler1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-autoscaler1_beta2" -version = "2.0.4+20150629" +version = "2.0.5+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/autoscaler1_beta2" homepage = "http://developers.google.com/compute/docs/autoscaler" -documentation = "https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629" +documentation = "https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629" license = "MIT" keywords = ["autoscaler", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/autoscaler1_beta2/README.md b/gen/autoscaler1_beta2/README.md index fa0d151fb6..32f07c5260 100644 --- a/gen/autoscaler1_beta2/README.md +++ b/gen/autoscaler1_beta2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-autoscaler1_beta2` library allows access to all features of the *Google autoscaler* service. -This documentation was generated from *autoscaler* crate version *2.0.4+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *autoscaler* crate version *2.0.5+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *autoscaler* *v1_beta2* API can be found at the [official documentation site](http://developers.google.com/compute/docs/autoscaler). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/AutoscalerHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/AutoscalerHub) ... -* [autoscalers](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::Autoscaler) - * [*delete*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::AutoscalerListCall), [*patch*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::AutoscalerUpdateCall) +* [autoscalers](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::Autoscaler) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::AutoscalerListCall), [*patch*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::AutoscalerUpdateCall) * zone operations - * [*delete*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::ZoneOperationListCall) -* [zones](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::Zone) - * [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/api::ZoneListCall) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::ZoneOperationListCall) +* [zones](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::Zone) + * [*list*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/api::ZoneListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/AutoscalerHub)** +* **[Hub](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/AutoscalerHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-autoscaler1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-autoscaler1_beta2/2.0.4+20150629/google_autoscaler1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-autoscaler1_beta2/2.0.5+20150629/google_autoscaler1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/autoscaler1_beta2/src/api.rs b/gen/autoscaler1_beta2/src/api.rs index 859976cc4b..bd870c2e98 100644 --- a/gen/autoscaler1_beta2/src/api.rs +++ b/gen/autoscaler1_beta2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AutoscalerHub<> { AutoscalerHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/autoscaler/v1beta2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > AutoscalerHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/autoscaler1_beta2/src/client.rs b/gen/autoscaler1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/autoscaler1_beta2/src/client.rs +++ b/gen/autoscaler1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/autoscaler1_beta2/src/lib.rs b/gen/autoscaler1_beta2/src/lib.rs index 84d0d0751c..0473aede4b 100644 --- a/gen/autoscaler1_beta2/src/lib.rs +++ b/gen/autoscaler1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *autoscaler* crate version *2.0.4+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *autoscaler* crate version *2.0.5+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *autoscaler* *v1_beta2* API can be found at the //! [official documentation site](http://developers.google.com/compute/docs/autoscaler). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-autoscaler1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/bigquery2-cli/Cargo.toml b/gen/bigquery2-cli/Cargo.toml index ee689378f9..470a292f6f 100644 --- a/gen/bigquery2-cli/Cargo.toml +++ b/gen/bigquery2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquery2-cli" -version = "2.0.4+20210327" +version = "2.0.5+20210327" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquery2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigquery2] path = "../bigquery2" -version = "2.0.4+20210327" +version = "2.0.5+20210327" diff --git a/gen/bigquery2-cli/README.md b/gen/bigquery2-cli/README.md index a322e8ad7d..77a461a359 100644 --- a/gen/bigquery2-cli/README.md +++ b/gen/bigquery2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *bigquery* API at revision *20210327*. The CLI is at version *2.0.4*. +This documentation was generated from the *bigquery* API at revision *20210327*. The CLI is at version *2.0.5*. ```bash bigquery2 [options] diff --git a/gen/bigquery2-cli/mkdocs.yml b/gen/bigquery2-cli/mkdocs.yml index beef1aac0d..5374c2d0c8 100644 --- a/gen/bigquery2-cli/mkdocs.yml +++ b/gen/bigquery2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: bigquery v2.0.4+20210327 +site_name: bigquery v2.0.5+20210327 site_url: http://byron.github.io/google-apis-rs/google-bigquery2-cli site_description: A complete library to interact with bigquery (protocol v2) diff --git a/gen/bigquery2-cli/src/main.rs b/gen/bigquery2-cli/src/main.rs index 43325c843c..0544959326 100644 --- a/gen/bigquery2-cli/src/main.rs +++ b/gen/bigquery2-cli/src/main.rs @@ -4675,7 +4675,7 @@ async fn main() { let mut app = App::new("bigquery2") .author("Sebastian Thiel ") - .version("2.0.4+20210327") + .version("2.0.5+20210327") .about("A data platform for customers to create, manage, share and query data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigquery2_cli") .arg(Arg::with_name("url") diff --git a/gen/bigquery2/Cargo.toml b/gen/bigquery2/Cargo.toml index 14641cfe66..8eea078938 100644 --- a/gen/bigquery2/Cargo.toml +++ b/gen/bigquery2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquery2" -version = "2.0.4+20210327" +version = "2.0.5+20210327" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquery2" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigquery2/2.0.4+20210327" +documentation = "https://docs.rs/google-bigquery2/2.0.5+20210327" license = "MIT" keywords = ["bigquery", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigquery2/README.md b/gen/bigquery2/README.md index a7fabfe545..086faf97bd 100644 --- a/gen/bigquery2/README.md +++ b/gen/bigquery2/README.md @@ -5,35 +5,35 @@ DO NOT EDIT ! --> The `google-bigquery2` library allows access to all features of the *Google bigquery* service. -This documentation was generated from *bigquery* crate version *2.0.4+20210327*, where *20210327* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *bigquery* crate version *2.0.5+20210327*, where *20210327* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *bigquery* *v2* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/Bigquery) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/Bigquery) ... -* [datasets](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::Dataset) - * [*delete*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::DatasetDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::DatasetGetCall), [*insert*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::DatasetInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::DatasetListCall), [*patch*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::DatasetPatchCall) and [*update*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::DatasetUpdateCall) -* [jobs](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::Job) - * [*cancel*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobCancelCall), [*delete*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobGetCall), [*get query results*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobGetQueryResultCall), [*insert*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobListCall) and [*query*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobQueryCall) -* [models](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::Model) - * [*delete*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::ModelDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::ModelGetCall), [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::ModelListCall) and [*patch*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::ModelPatchCall) +* [datasets](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::Dataset) + * [*delete*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::DatasetDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::DatasetGetCall), [*insert*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::DatasetInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::DatasetListCall), [*patch*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::DatasetPatchCall) and [*update*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::DatasetUpdateCall) +* [jobs](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::Job) + * [*cancel*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobCancelCall), [*delete*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobGetCall), [*get query results*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobGetQueryResultCall), [*insert*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobListCall) and [*query*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobQueryCall) +* [models](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::Model) + * [*delete*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::ModelDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::ModelGetCall), [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::ModelListCall) and [*patch*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::ModelPatchCall) * projects - * [*get service account*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::ProjectGetServiceAccountCall) and [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::ProjectListCall) -* [routines](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::Routine) - * [*delete*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RoutineDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RoutineGetCall), [*insert*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RoutineInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RoutineListCall) and [*update*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RoutineUpdateCall) -* [row access policies](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RowAccessPolicy) - * [*get iam policy*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RowAccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RowAccessPolicyListCall), [*set iam policy*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RowAccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::RowAccessPolicyTestIamPermissionCall) + * [*get service account*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::ProjectGetServiceAccountCall) and [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::ProjectListCall) +* [routines](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::Routine) + * [*delete*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RoutineDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RoutineGetCall), [*insert*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RoutineInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RoutineListCall) and [*update*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RoutineUpdateCall) +* [row access policies](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RowAccessPolicy) + * [*get iam policy*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RowAccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RowAccessPolicyListCall), [*set iam policy*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RowAccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::RowAccessPolicyTestIamPermissionCall) * tabledata - * [*insert all*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TabledataInsertAllCall) and [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TabledataListCall) -* [tables](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::Table) - * [*delete*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableGetCall), [*get iam policy*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableGetIamPolicyCall), [*insert*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableListCall), [*patch*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TablePatchCall), [*set iam policy*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableTestIamPermissionCall) and [*update*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::TableUpdateCall) + * [*insert all*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TabledataInsertAllCall) and [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TabledataListCall) +* [tables](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::Table) + * [*delete*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableDeleteCall), [*get*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableGetCall), [*get iam policy*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableGetIamPolicyCall), [*insert*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableInsertCall), [*list*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableListCall), [*patch*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TablePatchCall), [*set iam policy*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableTestIamPermissionCall) and [*update*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::TableUpdateCall) Upload supported by ... -* [*insert jobs*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/api::JobInsertCall) +* [*insert jobs*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/api::JobInsertCall) @@ -41,17 +41,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/Bigquery)** +* **[Hub](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/Bigquery)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Part)** + * **[Parts](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,9 +90,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-bigquery2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Delegate) 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 [encodable](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::RequestValue) and -[decodable](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::RequestValue) and +[decodable](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-bigquery2/2.0.4+20210327/google_bigquery2/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigquery2/2.0.5+20210327/google_bigquery2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigquery2/src/api.rs b/gen/bigquery2/src/api.rs index 342d21bcd0..6057322306 100644 --- a/gen/bigquery2/src/api.rs +++ b/gen/bigquery2/src/api.rs @@ -143,7 +143,7 @@ impl<'a, > Bigquery<> { Bigquery { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://bigquery.googleapis.com/bigquery/v2/".to_string(), _root_url: "https://bigquery.googleapis.com/".to_string(), } @@ -175,7 +175,7 @@ impl<'a, > Bigquery<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -8092,7 +8092,6 @@ impl<'a> JobInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/bigquery2/src/client.rs b/gen/bigquery2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/bigquery2/src/client.rs +++ b/gen/bigquery2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs index a44144586e..4dc5b1168a 100644 --- a/gen/bigquery2/src/lib.rs +++ b/gen/bigquery2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *bigquery* crate version *2.0.4+20210327*, where *20210327* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *bigquery* crate version *2.0.5+20210327*, where *20210327* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *bigquery* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -90,9 +90,6 @@ //! ```toml //! [dependencies] //! google-bigquery2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/bigqueryconnection1_beta1-cli/Cargo.toml b/gen/bigqueryconnection1_beta1-cli/Cargo.toml index 74de8a1452..3f6568281e 100644 --- a/gen/bigqueryconnection1_beta1-cli/Cargo.toml +++ b/gen/bigqueryconnection1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigqueryconnection1_beta1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Connection Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryconnection1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigqueryconnection1_beta1] path = "../bigqueryconnection1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/bigqueryconnection1_beta1-cli/README.md b/gen/bigqueryconnection1_beta1-cli/README.md index 192be73c58..8a01dbfcd2 100644 --- a/gen/bigqueryconnection1_beta1-cli/README.md +++ b/gen/bigqueryconnection1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *BigQuery Connection Service* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *BigQuery Connection Service* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash bigqueryconnection1-beta1 [options] diff --git a/gen/bigqueryconnection1_beta1-cli/mkdocs.yml b/gen/bigqueryconnection1_beta1-cli/mkdocs.yml index 020600ab15..80a4c538b6 100644 --- a/gen/bigqueryconnection1_beta1-cli/mkdocs.yml +++ b/gen/bigqueryconnection1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Connection Service v2.0.4+20210326 +site_name: BigQuery Connection Service v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-bigqueryconnection1_beta1-cli site_description: A complete library to interact with BigQuery Connection Service (protocol v1beta1) diff --git a/gen/bigqueryconnection1_beta1-cli/src/main.rs b/gen/bigqueryconnection1_beta1-cli/src/main.rs index 5ad3f32c63..7d9efc839f 100644 --- a/gen/bigqueryconnection1_beta1-cli/src/main.rs +++ b/gen/bigqueryconnection1_beta1-cli/src/main.rs @@ -1097,7 +1097,7 @@ async fn main() { let mut app = App::new("bigqueryconnection1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Allows users to manage BigQuery connections to external data sources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigqueryconnection1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/bigqueryconnection1_beta1/Cargo.toml b/gen/bigqueryconnection1_beta1/Cargo.toml index 4473062895..3ce8df28d6 100644 --- a/gen/bigqueryconnection1_beta1/Cargo.toml +++ b/gen/bigqueryconnection1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigqueryconnection1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Connection Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryconnection1_beta1" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326" +documentation = "https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326" license = "MIT" keywords = ["bigqueryconnection", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigqueryconnection1_beta1/README.md b/gen/bigqueryconnection1_beta1/README.md index 1920d8fe63..e224bdaa8d 100644 --- a/gen/bigqueryconnection1_beta1/README.md +++ b/gen/bigqueryconnection1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-bigqueryconnection1_beta1` library allows access to all features of the *Google BigQuery Connection Service* service. -This documentation was generated from *BigQuery Connection Service* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *BigQuery Connection Service* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *BigQuery Connection Service* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService) ... * projects - * [*locations connections create*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetCall), [*locations connections get iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionPatchCall), [*locations connections set iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionTestIamPermissionCall) and [*locations connections update credential*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionUpdateCredentialCall) + * [*locations connections create*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetCall), [*locations connections get iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionPatchCall), [*locations connections set iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionTestIamPermissionCall) and [*locations connections update credential*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionUpdateCredentialCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService)** +* **[Hub](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/BigQueryConnectionService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-bigqueryconnection1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Delegate), 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-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::CallBuilder) 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-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::Part) 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-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::CallBuilder), 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-bigqueryconnection1_beta1/2.0.4+20210326/google_bigqueryconnection1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigqueryconnection1_beta1/2.0.5+20210326/google_bigqueryconnection1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigqueryconnection1_beta1/src/api.rs b/gen/bigqueryconnection1_beta1/src/api.rs index 4f1ec9bbff..7912e4cd31 100644 --- a/gen/bigqueryconnection1_beta1/src/api.rs +++ b/gen/bigqueryconnection1_beta1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > BigQueryConnectionService<> { BigQueryConnectionService { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://bigqueryconnection.googleapis.com/".to_string(), _root_url: "https://bigqueryconnection.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > BigQueryConnectionService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigqueryconnection1_beta1/src/client.rs b/gen/bigqueryconnection1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/bigqueryconnection1_beta1/src/client.rs +++ b/gen/bigqueryconnection1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/bigqueryconnection1_beta1/src/lib.rs b/gen/bigqueryconnection1_beta1/src/lib.rs index e36c6fdc6f..9be3ab0134 100644 --- a/gen/bigqueryconnection1_beta1/src/lib.rs +++ b/gen/bigqueryconnection1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *BigQuery Connection Service* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *BigQuery Connection Service* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *BigQuery Connection Service* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-bigqueryconnection1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/bigquerydatatransfer1-cli/Cargo.toml b/gen/bigquerydatatransfer1-cli/Cargo.toml index f6e4dc885a..f4523e1a7f 100644 --- a/gen/bigquerydatatransfer1-cli/Cargo.toml +++ b/gen/bigquerydatatransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquerydatatransfer1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Data Transfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquerydatatransfer1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigquerydatatransfer1] path = "../bigquerydatatransfer1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/bigquerydatatransfer1-cli/README.md b/gen/bigquerydatatransfer1-cli/README.md index 88bcf99d30..b43ba4240f 100644 --- a/gen/bigquerydatatransfer1-cli/README.md +++ b/gen/bigquerydatatransfer1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *BigQuery Data Transfer* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *BigQuery Data Transfer* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash bigquerydatatransfer1 [options] diff --git a/gen/bigquerydatatransfer1-cli/mkdocs.yml b/gen/bigquerydatatransfer1-cli/mkdocs.yml index 628c6ad5e5..8663281c57 100644 --- a/gen/bigquerydatatransfer1-cli/mkdocs.yml +++ b/gen/bigquerydatatransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Data Transfer v2.0.4+20210324 +site_name: BigQuery Data Transfer v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-bigquerydatatransfer1-cli site_description: A complete library to interact with BigQuery Data Transfer (protocol v1) diff --git a/gen/bigquerydatatransfer1-cli/src/main.rs b/gen/bigquerydatatransfer1-cli/src/main.rs index 488c41061b..cb0db502af 100644 --- a/gen/bigquerydatatransfer1-cli/src/main.rs +++ b/gen/bigquerydatatransfer1-cli/src/main.rs @@ -3036,7 +3036,7 @@ async fn main() { let mut app = App::new("bigquerydatatransfer1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigquerydatatransfer1_cli") .arg(Arg::with_name("url") diff --git a/gen/bigquerydatatransfer1/Cargo.toml b/gen/bigquerydatatransfer1/Cargo.toml index 28722308d8..cb451d36ab 100644 --- a/gen/bigquerydatatransfer1/Cargo.toml +++ b/gen/bigquerydatatransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquerydatatransfer1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Data Transfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquerydatatransfer1" homepage = "https://cloud.google.com/bigquery-transfer/" -documentation = "https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324" +documentation = "https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324" license = "MIT" keywords = ["bigquerydatatransfer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigquerydatatransfer1/README.md b/gen/bigquerydatatransfer1/README.md index 612d92932b..1943c6899f 100644 --- a/gen/bigquerydatatransfer1/README.md +++ b/gen/bigquerydatatransfer1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-bigquerydatatransfer1` library allows access to all features of the *Google BigQuery Data Transfer* service. -This documentation was generated from *BigQuery Data Transfer* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *BigQuery Data Transfer* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *BigQuery Data Transfer* *v1* API can be found at the [official documentation site](https://cloud.google.com/bigquery-transfer/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer) ... * projects - * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceCheckValidCredCall), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceGetCall), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceListCall), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceCheckValidCredCall), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceGetCall), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceListCall), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationListCall), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigCreateCall), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigDeleteCall), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigGetCall), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigListCall), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigPatchCall), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunDeleteCall), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunGetCall), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunListCall), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunTransferLogListCall), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigScheduleRunCall), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigStartManualRunCall), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigCreateCall), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigDeleteCall), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigGetCall), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigListCall), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigPatchCall), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunDeleteCall), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunGetCall), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunListCall), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunTransferLogListCall), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigScheduleRunCall) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigStartManualRunCall) + * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceCheckValidCredCall), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceGetCall), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectDataSourceListCall), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceCheckValidCredCall), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceGetCall), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationDataSourceListCall), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationListCall), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigCreateCall), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigDeleteCall), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigGetCall), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigListCall), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigPatchCall), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunDeleteCall), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunGetCall), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunListCall), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunTransferLogListCall), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigScheduleRunCall), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigStartManualRunCall), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigCreateCall), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigDeleteCall), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigGetCall), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigListCall), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigPatchCall), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunDeleteCall), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunGetCall), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunListCall), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigRunTransferLogListCall), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigScheduleRunCall) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/api::ProjectTransferConfigStartManualRunCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer)** +* **[Hub](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/BigQueryDataTransfer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Part)** + * **[Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-bigquerydatatransfer1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Delegate), 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-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::CallBuilder) 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-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Delegate) 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 [encodable](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::RequestValue) and -[decodable](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::RequestValue) and +[decodable](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::Part) 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-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::CallBuilder), 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-bigquerydatatransfer1/2.0.4+20210324/google_bigquerydatatransfer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigquerydatatransfer1/2.0.5+20210324/google_bigquerydatatransfer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigquerydatatransfer1/src/api.rs b/gen/bigquerydatatransfer1/src/api.rs index 815c940e90..5c0d2dbc7d 100644 --- a/gen/bigquerydatatransfer1/src/api.rs +++ b/gen/bigquerydatatransfer1/src/api.rs @@ -136,7 +136,7 @@ impl<'a, > BigQueryDataTransfer<> { BigQueryDataTransfer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://bigquerydatatransfer.googleapis.com/".to_string(), _root_url: "https://bigquerydatatransfer.googleapis.com/".to_string(), } @@ -147,7 +147,7 @@ impl<'a, > BigQueryDataTransfer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigquerydatatransfer1/src/client.rs b/gen/bigquerydatatransfer1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/bigquerydatatransfer1/src/client.rs +++ b/gen/bigquerydatatransfer1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/bigquerydatatransfer1/src/lib.rs b/gen/bigquerydatatransfer1/src/lib.rs index 6d7abfd3fb..5e2bcfb31b 100644 --- a/gen/bigquerydatatransfer1/src/lib.rs +++ b/gen/bigquerydatatransfer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *BigQuery Data Transfer* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *BigQuery Data Transfer* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *BigQuery Data Transfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery-transfer/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-bigquerydatatransfer1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/bigqueryreservation1-cli/Cargo.toml b/gen/bigqueryreservation1-cli/Cargo.toml index e51d3c214e..ac140f0d59 100644 --- a/gen/bigqueryreservation1-cli/Cargo.toml +++ b/gen/bigqueryreservation1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigqueryreservation1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Reservation (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryreservation1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigqueryreservation1] path = "../bigqueryreservation1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/bigqueryreservation1-cli/README.md b/gen/bigqueryreservation1-cli/README.md index 59907bc970..94d9e5ecfd 100644 --- a/gen/bigqueryreservation1-cli/README.md +++ b/gen/bigqueryreservation1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *BigQuery Reservation* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *BigQuery Reservation* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash bigqueryreservation1 [options] diff --git a/gen/bigqueryreservation1-cli/mkdocs.yml b/gen/bigqueryreservation1-cli/mkdocs.yml index c85d2aaecf..10139c12a3 100644 --- a/gen/bigqueryreservation1-cli/mkdocs.yml +++ b/gen/bigqueryreservation1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Reservation v2.0.4+20210324 +site_name: BigQuery Reservation v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-bigqueryreservation1-cli site_description: A complete library to interact with BigQuery Reservation (protocol v1) diff --git a/gen/bigqueryreservation1-cli/src/main.rs b/gen/bigqueryreservation1-cli/src/main.rs index 65bc05a7a4..b7cf7ea238 100644 --- a/gen/bigqueryreservation1-cli/src/main.rs +++ b/gen/bigqueryreservation1-cli/src/main.rs @@ -2113,7 +2113,7 @@ async fn main() { let mut app = App::new("bigqueryreservation1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("A service to modify your BigQuery flat-rate reservations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigqueryreservation1_cli") .arg(Arg::with_name("url") diff --git a/gen/bigqueryreservation1/Cargo.toml b/gen/bigqueryreservation1/Cargo.toml index c4befcb22b..5b422b86eb 100644 --- a/gen/bigqueryreservation1/Cargo.toml +++ b/gen/bigqueryreservation1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigqueryreservation1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Reservation (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryreservation1" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigqueryreservation1/2.0.4+20210324" +documentation = "https://docs.rs/google-bigqueryreservation1/2.0.5+20210324" license = "MIT" keywords = ["bigqueryreservation", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigqueryreservation1/README.md b/gen/bigqueryreservation1/README.md index c5ab8c501a..b5cd136be5 100644 --- a/gen/bigqueryreservation1/README.md +++ b/gen/bigqueryreservation1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-bigqueryreservation1` library allows access to all features of the *Google BigQuery Reservation* service. -This documentation was generated from *BigQuery Reservation* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *BigQuery Reservation* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *BigQuery Reservation* *v1* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/BigQueryReservation) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/BigQueryReservation) ... * projects - * [*locations capacity commitments create*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentCreateCall), [*locations capacity commitments delete*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentDeleteCall), [*locations capacity commitments get*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentGetCall), [*locations capacity commitments list*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentListCall), [*locations capacity commitments merge*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentMergeCall), [*locations capacity commitments patch*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentPatchCall), [*locations capacity commitments split*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentSplitCall), [*locations get bi reservation*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationGetBiReservationCall), [*locations reservations assignments create*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentCreateCall), [*locations reservations assignments delete*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentDeleteCall), [*locations reservations assignments list*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentListCall), [*locations reservations assignments move*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentMoveCall), [*locations reservations create*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationCreateCall), [*locations reservations delete*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationDeleteCall), [*locations reservations get*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationGetCall), [*locations reservations list*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationListCall), [*locations reservations patch*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationReservationPatchCall), [*locations search all assignments*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationSearchAllAssignmentCall), [*locations search assignments*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationSearchAssignmentCall) and [*locations update bi reservation*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/api::ProjectLocationUpdateBiReservationCall) + * [*locations capacity commitments create*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentCreateCall), [*locations capacity commitments delete*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentDeleteCall), [*locations capacity commitments get*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentGetCall), [*locations capacity commitments list*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentListCall), [*locations capacity commitments merge*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentMergeCall), [*locations capacity commitments patch*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentPatchCall), [*locations capacity commitments split*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentSplitCall), [*locations get bi reservation*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationGetBiReservationCall), [*locations reservations assignments create*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentCreateCall), [*locations reservations assignments delete*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentDeleteCall), [*locations reservations assignments list*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentListCall), [*locations reservations assignments move*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentMoveCall), [*locations reservations create*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationCreateCall), [*locations reservations delete*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationDeleteCall), [*locations reservations get*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationGetCall), [*locations reservations list*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationListCall), [*locations reservations patch*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationReservationPatchCall), [*locations search all assignments*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationSearchAllAssignmentCall), [*locations search assignments*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationSearchAssignmentCall) and [*locations update bi reservation*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/api::ProjectLocationUpdateBiReservationCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/BigQueryReservation)** +* **[Hub](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/BigQueryReservation)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Part)** + * **[Parts](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-bigqueryreservation1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Delegate), 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-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::CallBuilder) 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-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Delegate) 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 [encodable](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::RequestValue) and -[decodable](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::RequestValue) and +[decodable](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::Part) 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-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::CallBuilder), 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-bigqueryreservation1/2.0.4+20210324/google_bigqueryreservation1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigqueryreservation1/2.0.5+20210324/google_bigqueryreservation1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigqueryreservation1/src/api.rs b/gen/bigqueryreservation1/src/api.rs index a01579816a..d1f9e67c0e 100644 --- a/gen/bigqueryreservation1/src/api.rs +++ b/gen/bigqueryreservation1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > BigQueryReservation<> { BigQueryReservation { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://bigqueryreservation.googleapis.com/".to_string(), _root_url: "https://bigqueryreservation.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > BigQueryReservation<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigqueryreservation1/src/client.rs b/gen/bigqueryreservation1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/bigqueryreservation1/src/client.rs +++ b/gen/bigqueryreservation1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/bigqueryreservation1/src/lib.rs b/gen/bigqueryreservation1/src/lib.rs index 07400507d9..9021681285 100644 --- a/gen/bigqueryreservation1/src/lib.rs +++ b/gen/bigqueryreservation1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *BigQuery Reservation* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *BigQuery Reservation* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *BigQuery Reservation* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-bigqueryreservation1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/bigtableadmin2-cli/Cargo.toml b/gen/bigtableadmin2-cli/Cargo.toml index b3375471e0..f8e80a4cad 100644 --- a/gen/bigtableadmin2-cli/Cargo.toml +++ b/gen/bigtableadmin2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigtableadmin2-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Bigtable Admin (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigtableadmin2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigtableadmin2] path = "../bigtableadmin2" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/bigtableadmin2-cli/README.md b/gen/bigtableadmin2-cli/README.md index 6050da042b..6bdb33b11f 100644 --- a/gen/bigtableadmin2-cli/README.md +++ b/gen/bigtableadmin2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Bigtable Admin* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Bigtable Admin* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash bigtableadmin2 [options] diff --git a/gen/bigtableadmin2-cli/mkdocs.yml b/gen/bigtableadmin2-cli/mkdocs.yml index 8a8845bf74..52873a3c27 100644 --- a/gen/bigtableadmin2-cli/mkdocs.yml +++ b/gen/bigtableadmin2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Bigtable Admin v2.0.4+20210323 +site_name: Bigtable Admin v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-bigtableadmin2-cli site_description: A complete library to interact with Bigtable Admin (protocol v2) diff --git a/gen/bigtableadmin2-cli/src/main.rs b/gen/bigtableadmin2-cli/src/main.rs index 1ad96632a5..6b0b01d66d 100644 --- a/gen/bigtableadmin2-cli/src/main.rs +++ b/gen/bigtableadmin2-cli/src/main.rs @@ -4705,7 +4705,7 @@ async fn main() { let mut app = App::new("bigtableadmin2") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("Administer your Cloud Bigtable tables and instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigtableadmin2_cli") .arg(Arg::with_name("url") diff --git a/gen/bigtableadmin2/Cargo.toml b/gen/bigtableadmin2/Cargo.toml index f036c70628..edf8818c4e 100644 --- a/gen/bigtableadmin2/Cargo.toml +++ b/gen/bigtableadmin2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigtableadmin2" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Bigtable Admin (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigtableadmin2" homepage = "https://cloud.google.com/bigtable/" -documentation = "https://docs.rs/google-bigtableadmin2/2.0.4+20210323" +documentation = "https://docs.rs/google-bigtableadmin2/2.0.5+20210323" license = "MIT" keywords = ["bigtableadmin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/bigtableadmin2/README.md b/gen/bigtableadmin2/README.md index 473ea6ca42..144c7e442c 100644 --- a/gen/bigtableadmin2/README.md +++ b/gen/bigtableadmin2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-bigtableadmin2` library allows access to all features of the *Google Bigtable Admin* service. -This documentation was generated from *Bigtable Admin* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Bigtable Admin* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Bigtable Admin* *v2* API can be found at the [official documentation site](https://cloud.google.com/bigtable/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/BigtableAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/BigtableAdmin) ... -* [operations](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::Operation) - * [*cancel*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::OperationCancelCall), [*delete*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::OperationDeleteCall), [*get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::OperationGetCall) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::OperationProjectOperationListCall) +* [operations](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::Operation) + * [*cancel*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::OperationCancelCall), [*delete*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::OperationDeleteCall), [*get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::OperationGetCall) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::OperationProjectOperationListCall) * projects - * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileCreateCall), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileDeleteCall), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileGetCall), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileListCall), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfilePatchCall), [*instances clusters backups create*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupCreateCall), [*instances clusters backups delete*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupDeleteCall), [*instances clusters backups get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetCall), [*instances clusters backups get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetIamPolicyCall), [*instances clusters backups list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupListCall), [*instances clusters backups patch*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupPatchCall), [*instances clusters backups set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupSetIamPolicyCall), [*instances clusters backups test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupTestIamPermissionCall), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterCreateCall), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterDeleteCall), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterGetCall), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterListCall), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceClusterUpdateCall), [*instances create*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceCreateCall), [*instances delete*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceDeleteCall), [*instances get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceGetCall), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceGetIamPolicyCall), [*instances list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceListCall), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstancePartialUpdateInstanceCall), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceSetIamPolicyCall), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableCheckConsistencyCall), [*instances tables create*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableCreateCall), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableDeleteCall), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableDropRowRangeCall), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableGenerateConsistencyTokenCall), [*instances tables get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableGetCall), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableGetIamPolicyCall), [*instances tables list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableListCall), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableModifyColumnFamilyCall), [*instances tables restore*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableRestoreCall), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableSetIamPolicyCall), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTableTestIamPermissionCall), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceTestIamPermissionCall), [*instances update*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectInstanceUpdateCall), [*locations get*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/api::ProjectLocationListCall) + * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileCreateCall), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileDeleteCall), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileGetCall), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfileListCall), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceAppProfilePatchCall), [*instances clusters backups create*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupCreateCall), [*instances clusters backups delete*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupDeleteCall), [*instances clusters backups get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetCall), [*instances clusters backups get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetIamPolicyCall), [*instances clusters backups list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupListCall), [*instances clusters backups patch*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupPatchCall), [*instances clusters backups set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupSetIamPolicyCall), [*instances clusters backups test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterBackupTestIamPermissionCall), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterCreateCall), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterDeleteCall), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterGetCall), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterListCall), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceClusterUpdateCall), [*instances create*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceCreateCall), [*instances delete*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceDeleteCall), [*instances get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceGetCall), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceGetIamPolicyCall), [*instances list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceListCall), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstancePartialUpdateInstanceCall), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceSetIamPolicyCall), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableCheckConsistencyCall), [*instances tables create*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableCreateCall), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableDeleteCall), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableDropRowRangeCall), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableGenerateConsistencyTokenCall), [*instances tables get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableGetCall), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableGetIamPolicyCall), [*instances tables list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableListCall), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableModifyColumnFamilyCall), [*instances tables restore*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableRestoreCall), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableSetIamPolicyCall), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTableTestIamPermissionCall), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceTestIamPermissionCall), [*instances update*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectInstanceUpdateCall), [*locations get*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/api::ProjectLocationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/BigtableAdmin)** +* **[Hub](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/BigtableAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Part)** + * **[Parts](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-bigtableadmin2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Delegate), 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-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::CallBuilder) 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-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Delegate) 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 [encodable](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::RequestValue) and -[decodable](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::RequestValue) and +[decodable](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::Part) 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-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::CallBuilder), 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-bigtableadmin2/2.0.4+20210323/google_bigtableadmin2/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigtableadmin2/2.0.5+20210323/google_bigtableadmin2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigtableadmin2/src/api.rs b/gen/bigtableadmin2/src/api.rs index d2db69e486..05cbfb2e1c 100644 --- a/gen/bigtableadmin2/src/api.rs +++ b/gen/bigtableadmin2/src/api.rs @@ -149,7 +149,7 @@ impl<'a, > BigtableAdmin<> { BigtableAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://bigtableadmin.googleapis.com/".to_string(), _root_url: "https://bigtableadmin.googleapis.com/".to_string(), } @@ -163,7 +163,7 @@ impl<'a, > BigtableAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigtableadmin2/src/client.rs b/gen/bigtableadmin2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/bigtableadmin2/src/client.rs +++ b/gen/bigtableadmin2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/bigtableadmin2/src/lib.rs b/gen/bigtableadmin2/src/lib.rs index b11b25a1fb..f2388ee289 100644 --- a/gen/bigtableadmin2/src/lib.rs +++ b/gen/bigtableadmin2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Bigtable Admin* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Bigtable Admin* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Bigtable Admin* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigtable/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-bigtableadmin2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/billingbudgets1-cli/Cargo.toml b/gen/billingbudgets1-cli/Cargo.toml index 7f7f832733..96b9ef1f34 100644 --- a/gen/billingbudgets1-cli/Cargo.toml +++ b/gen/billingbudgets1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-billingbudgets1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-billingbudgets1] path = "../billingbudgets1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/billingbudgets1-cli/README.md b/gen/billingbudgets1-cli/README.md index d9d20544cb..69fd7612e4 100644 --- a/gen/billingbudgets1-cli/README.md +++ b/gen/billingbudgets1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *CloudBillingBudget* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *CloudBillingBudget* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash billingbudgets1 [options] diff --git a/gen/billingbudgets1-cli/mkdocs.yml b/gen/billingbudgets1-cli/mkdocs.yml index 439e41dcc6..c768021836 100644 --- a/gen/billingbudgets1-cli/mkdocs.yml +++ b/gen/billingbudgets1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CloudBillingBudget v2.0.4+20210326 +site_name: CloudBillingBudget v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-billingbudgets1-cli site_description: A complete library to interact with CloudBillingBudget (protocol v1) diff --git a/gen/billingbudgets1-cli/src/main.rs b/gen/billingbudgets1-cli/src/main.rs index 12c114473e..e86758410b 100644 --- a/gen/billingbudgets1-cli/src/main.rs +++ b/gen/billingbudgets1-cli/src/main.rs @@ -648,7 +648,7 @@ async fn main() { let mut app = App::new("billingbudgets1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_billingbudgets1_cli") .arg(Arg::with_name("url") diff --git a/gen/billingbudgets1/Cargo.toml b/gen/billingbudgets1/Cargo.toml index 7126b8ecd3..f9be0c56d5 100644 --- a/gen/billingbudgets1/Cargo.toml +++ b/gen/billingbudgets1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-billingbudgets1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1" homepage = "https://cloud.google.com/billing/docs/how-to/budget-api-overview" -documentation = "https://docs.rs/google-billingbudgets1/2.0.4+20210326" +documentation = "https://docs.rs/google-billingbudgets1/2.0.5+20210326" license = "MIT" keywords = ["billingbudgets", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/billingbudgets1/README.md b/gen/billingbudgets1/README.md index babe39efe0..94fc93dc3a 100644 --- a/gen/billingbudgets1/README.md +++ b/gen/billingbudgets1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-billingbudgets1` library allows access to all features of the *Google CloudBillingBudget* service. -This documentation was generated from *CloudBillingBudget* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *CloudBillingBudget* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *CloudBillingBudget* *v1* API can be found at the [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/CloudBillingBudget) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/CloudBillingBudget) ... * billing accounts - * [*budgets create*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/api::BillingAccountBudgetPatchCall) + * [*budgets create*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/api::BillingAccountBudgetPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/CloudBillingBudget)** +* **[Hub](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/CloudBillingBudget)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::CallBuilder) -* **[Resources](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::CallBuilder) +* **[Resources](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Part)** + * **[Parts](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-billingbudgets1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Delegate), 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-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Delegate) to the -[Method Builder](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Delegate) to the +[Method Builder](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::CallBuilder) 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-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Delegate) 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 [encodable](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::RequestValue) and -[decodable](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::RequestValue) and +[decodable](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::Part) 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-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::CallBuilder), 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-billingbudgets1/2.0.4+20210326/google_billingbudgets1/client::RequestValue) are moved +* [request values](https://docs.rs/google-billingbudgets1/2.0.5+20210326/google_billingbudgets1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/billingbudgets1/src/api.rs b/gen/billingbudgets1/src/api.rs index bda542ba97..4ccb112938 100644 --- a/gen/billingbudgets1/src/api.rs +++ b/gen/billingbudgets1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > CloudBillingBudget<> { CloudBillingBudget { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://billingbudgets.googleapis.com/".to_string(), _root_url: "https://billingbudgets.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudBillingBudget<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/billingbudgets1/src/client.rs b/gen/billingbudgets1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/billingbudgets1/src/client.rs +++ b/gen/billingbudgets1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/billingbudgets1/src/lib.rs b/gen/billingbudgets1/src/lib.rs index 024fc28e68..5f106eb807 100644 --- a/gen/billingbudgets1/src/lib.rs +++ b/gen/billingbudgets1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *CloudBillingBudget* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *CloudBillingBudget* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *CloudBillingBudget* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-billingbudgets1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/billingbudgets1_beta1-cli/Cargo.toml b/gen/billingbudgets1_beta1-cli/Cargo.toml index 7e7fc1ebbc..c579e2541e 100644 --- a/gen/billingbudgets1_beta1-cli/Cargo.toml +++ b/gen/billingbudgets1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-billingbudgets1_beta1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-billingbudgets1_beta1] path = "../billingbudgets1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/billingbudgets1_beta1-cli/README.md b/gen/billingbudgets1_beta1-cli/README.md index d91212b72d..97c137e280 100644 --- a/gen/billingbudgets1_beta1-cli/README.md +++ b/gen/billingbudgets1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *CloudBillingBudget* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *CloudBillingBudget* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash billingbudgets1-beta1 [options] diff --git a/gen/billingbudgets1_beta1-cli/mkdocs.yml b/gen/billingbudgets1_beta1-cli/mkdocs.yml index 1cddf49872..08d17af910 100644 --- a/gen/billingbudgets1_beta1-cli/mkdocs.yml +++ b/gen/billingbudgets1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CloudBillingBudget v2.0.4+20210326 +site_name: CloudBillingBudget v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-billingbudgets1_beta1-cli site_description: A complete library to interact with CloudBillingBudget (protocol v1beta1) diff --git a/gen/billingbudgets1_beta1-cli/src/main.rs b/gen/billingbudgets1_beta1-cli/src/main.rs index b7adb27087..5997cb76fa 100644 --- a/gen/billingbudgets1_beta1-cli/src/main.rs +++ b/gen/billingbudgets1_beta1-cli/src/main.rs @@ -645,7 +645,7 @@ async fn main() { let mut app = App::new("billingbudgets1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_billingbudgets1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/billingbudgets1_beta1/Cargo.toml b/gen/billingbudgets1_beta1/Cargo.toml index cda83404ed..980d67b7e8 100644 --- a/gen/billingbudgets1_beta1/Cargo.toml +++ b/gen/billingbudgets1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-billingbudgets1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1_beta1" homepage = "https://cloud.google.com/billing/docs/how-to/budget-api-overview" -documentation = "https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326" +documentation = "https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326" license = "MIT" keywords = ["billingbudgets", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/billingbudgets1_beta1/README.md b/gen/billingbudgets1_beta1/README.md index 82e11e1fba..cabb9b2f57 100644 --- a/gen/billingbudgets1_beta1/README.md +++ b/gen/billingbudgets1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-billingbudgets1_beta1` library allows access to all features of the *Google CloudBillingBudget* service. -This documentation was generated from *CloudBillingBudget* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *CloudBillingBudget* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *CloudBillingBudget* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/CloudBillingBudget) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/CloudBillingBudget) ... * billing accounts - * [*budgets create*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetPatchCall) + * [*budgets create*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/api::BillingAccountBudgetPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/CloudBillingBudget)** +* **[Hub](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/CloudBillingBudget)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-billingbudgets1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Delegate), 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-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::CallBuilder) 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-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::Part) 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-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::CallBuilder), 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-billingbudgets1_beta1/2.0.4+20210326/google_billingbudgets1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-billingbudgets1_beta1/2.0.5+20210326/google_billingbudgets1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/billingbudgets1_beta1/src/api.rs b/gen/billingbudgets1_beta1/src/api.rs index c726c166bb..ba9734eceb 100644 --- a/gen/billingbudgets1_beta1/src/api.rs +++ b/gen/billingbudgets1_beta1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudBillingBudget<> { CloudBillingBudget { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://billingbudgets.googleapis.com/".to_string(), _root_url: "https://billingbudgets.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudBillingBudget<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/billingbudgets1_beta1/src/client.rs b/gen/billingbudgets1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/billingbudgets1_beta1/src/client.rs +++ b/gen/billingbudgets1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/billingbudgets1_beta1/src/lib.rs b/gen/billingbudgets1_beta1/src/lib.rs index 0207f726b9..a1db5c1629 100644 --- a/gen/billingbudgets1_beta1/src/lib.rs +++ b/gen/billingbudgets1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *CloudBillingBudget* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *CloudBillingBudget* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *CloudBillingBudget* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-billingbudgets1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/binaryauthorization1-cli/Cargo.toml b/gen/binaryauthorization1-cli/Cargo.toml index b2c007264b..d0dec5b19b 100644 --- a/gen/binaryauthorization1-cli/Cargo.toml +++ b/gen/binaryauthorization1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-binaryauthorization1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-binaryauthorization1] path = "../binaryauthorization1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/binaryauthorization1-cli/README.md b/gen/binaryauthorization1-cli/README.md index 7e1dce1c7f..4be7164cd3 100644 --- a/gen/binaryauthorization1-cli/README.md +++ b/gen/binaryauthorization1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Binary Authorization* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *Binary Authorization* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash binaryauthorization1 [options] diff --git a/gen/binaryauthorization1-cli/mkdocs.yml b/gen/binaryauthorization1-cli/mkdocs.yml index 247242300f..08252855dc 100644 --- a/gen/binaryauthorization1-cli/mkdocs.yml +++ b/gen/binaryauthorization1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Binary Authorization v2.0.4+20210318 +site_name: Binary Authorization v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-binaryauthorization1-cli site_description: A complete library to interact with Binary Authorization (protocol v1) diff --git a/gen/binaryauthorization1-cli/src/main.rs b/gen/binaryauthorization1-cli/src/main.rs index cd26b90479..12484dd61a 100644 --- a/gen/binaryauthorization1-cli/src/main.rs +++ b/gen/binaryauthorization1-cli/src/main.rs @@ -1647,7 +1647,7 @@ async fn main() { let mut app = App::new("binaryauthorization1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_binaryauthorization1_cli") .arg(Arg::with_name("url") diff --git a/gen/binaryauthorization1/Cargo.toml b/gen/binaryauthorization1/Cargo.toml index 2b59f658d3..f553849a94 100644 --- a/gen/binaryauthorization1/Cargo.toml +++ b/gen/binaryauthorization1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-binaryauthorization1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1" homepage = "https://cloud.google.com/binary-authorization/" -documentation = "https://docs.rs/google-binaryauthorization1/2.0.4+20210318" +documentation = "https://docs.rs/google-binaryauthorization1/2.0.5+20210318" license = "MIT" keywords = ["binaryauthorization", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/binaryauthorization1/README.md b/gen/binaryauthorization1/README.md index 46d541edf2..57d20e50c2 100644 --- a/gen/binaryauthorization1/README.md +++ b/gen/binaryauthorization1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-binaryauthorization1` library allows access to all features of the *Google Binary Authorization* service. -This documentation was generated from *Binary Authorization* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Binary Authorization* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Binary Authorization* *v1* API can be found at the [official documentation site](https://cloud.google.com/binary-authorization/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/BinaryAuthorization) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/BinaryAuthorization) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::ProjectUpdatePolicyCall) + * [*attestors create*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::ProjectUpdatePolicyCall) * systempolicy - * [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/api::SystempolicyGetPolicyCall) + * [*get policy*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/api::SystempolicyGetPolicyCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/BinaryAuthorization)** +* **[Hub](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/BinaryAuthorization)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::CallBuilder) -* **[Resources](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::CallBuilder) +* **[Resources](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Part)** + * **[Parts](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-binaryauthorization1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Delegate), 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-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Delegate) to the -[Method Builder](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Delegate) to the +[Method Builder](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::CallBuilder) 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-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Delegate) 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 [encodable](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::RequestValue) and -[decodable](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::RequestValue) and +[decodable](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::Part) 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-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::CallBuilder), 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-binaryauthorization1/2.0.4+20210318/google_binaryauthorization1/client::RequestValue) are moved +* [request values](https://docs.rs/google-binaryauthorization1/2.0.5+20210318/google_binaryauthorization1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/binaryauthorization1/src/api.rs b/gen/binaryauthorization1/src/api.rs index a061da0128..212d329393 100644 --- a/gen/binaryauthorization1/src/api.rs +++ b/gen/binaryauthorization1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > BinaryAuthorization<> { BinaryAuthorization { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://binaryauthorization.googleapis.com/".to_string(), _root_url: "https://binaryauthorization.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > BinaryAuthorization<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/binaryauthorization1/src/client.rs b/gen/binaryauthorization1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/binaryauthorization1/src/client.rs +++ b/gen/binaryauthorization1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/binaryauthorization1/src/lib.rs b/gen/binaryauthorization1/src/lib.rs index 9a5d629b31..8b1db4608d 100644 --- a/gen/binaryauthorization1/src/lib.rs +++ b/gen/binaryauthorization1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Binary Authorization* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Binary Authorization* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Binary Authorization* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-binaryauthorization1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/binaryauthorization1_beta1-cli/Cargo.toml b/gen/binaryauthorization1_beta1-cli/Cargo.toml index 2940fb8e07..c16bac5226 100644 --- a/gen/binaryauthorization1_beta1-cli/Cargo.toml +++ b/gen/binaryauthorization1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-binaryauthorization1_beta1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-binaryauthorization1_beta1] path = "../binaryauthorization1_beta1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/binaryauthorization1_beta1-cli/README.md b/gen/binaryauthorization1_beta1-cli/README.md index bb79dc2bbb..7019a25a4e 100644 --- a/gen/binaryauthorization1_beta1-cli/README.md +++ b/gen/binaryauthorization1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Binary Authorization* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *Binary Authorization* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash binaryauthorization1-beta1 [options] diff --git a/gen/binaryauthorization1_beta1-cli/mkdocs.yml b/gen/binaryauthorization1_beta1-cli/mkdocs.yml index 71fde067a4..45a2803fdc 100644 --- a/gen/binaryauthorization1_beta1-cli/mkdocs.yml +++ b/gen/binaryauthorization1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Binary Authorization v2.0.4+20210318 +site_name: Binary Authorization v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-binaryauthorization1_beta1-cli site_description: A complete library to interact with Binary Authorization (protocol v1beta1) diff --git a/gen/binaryauthorization1_beta1-cli/src/main.rs b/gen/binaryauthorization1_beta1-cli/src/main.rs index 69dba20d57..79bdd6073b 100644 --- a/gen/binaryauthorization1_beta1-cli/src/main.rs +++ b/gen/binaryauthorization1_beta1-cli/src/main.rs @@ -1647,7 +1647,7 @@ async fn main() { let mut app = App::new("binaryauthorization1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_binaryauthorization1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/binaryauthorization1_beta1/Cargo.toml b/gen/binaryauthorization1_beta1/Cargo.toml index 961da80cb4..7716de621c 100644 --- a/gen/binaryauthorization1_beta1/Cargo.toml +++ b/gen/binaryauthorization1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-binaryauthorization1_beta1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1_beta1" homepage = "https://cloud.google.com/binary-authorization/" -documentation = "https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318" +documentation = "https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318" license = "MIT" keywords = ["binaryauthorization", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/binaryauthorization1_beta1/README.md b/gen/binaryauthorization1_beta1/README.md index 01df6b4951..9499a297d2 100644 --- a/gen/binaryauthorization1_beta1/README.md +++ b/gen/binaryauthorization1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-binaryauthorization1_beta1` library allows access to all features of the *Google Binary Authorization* service. -This documentation was generated from *Binary Authorization* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Binary Authorization* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Binary Authorization* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/binary-authorization/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/BinaryAuthorization) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/BinaryAuthorization) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::ProjectUpdatePolicyCall) + * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::ProjectUpdatePolicyCall) * systempolicy - * [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/api::SystempolicyGetPolicyCall) + * [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/api::SystempolicyGetPolicyCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/BinaryAuthorization)** +* **[Hub](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/BinaryAuthorization)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-binaryauthorization1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Delegate), 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-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::CallBuilder) 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-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::Part) 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-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::CallBuilder), 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-binaryauthorization1_beta1/2.0.4+20210318/google_binaryauthorization1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-binaryauthorization1_beta1/2.0.5+20210318/google_binaryauthorization1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/binaryauthorization1_beta1/src/api.rs b/gen/binaryauthorization1_beta1/src/api.rs index 756186e6ab..3c1c8c1ae6 100644 --- a/gen/binaryauthorization1_beta1/src/api.rs +++ b/gen/binaryauthorization1_beta1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > BinaryAuthorization<> { BinaryAuthorization { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://binaryauthorization.googleapis.com/".to_string(), _root_url: "https://binaryauthorization.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > BinaryAuthorization<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/binaryauthorization1_beta1/src/client.rs b/gen/binaryauthorization1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/binaryauthorization1_beta1/src/client.rs +++ b/gen/binaryauthorization1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/binaryauthorization1_beta1/src/lib.rs b/gen/binaryauthorization1_beta1/src/lib.rs index a466762bfe..b91f73e6b9 100644 --- a/gen/binaryauthorization1_beta1/src/lib.rs +++ b/gen/binaryauthorization1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Binary Authorization* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Binary Authorization* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Binary Authorization* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-binaryauthorization1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/blogger3-cli/Cargo.toml b/gen/blogger3-cli/Cargo.toml index f45b5d95d2..94aac7306a 100644 --- a/gen/blogger3-cli/Cargo.toml +++ b/gen/blogger3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-blogger3-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/blogger3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-blogger3] path = "../blogger3" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/blogger3-cli/README.md b/gen/blogger3-cli/README.md index ed125efcf2..3c43223a95 100644 --- a/gen/blogger3-cli/README.md +++ b/gen/blogger3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Blogger* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Blogger* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash blogger3 [options] diff --git a/gen/blogger3-cli/mkdocs.yml b/gen/blogger3-cli/mkdocs.yml index 379deb3926..13c79a24a6 100644 --- a/gen/blogger3-cli/mkdocs.yml +++ b/gen/blogger3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Blogger v2.0.4+20210331 +site_name: Blogger v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-blogger3-cli site_description: A complete library to interact with Blogger (protocol v3) diff --git a/gen/blogger3-cli/src/main.rs b/gen/blogger3-cli/src/main.rs index 0aea029c12..7e6297f7d3 100644 --- a/gen/blogger3-cli/src/main.rs +++ b/gen/blogger3-cli/src/main.rs @@ -3481,7 +3481,7 @@ async fn main() { let mut app = App::new("blogger3") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("The Blogger API provides access to posts, comments and pages of a Blogger blog.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_blogger3_cli") .arg(Arg::with_name("url") diff --git a/gen/blogger3/Cargo.toml b/gen/blogger3/Cargo.toml index da566ad9d6..ed1807c715 100644 --- a/gen/blogger3/Cargo.toml +++ b/gen/blogger3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-blogger3" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/blogger3" homepage = "https://developers.google.com/blogger/docs/3.0/getting_started" -documentation = "https://docs.rs/google-blogger3/2.0.4+20210331" +documentation = "https://docs.rs/google-blogger3/2.0.5+20210331" license = "MIT" keywords = ["blogger", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/blogger3/README.md b/gen/blogger3/README.md index 4ffaf59373..225b6590a9 100644 --- a/gen/blogger3/README.md +++ b/gen/blogger3/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-blogger3` library allows access to all features of the *Google Blogger* service. -This documentation was generated from *Blogger* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Blogger* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Blogger* *v3* API can be found at the [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/Blogger) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/Blogger) ... -* [blog user infos](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::BlogUserInfo) - * [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::BlogUserInfoGetCall) -* [blogs](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::Blog) - * [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::BlogGetCall), [*get by url*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::BlogGetByUrlCall) and [*list by user*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::BlogListByUserCall) -* [comments](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::Comment) - * [*approve*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentApproveCall), [*delete*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentGetCall), [*list*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentListCall), [*list by blog*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentListByBlogCall), [*mark as spam*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentMarkAsSpamCall) and [*remove content*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::CommentRemoveContentCall) +* [blog user infos](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::BlogUserInfo) + * [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::BlogUserInfoGetCall) +* [blogs](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::Blog) + * [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::BlogGetCall), [*get by url*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::BlogGetByUrlCall) and [*list by user*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::BlogListByUserCall) +* [comments](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::Comment) + * [*approve*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentApproveCall), [*delete*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentGetCall), [*list*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentListCall), [*list by blog*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentListByBlogCall), [*mark as spam*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentMarkAsSpamCall) and [*remove content*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::CommentRemoveContentCall) * page views - * [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageViewGetCall) -* [pages](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::Page) - * [*delete*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageGetCall), [*insert*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageInsertCall), [*list*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageListCall), [*patch*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PagePatchCall), [*publish*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PagePublishCall), [*revert*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageRevertCall) and [*update*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PageUpdateCall) -* [post user infos](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostUserInfo) - * [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostUserInfoGetCall) and [*list*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostUserInfoListCall) -* [posts](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::Post) - * [*delete*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostGetCall), [*get by path*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostGetByPathCall), [*insert*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostInsertCall), [*list*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostListCall), [*patch*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostPatchCall), [*publish*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostPublishCall), [*revert*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostRevertCall), [*search*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostSearchCall) and [*update*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::PostUpdateCall) -* [users](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::User) - * [*get*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/api::UserGetCall) + * [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageViewGetCall) +* [pages](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::Page) + * [*delete*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageGetCall), [*insert*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageInsertCall), [*list*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageListCall), [*patch*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PagePatchCall), [*publish*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PagePublishCall), [*revert*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageRevertCall) and [*update*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PageUpdateCall) +* [post user infos](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostUserInfo) + * [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostUserInfoGetCall) and [*list*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostUserInfoListCall) +* [posts](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::Post) + * [*delete*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostDeleteCall), [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostGetCall), [*get by path*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostGetByPathCall), [*insert*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostInsertCall), [*list*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostListCall), [*patch*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostPatchCall), [*publish*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostPublishCall), [*revert*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostRevertCall), [*search*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostSearchCall) and [*update*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::PostUpdateCall) +* [users](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::User) + * [*get*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/api::UserGetCall) @@ -37,17 +37,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/Blogger)** +* **[Hub](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/Blogger)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::CallBuilder) -* **[Resources](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::CallBuilder) +* **[Resources](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Part)** + * **[Parts](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -87,9 +87,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-blogger3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -159,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::ResponseResult), 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")`. @@ -179,29 +176,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Delegate) to the -[Method Builder](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Delegate) to the +[Method Builder](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Delegate) 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 [encodable](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::RequestValue) and -[decodable](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::RequestValue) and +[decodable](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-blogger3/2.0.4+20210331/google_blogger3/client::RequestValue) are moved +* [request values](https://docs.rs/google-blogger3/2.0.5+20210331/google_blogger3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/blogger3/src/api.rs b/gen/blogger3/src/api.rs index 8be1df32da..0b0de17257 100644 --- a/gen/blogger3/src/api.rs +++ b/gen/blogger3/src/api.rs @@ -128,7 +128,7 @@ impl<'a, > Blogger<> { Blogger { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://blogger.googleapis.com/".to_string(), _root_url: "https://blogger.googleapis.com/".to_string(), } @@ -160,7 +160,7 @@ impl<'a, > Blogger<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/blogger3/src/client.rs b/gen/blogger3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/blogger3/src/client.rs +++ b/gen/blogger3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/blogger3/src/lib.rs b/gen/blogger3/src/lib.rs index 4c6420d453..0890890b35 100644 --- a/gen/blogger3/src/lib.rs +++ b/gen/blogger3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Blogger* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Blogger* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Blogger* *v3* API can be found at the //! [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). @@ -87,9 +87,6 @@ //! ```toml //! [dependencies] //! google-blogger3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/books1-cli/Cargo.toml b/gen/books1-cli/Cargo.toml index cc9666ded1..a4687c9855 100644 --- a/gen/books1-cli/Cargo.toml +++ b/gen/books1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-books1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/books1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-books1] path = "../books1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/books1-cli/README.md b/gen/books1-cli/README.md index 9cd64a7015..f27f1302bc 100644 --- a/gen/books1-cli/README.md +++ b/gen/books1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *books* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *books* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash books1 [options] diff --git a/gen/books1-cli/mkdocs.yml b/gen/books1-cli/mkdocs.yml index 5c56f067a4..517445ef10 100644 --- a/gen/books1-cli/mkdocs.yml +++ b/gen/books1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: books v2.0.4+20210326 +site_name: books v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-books1-cli site_description: A complete library to interact with books (protocol v1) diff --git a/gen/books1-cli/src/main.rs b/gen/books1-cli/src/main.rs index 2df35c84ae..a0067635c2 100644 --- a/gen/books1-cli/src/main.rs +++ b/gen/books1-cli/src/main.rs @@ -5070,7 +5070,7 @@ async fn main() { let mut app = App::new("books1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("The Google Books API allows clients to access the Google Books repository.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_books1_cli") .arg(Arg::with_name("url") diff --git a/gen/books1/Cargo.toml b/gen/books1/Cargo.toml index 00d39e536e..3594530272 100644 --- a/gen/books1/Cargo.toml +++ b/gen/books1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-books1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/books1" homepage = "https://code.google.com/apis/books/docs/v1/getting_started.html" -documentation = "https://docs.rs/google-books1/2.0.4+20210326" +documentation = "https://docs.rs/google-books1/2.0.5+20210326" license = "MIT" keywords = ["books", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/books1/README.md b/gen/books1/README.md index 0180485661..7ba9bab11d 100644 --- a/gen/books1/README.md +++ b/gen/books1/README.md @@ -5,40 +5,40 @@ DO NOT EDIT ! --> The `google-books1` library allows access to all features of the *Google books* service. -This documentation was generated from *books* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *books* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *books* *v1* API can be found at the [official documentation site](https://code.google.com/apis/books/docs/v1/getting_started.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/2.0.4+20210326/google_books1/Books) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/2.0.5+20210326/google_books1/Books) ... * bookshelves - * [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::BookshelveGetCall), [*list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::BookshelveListCall) and [*volumes list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::BookshelveVolumeListCall) + * [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::BookshelveGetCall), [*list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::BookshelveListCall) and [*volumes list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::BookshelveVolumeListCall) * cloudloading - * [*add book*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::CloudloadingAddBookCall), [*delete book*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::CloudloadingDeleteBookCall) and [*update book*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::CloudloadingUpdateBookCall) + * [*add book*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::CloudloadingAddBookCall), [*delete book*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::CloudloadingDeleteBookCall) and [*update book*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::CloudloadingUpdateBookCall) * dictionary - * [*list offline metadata*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::DictionaryListOfflineMetadataCall) + * [*list offline metadata*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::DictionaryListOfflineMetadataCall) * familysharing - * [*get family info*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::FamilysharingGetFamilyInfoCall), [*share*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::FamilysharingShareCall) and [*unshare*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::FamilysharingUnshareCall) + * [*get family info*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::FamilysharingGetFamilyInfoCall), [*share*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::FamilysharingShareCall) and [*unshare*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::FamilysharingUnshareCall) * layers - * [*annotation data get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::LayerAnnotationDataGetCall), [*annotation data list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::LayerAnnotationDataListCall), [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::LayerGetCall), [*list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::LayerListCall), [*volume annotations get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::LayerVolumeAnnotationGetCall) and [*volume annotations list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::LayerVolumeAnnotationListCall) + * [*annotation data get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::LayerAnnotationDataGetCall), [*annotation data list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::LayerAnnotationDataListCall), [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::LayerGetCall), [*list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::LayerListCall), [*volume annotations get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::LayerVolumeAnnotationGetCall) and [*volume annotations list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::LayerVolumeAnnotationListCall) * myconfig - * [*get user settings*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MyconfigGetUserSettingCall), [*release download access*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MyconfigReleaseDownloadAccesCall), [*request access*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MyconfigRequestAccesCall), [*sync volume licenses*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MyconfigSyncVolumeLicenseCall) and [*update user settings*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MyconfigUpdateUserSettingCall) + * [*get user settings*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MyconfigGetUserSettingCall), [*release download access*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MyconfigReleaseDownloadAccesCall), [*request access*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MyconfigRequestAccesCall), [*sync volume licenses*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MyconfigSyncVolumeLicenseCall) and [*update user settings*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MyconfigUpdateUserSettingCall) * mylibrary - * [*annotations delete*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryAnnotationDeleteCall), [*annotations insert*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryAnnotationInsertCall), [*annotations list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryAnnotationListCall), [*annotations summary*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryAnnotationSummaryCall), [*annotations update*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryAnnotationUpdateCall), [*bookshelves add volume*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveAddVolumeCall), [*bookshelves clear volumes*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveClearVolumeCall), [*bookshelves get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveGetCall), [*bookshelves list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveListCall), [*bookshelves move volume*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveMoveVolumeCall), [*bookshelves remove volume*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveRemoveVolumeCall), [*bookshelves volumes list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryBookshelveVolumeListCall), [*readingpositions get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryReadingpositionGetCall) and [*readingpositions set position*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::MylibraryReadingpositionSetPositionCall) -* [notification](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::Notification) - * [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::NotificationGetCall) + * [*annotations delete*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryAnnotationDeleteCall), [*annotations insert*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryAnnotationInsertCall), [*annotations list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryAnnotationListCall), [*annotations summary*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryAnnotationSummaryCall), [*annotations update*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryAnnotationUpdateCall), [*bookshelves add volume*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveAddVolumeCall), [*bookshelves clear volumes*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveClearVolumeCall), [*bookshelves get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveGetCall), [*bookshelves list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveListCall), [*bookshelves move volume*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveMoveVolumeCall), [*bookshelves remove volume*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveRemoveVolumeCall), [*bookshelves volumes list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryBookshelveVolumeListCall), [*readingpositions get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryReadingpositionGetCall) and [*readingpositions set position*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::MylibraryReadingpositionSetPositionCall) +* [notification](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::Notification) + * [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::NotificationGetCall) * onboarding - * [*list categories*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::OnboardingListCategoryCall) and [*list category volumes*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::OnboardingListCategoryVolumeCall) + * [*list categories*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::OnboardingListCategoryCall) and [*list category volumes*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::OnboardingListCategoryVolumeCall) * personalizedstream - * [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::PersonalizedstreamGetCall) + * [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::PersonalizedstreamGetCall) * promooffer - * [*accept*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::PromoofferAcceptCall), [*dismiss*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::PromoofferDismisCall) and [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::PromoofferGetCall) + * [*accept*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::PromoofferAcceptCall), [*dismiss*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::PromoofferDismisCall) and [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::PromoofferGetCall) * series - * [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::SeryGetCall) and [*membership get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::SeryMembershipGetCall) -* [volumes](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::Volume) - * [*associated list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeAssociatedListCall), [*get*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeGetCall), [*list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeListCall), [*mybooks list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeMybookListCall), [*recommended list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeRecommendedListCall), [*recommended rate*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeRecommendedRateCall) and [*useruploaded list*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/api::VolumeUseruploadedListCall) + * [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::SeryGetCall) and [*membership get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::SeryMembershipGetCall) +* [volumes](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::Volume) + * [*associated list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeAssociatedListCall), [*get*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeGetCall), [*list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeListCall), [*mybooks list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeMybookListCall), [*recommended list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeRecommendedListCall), [*recommended rate*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeRecommendedRateCall) and [*useruploaded list*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/api::VolumeUseruploadedListCall) @@ -47,17 +47,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-books1/2.0.4+20210326/google_books1/Books)** +* **[Hub](https://docs.rs/google-books1/2.0.5+20210326/google_books1/Books)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::CallBuilder) -* **[Resources](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::CallBuilder) +* **[Resources](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Part)** + * **[Parts](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,9 +98,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-books1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -168,17 +165,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::ResponseResult), 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")`. @@ -188,29 +185,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Delegate) to the -[Method Builder](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Delegate) to the +[Method Builder](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Delegate) 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 [encodable](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::RequestValue) and -[decodable](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::RequestValue) and +[decodable](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-books1/2.0.4+20210326/google_books1/client::RequestValue) are moved +* [request values](https://docs.rs/google-books1/2.0.5+20210326/google_books1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/books1/src/api.rs b/gen/books1/src/api.rs index 8c987cf186..f6e29b2888 100644 --- a/gen/books1/src/api.rs +++ b/gen/books1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > Books<> { Books { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://books.googleapis.com/".to_string(), _root_url: "https://books.googleapis.com/".to_string(), } @@ -169,7 +169,7 @@ impl<'a, > Books<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/books1/src/client.rs b/gen/books1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/books1/src/client.rs +++ b/gen/books1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/books1/src/lib.rs b/gen/books1/src/lib.rs index a17c0770cd..894767cc28 100644 --- a/gen/books1/src/lib.rs +++ b/gen/books1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *books* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *books* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *books* *v1* API can be found at the //! [official documentation site](https://code.google.com/apis/books/docs/v1/getting_started.html). @@ -98,9 +98,6 @@ //! ```toml //! [dependencies] //! google-books1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/calendar3-cli/Cargo.toml b/gen/calendar3-cli/Cargo.toml index 14d1a044c4..2e9ff6bf3a 100644 --- a/gen/calendar3-cli/Cargo.toml +++ b/gen/calendar3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-calendar3-cli" -version = "2.0.4+20210327" +version = "2.0.5+20210327" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/calendar3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-calendar3] path = "../calendar3" -version = "2.0.4+20210327" +version = "2.0.5+20210327" diff --git a/gen/calendar3-cli/README.md b/gen/calendar3-cli/README.md index ee96b8888a..d20110dbfe 100644 --- a/gen/calendar3-cli/README.md +++ b/gen/calendar3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *calendar* API at revision *20210327*. The CLI is at version *2.0.4*. +This documentation was generated from the *calendar* API at revision *20210327*. The CLI is at version *2.0.5*. ```bash calendar3 [options] diff --git a/gen/calendar3-cli/mkdocs.yml b/gen/calendar3-cli/mkdocs.yml index d83932865e..8f222597d7 100644 --- a/gen/calendar3-cli/mkdocs.yml +++ b/gen/calendar3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: calendar v2.0.4+20210327 +site_name: calendar v2.0.5+20210327 site_url: http://byron.github.io/google-apis-rs/google-calendar3-cli site_description: A complete library to interact with calendar (protocol v3) diff --git a/gen/calendar3-cli/src/main.rs b/gen/calendar3-cli/src/main.rs index 05c34e2030..96c93cb9ee 100644 --- a/gen/calendar3-cli/src/main.rs +++ b/gen/calendar3-cli/src/main.rs @@ -4459,7 +4459,7 @@ async fn main() { let mut app = App::new("calendar3") .author("Sebastian Thiel ") - .version("2.0.4+20210327") + .version("2.0.5+20210327") .about("Manipulates events and other calendar data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_calendar3_cli") .arg(Arg::with_name("url") diff --git a/gen/calendar3/Cargo.toml b/gen/calendar3/Cargo.toml index 56df1de033..7290e58906 100644 --- a/gen/calendar3/Cargo.toml +++ b/gen/calendar3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-calendar3" -version = "2.0.4+20210327" +version = "2.0.5+20210327" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/calendar3" homepage = "https://developers.google.com/google-apps/calendar/firstapp" -documentation = "https://docs.rs/google-calendar3/2.0.4+20210327" +documentation = "https://docs.rs/google-calendar3/2.0.5+20210327" license = "MIT" keywords = ["calendar", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/calendar3/README.md b/gen/calendar3/README.md index cccdc73904..c5baa14df4 100644 --- a/gen/calendar3/README.md +++ b/gen/calendar3/README.md @@ -5,43 +5,43 @@ DO NOT EDIT ! --> The `google-calendar3` library allows access to all features of the *Google calendar* service. -This documentation was generated from *calendar* crate version *2.0.4+20210327*, where *20210327* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *calendar* crate version *2.0.5+20210327*, where *20210327* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *calendar* *v3* API can be found at the [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/CalendarHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/CalendarHub) ... -* [acl](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::Acl) - * [*delete*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclInsertCall), [*list*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclListCall), [*patch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclPatchCall), [*update*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclWatchCall) -* [calendar list](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarList) - * [*delete*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListInsertCall), [*list*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListListCall), [*patch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListPatchCall), [*update*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListWatchCall) -* [calendars](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::Calendar) - * [*clear*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarClearCall), [*delete*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarInsertCall), [*patch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarPatchCall) and [*update*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarUpdateCall) -* [channels](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::Channel) - * [*stop*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::ChannelStopCall) +* [acl](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::Acl) + * [*delete*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclInsertCall), [*list*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclListCall), [*patch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclPatchCall), [*update*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclWatchCall) +* [calendar list](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarList) + * [*delete*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListInsertCall), [*list*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListListCall), [*patch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListPatchCall), [*update*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListWatchCall) +* [calendars](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::Calendar) + * [*clear*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarClearCall), [*delete*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarGetCall), [*insert*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarInsertCall), [*patch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarPatchCall) and [*update*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarUpdateCall) +* [channels](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::Channel) + * [*stop*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::ChannelStopCall) * colors - * [*get*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::ColorGetCall) -* [events](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::Event) - * [*delete*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventGetCall), [*import*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventImportCall), [*insert*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventInsertCall), [*instances*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventInstanceCall), [*list*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventListCall), [*move*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventMoveCall), [*patch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventPatchCall), [*quick add*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventQuickAddCall), [*update*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventWatchCall) + * [*get*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::ColorGetCall) +* [events](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::Event) + * [*delete*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventDeleteCall), [*get*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventGetCall), [*import*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventImportCall), [*insert*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventInsertCall), [*instances*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventInstanceCall), [*list*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventListCall), [*move*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventMoveCall), [*patch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventPatchCall), [*quick add*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventQuickAddCall), [*update*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventUpdateCall) and [*watch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventWatchCall) * freebusy - * [*query*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::FreebusyQueryCall) -* [settings](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::Setting) - * [*get*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::SettingGetCall), [*list*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::SettingListCall) and [*watch*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::SettingWatchCall) + * [*query*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::FreebusyQueryCall) +* [settings](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::Setting) + * [*get*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::SettingGetCall), [*list*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::SettingListCall) and [*watch*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::SettingWatchCall) Subscription supported by ... -* [*list acl*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclListCall) -* [*watch acl*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::AclWatchCall) -* [*list calendar list*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListListCall) -* [*watch calendar list*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::CalendarListWatchCall) -* [*instances events*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventInstanceCall) -* [*list events*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventListCall) -* [*watch events*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::EventWatchCall) -* [*list settings*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::SettingListCall) -* [*watch settings*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/api::SettingWatchCall) +* [*list acl*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclListCall) +* [*watch acl*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::AclWatchCall) +* [*list calendar list*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListListCall) +* [*watch calendar list*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::CalendarListWatchCall) +* [*instances events*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventInstanceCall) +* [*list events*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventListCall) +* [*watch events*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::EventWatchCall) +* [*list settings*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::SettingListCall) +* [*watch settings*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/api::SettingWatchCall) @@ -49,17 +49,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/CalendarHub)** +* **[Hub](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/CalendarHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::CallBuilder) -* **[Resources](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::CallBuilder) +* **[Resources](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Part)** + * **[Parts](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,9 +100,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-calendar3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -185,17 +182,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::ResponseResult), 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")`. @@ -205,29 +202,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Delegate) to the -[Method Builder](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Delegate) to the +[Method Builder](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Delegate) 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 [encodable](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::RequestValue) and -[decodable](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::RequestValue) and +[decodable](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-calendar3/2.0.4+20210327/google_calendar3/client::RequestValue) are moved +* [request values](https://docs.rs/google-calendar3/2.0.5+20210327/google_calendar3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/calendar3/src/api.rs b/gen/calendar3/src/api.rs index 7e3b14674b..c621775fe3 100644 --- a/gen/calendar3/src/api.rs +++ b/gen/calendar3/src/api.rs @@ -153,7 +153,7 @@ impl<'a, > CalendarHub<> { CalendarHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/calendar/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -185,7 +185,7 @@ impl<'a, > CalendarHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/calendar3/src/client.rs b/gen/calendar3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/calendar3/src/client.rs +++ b/gen/calendar3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/calendar3/src/lib.rs b/gen/calendar3/src/lib.rs index bae22ddb0a..7a189ac249 100644 --- a/gen/calendar3/src/lib.rs +++ b/gen/calendar3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *calendar* crate version *2.0.4+20210327*, where *20210327* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *calendar* crate version *2.0.5+20210327*, where *20210327* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *calendar* *v3* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). @@ -100,9 +100,6 @@ //! ```toml //! [dependencies] //! google-calendar3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/chat1-cli/Cargo.toml b/gen/chat1-cli/Cargo.toml index fc24361b3a..978bd123a3 100644 --- a/gen/chat1-cli/Cargo.toml +++ b/gen/chat1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chat1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Hangouts Chat (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chat1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chat1] path = "../chat1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/chat1-cli/README.md b/gen/chat1-cli/README.md index f356dbfdc6..ee4451c073 100644 --- a/gen/chat1-cli/README.md +++ b/gen/chat1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Hangouts Chat* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Hangouts Chat* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash chat1 [options] diff --git a/gen/chat1-cli/mkdocs.yml b/gen/chat1-cli/mkdocs.yml index e6f592b044..b10daa4e36 100644 --- a/gen/chat1-cli/mkdocs.yml +++ b/gen/chat1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Hangouts Chat v2.0.4+20210324 +site_name: Hangouts Chat v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-chat1-cli site_description: A complete library to interact with Hangouts Chat (protocol v1) diff --git a/gen/chat1-cli/src/main.rs b/gen/chat1-cli/src/main.rs index 569c5d29e2..ab97c422dd 100644 --- a/gen/chat1-cli/src/main.rs +++ b/gen/chat1-cli/src/main.rs @@ -1999,7 +1999,7 @@ async fn main() { let mut app = App::new("chat1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Enables bots to fetch information and perform actions in Google Chat.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chat1_cli") .arg(Arg::with_name("folder") diff --git a/gen/chat1/Cargo.toml b/gen/chat1/Cargo.toml index ce08a0d334..f30f60a4c4 100644 --- a/gen/chat1/Cargo.toml +++ b/gen/chat1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chat1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Hangouts Chat (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chat1" homepage = "https://developers.google.com/hangouts/chat" -documentation = "https://docs.rs/google-chat1/2.0.4+20210324" +documentation = "https://docs.rs/google-chat1/2.0.5+20210324" license = "MIT" keywords = ["chat", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chat1/README.md b/gen/chat1/README.md index 3e95c6745d..55e7d36e33 100644 --- a/gen/chat1/README.md +++ b/gen/chat1/README.md @@ -5,27 +5,27 @@ DO NOT EDIT ! --> The `google-chat1` library allows access to all features of the *Google Hangouts Chat* service. -This documentation was generated from *Hangouts Chat* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Hangouts Chat* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Hangouts Chat* *v1* API can be found at the [official documentation site](https://developers.google.com/hangouts/chat). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/HangoutsChat) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/HangoutsChat) ... * dms - * [*conversations messages*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::DmConversationMessageCall), [*messages*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::DmMessageCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::DmWebhookCall) -* [media](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::Media) - * [*download*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::MediaDownloadCall) + * [*conversations messages*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::DmConversationMessageCall), [*messages*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::DmMessageCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::DmWebhookCall) +* [media](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::Media) + * [*download*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::MediaDownloadCall) * rooms - * [*conversations messages*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::RoomConversationMessageCall), [*messages*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::RoomMessageCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::RoomWebhookCall) -* [spaces](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::Space) - * [*get*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceGetCall), [*list*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceListCall), [*members get*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMemberGetCall), [*members list*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMemberListCall), [*messages attachments get*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMessageAttachmentGetCall), [*messages create*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMessageCreateCall), [*messages delete*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMessageDeleteCall), [*messages get*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMessageGetCall), [*messages update*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceMessageUpdateCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::SpaceWebhookCall) + * [*conversations messages*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::RoomConversationMessageCall), [*messages*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::RoomMessageCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::RoomWebhookCall) +* [spaces](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::Space) + * [*get*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceGetCall), [*list*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceListCall), [*members get*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMemberGetCall), [*members list*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMemberListCall), [*messages attachments get*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMessageAttachmentGetCall), [*messages create*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMessageCreateCall), [*messages delete*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMessageDeleteCall), [*messages get*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMessageGetCall), [*messages update*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceMessageUpdateCall) and [*webhooks*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::SpaceWebhookCall) Download supported by ... -* [*download media*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/api::MediaDownloadCall) @@ -33,17 +33,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/HangoutsChat)** +* **[Hub](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/HangoutsChat)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Part)** + * **[Parts](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -83,9 +83,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-chat1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -152,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Delegate), 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-chat1/2.0.4+20210324/google_chat1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::ResponseResult), 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")`. @@ -172,29 +169,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::CallBuilder) 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-chat1/2.0.4+20210324/google_chat1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Delegate) 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 [encodable](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::RequestValue) and -[decodable](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::RequestValue) and +[decodable](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chat1/2.0.4+20210324/google_chat1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::Part) 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-chat1/2.0.4+20210324/google_chat1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::CallBuilder), 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-chat1/2.0.4+20210324/google_chat1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chat1/2.0.5+20210324/google_chat1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chat1/src/api.rs b/gen/chat1/src/api.rs index baf9e94969..c47c0bb0c8 100644 --- a/gen/chat1/src/api.rs +++ b/gen/chat1/src/api.rs @@ -99,7 +99,7 @@ impl<'a, > HangoutsChat<> { HangoutsChat { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://chat.googleapis.com/".to_string(), _root_url: "https://chat.googleapis.com/".to_string(), } @@ -119,7 +119,7 @@ impl<'a, > HangoutsChat<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/chat1/src/client.rs b/gen/chat1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/chat1/src/client.rs +++ b/gen/chat1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/chat1/src/lib.rs b/gen/chat1/src/lib.rs index 085b3fd050..7d3d5b17fb 100644 --- a/gen/chat1/src/lib.rs +++ b/gen/chat1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Hangouts Chat* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Hangouts Chat* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *chat:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Hangouts Chat* *v1* API can be found at the //! [official documentation site](https://developers.google.com/hangouts/chat). @@ -83,9 +83,6 @@ //! ```toml //! [dependencies] //! google-chat1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/chromemanagement1-cli/Cargo.toml b/gen/chromemanagement1-cli/Cargo.toml index ffdae88bb1..99b961e5af 100644 --- a/gen/chromemanagement1-cli/Cargo.toml +++ b/gen/chromemanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chromemanagement1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromemanagement1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chromemanagement1] path = "../chromemanagement1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/chromemanagement1-cli/README.md b/gen/chromemanagement1-cli/README.md index 216a944f1b..cce7a5d0e9 100644 --- a/gen/chromemanagement1-cli/README.md +++ b/gen/chromemanagement1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Chrome Management* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Chrome Management* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash chromemanagement1 [options] diff --git a/gen/chromemanagement1-cli/mkdocs.yml b/gen/chromemanagement1-cli/mkdocs.yml index e0b6707a17..95d317ee3f 100644 --- a/gen/chromemanagement1-cli/mkdocs.yml +++ b/gen/chromemanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome Management v2.0.4+20210330 +site_name: Chrome Management v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-chromemanagement1-cli site_description: A complete library to interact with Chrome Management (protocol v1) diff --git a/gen/chromemanagement1-cli/src/main.rs b/gen/chromemanagement1-cli/src/main.rs index e0ed6d2498..b8a8d7fcaa 100644 --- a/gen/chromemanagement1-cli/src/main.rs +++ b/gen/chromemanagement1-cli/src/main.rs @@ -414,7 +414,7 @@ async fn main() { let mut app = App::new("chromemanagement1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chromemanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/chromemanagement1/Cargo.toml b/gen/chromemanagement1/Cargo.toml index 516188ca06..c26553dcc1 100644 --- a/gen/chromemanagement1/Cargo.toml +++ b/gen/chromemanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromemanagement1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromemanagement1" homepage = "http://developers.google.com/chrome/management/" -documentation = "https://docs.rs/google-chromemanagement1/2.0.4+20210330" +documentation = "https://docs.rs/google-chromemanagement1/2.0.5+20210330" license = "MIT" keywords = ["chromemanagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chromemanagement1/README.md b/gen/chromemanagement1/README.md index fa5cf6845f..907b440be3 100644 --- a/gen/chromemanagement1/README.md +++ b/gen/chromemanagement1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-chromemanagement1` library allows access to all features of the *Google Chrome Management* service. -This documentation was generated from *Chrome Management* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Chrome Management* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Chrome Management* *v1* API can be found at the [official documentation site](http://developers.google.com/chrome/management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/ChromeManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/ChromeManagement) ... * customers - * [*reports count chrome versions*](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/api::CustomerReportCountChromeVersionCall), [*reports count installed apps*](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/api::CustomerReportCountInstalledAppCall) and [*reports find installed app devices*](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/api::CustomerReportFindInstalledAppDeviceCall) + * [*reports count chrome versions*](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/api::CustomerReportCountChromeVersionCall), [*reports count installed apps*](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/api::CustomerReportCountInstalledAppCall) and [*reports find installed app devices*](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/api::CustomerReportFindInstalledAppDeviceCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/ChromeManagement)** +* **[Hub](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/ChromeManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Part)** + * **[Parts](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-chromemanagement1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -130,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Delegate), 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-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::CallBuilder) 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-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Delegate) 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 [encodable](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::Part) 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-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::CallBuilder), 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-chromemanagement1/2.0.4+20210330/google_chromemanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromemanagement1/2.0.5+20210330/google_chromemanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chromemanagement1/src/api.rs b/gen/chromemanagement1/src/api.rs index 43f4159231..2b7e767e1a 100644 --- a/gen/chromemanagement1/src/api.rs +++ b/gen/chromemanagement1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > ChromeManagement<> { ChromeManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://chromemanagement.googleapis.com/".to_string(), _root_url: "https://chromemanagement.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > ChromeManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/chromemanagement1/src/client.rs b/gen/chromemanagement1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/chromemanagement1/src/client.rs +++ b/gen/chromemanagement1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/chromemanagement1/src/lib.rs b/gen/chromemanagement1/src/lib.rs index 57698210d2..44fa757764 100644 --- a/gen/chromemanagement1/src/lib.rs +++ b/gen/chromemanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Chrome Management* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Chrome Management* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Chrome Management* *v1* API can be found at the //! [official documentation site](http://developers.google.com/chrome/management/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-chromemanagement1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/chromepolicy1-cli/Cargo.toml b/gen/chromepolicy1-cli/Cargo.toml index e2ac674a58..4bc400e2a3 100644 --- a/gen/chromepolicy1-cli/Cargo.toml +++ b/gen/chromepolicy1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chromepolicy1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Policy (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromepolicy1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chromepolicy1] path = "../chromepolicy1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/chromepolicy1-cli/README.md b/gen/chromepolicy1-cli/README.md index 8eb40c79bf..57ad49add5 100644 --- a/gen/chromepolicy1-cli/README.md +++ b/gen/chromepolicy1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Chrome Policy* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Chrome Policy* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash chromepolicy1 [options] diff --git a/gen/chromepolicy1-cli/mkdocs.yml b/gen/chromepolicy1-cli/mkdocs.yml index 00f232b06a..459e76de44 100644 --- a/gen/chromepolicy1-cli/mkdocs.yml +++ b/gen/chromepolicy1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome Policy v2.0.4+20210329 +site_name: Chrome Policy v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-chromepolicy1-cli site_description: A complete library to interact with Chrome Policy (protocol v1) diff --git a/gen/chromepolicy1-cli/src/main.rs b/gen/chromepolicy1-cli/src/main.rs index cf82793275..a6ed505ec8 100644 --- a/gen/chromepolicy1-cli/src/main.rs +++ b/gen/chromepolicy1-cli/src/main.rs @@ -646,7 +646,7 @@ async fn main() { let mut app = App::new("chromepolicy1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chromepolicy1_cli") .arg(Arg::with_name("url") diff --git a/gen/chromepolicy1/Cargo.toml b/gen/chromepolicy1/Cargo.toml index ac568e09da..ec0e45e70d 100644 --- a/gen/chromepolicy1/Cargo.toml +++ b/gen/chromepolicy1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromepolicy1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Policy (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromepolicy1" homepage = "http://developers.google.com/chrome/policy" -documentation = "https://docs.rs/google-chromepolicy1/2.0.4+20210329" +documentation = "https://docs.rs/google-chromepolicy1/2.0.5+20210329" license = "MIT" keywords = ["chromepolicy", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chromepolicy1/README.md b/gen/chromepolicy1/README.md index c4f2fbef11..0514ce9f7d 100644 --- a/gen/chromepolicy1/README.md +++ b/gen/chromepolicy1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-chromepolicy1` library allows access to all features of the *Google Chrome Policy* service. -This documentation was generated from *Chrome Policy* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Chrome Policy* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Chrome Policy* *v1* API can be found at the [official documentation site](http://developers.google.com/chrome/policy). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/ChromePolicy) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/ChromePolicy) ... * customers - * [*policies orgunits batch inherit*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/api::CustomerPolicyOrgunitBatchInheritCall), [*policies orgunits batch modify*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/api::CustomerPolicyOrgunitBatchModifyCall), [*policies resolve*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/api::CustomerPolicyResolveCall), [*policy schemas get*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/api::CustomerPolicySchemaGetCall) and [*policy schemas list*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/api::CustomerPolicySchemaListCall) + * [*policies orgunits batch inherit*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/api::CustomerPolicyOrgunitBatchInheritCall), [*policies orgunits batch modify*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/api::CustomerPolicyOrgunitBatchModifyCall), [*policies resolve*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/api::CustomerPolicyResolveCall), [*policy schemas get*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/api::CustomerPolicySchemaGetCall) and [*policy schemas list*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/api::CustomerPolicySchemaListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/ChromePolicy)** +* **[Hub](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/ChromePolicy)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Part)** + * **[Parts](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-chromepolicy1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Delegate), 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-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::CallBuilder) 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-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Delegate) 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 [encodable](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::RequestValue) and -[decodable](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::RequestValue) and +[decodable](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::Part) 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-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::CallBuilder), 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-chromepolicy1/2.0.4+20210329/google_chromepolicy1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromepolicy1/2.0.5+20210329/google_chromepolicy1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chromepolicy1/src/api.rs b/gen/chromepolicy1/src/api.rs index 7a4e29fb41..de8ec6cd40 100644 --- a/gen/chromepolicy1/src/api.rs +++ b/gen/chromepolicy1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > ChromePolicy<> { ChromePolicy { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://chromepolicy.googleapis.com/".to_string(), _root_url: "https://chromepolicy.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > ChromePolicy<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/chromepolicy1/src/client.rs b/gen/chromepolicy1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/chromepolicy1/src/client.rs +++ b/gen/chromepolicy1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/chromepolicy1/src/lib.rs b/gen/chromepolicy1/src/lib.rs index 6ea5f23ac4..3f486f6692 100644 --- a/gen/chromepolicy1/src/lib.rs +++ b/gen/chromepolicy1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Chrome Policy* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Chrome Policy* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Chrome Policy* *v1* API can be found at the //! [official documentation site](http://developers.google.com/chrome/policy). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-chromepolicy1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/chromeuxreport1-cli/Cargo.toml b/gen/chromeuxreport1-cli/Cargo.toml index c8bdf73855..55dad34803 100644 --- a/gen/chromeuxreport1-cli/Cargo.toml +++ b/gen/chromeuxreport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chromeuxreport1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome UX Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromeuxreport1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chromeuxreport1] path = "../chromeuxreport1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/chromeuxreport1-cli/README.md b/gen/chromeuxreport1-cli/README.md index e5649c32f6..c9f743b7e9 100644 --- a/gen/chromeuxreport1-cli/README.md +++ b/gen/chromeuxreport1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Chrome UX Report* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Chrome UX Report* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash chromeuxreport1 [options] diff --git a/gen/chromeuxreport1-cli/mkdocs.yml b/gen/chromeuxreport1-cli/mkdocs.yml index 75e21be514..71a11db955 100644 --- a/gen/chromeuxreport1-cli/mkdocs.yml +++ b/gen/chromeuxreport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome UX Report v2.0.4+20210330 +site_name: Chrome UX Report v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-chromeuxreport1-cli site_description: A complete library to interact with Chrome UX Report (protocol v1) diff --git a/gen/chromeuxreport1-cli/src/main.rs b/gen/chromeuxreport1-cli/src/main.rs index befabb562f..4de75adc92 100644 --- a/gen/chromeuxreport1-cli/src/main.rs +++ b/gen/chromeuxreport1-cli/src/main.rs @@ -243,7 +243,7 @@ async fn main() { let mut app = App::new("chromeuxreport1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The Chrome UX Report API lets you view real user experience data for millions of websites. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chromeuxreport1_cli") .arg(Arg::with_name("folder") diff --git a/gen/chromeuxreport1/Cargo.toml b/gen/chromeuxreport1/Cargo.toml index 265017c176..c8f23d7851 100644 --- a/gen/chromeuxreport1/Cargo.toml +++ b/gen/chromeuxreport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromeuxreport1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome UX Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromeuxreport1" homepage = "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference" -documentation = "https://docs.rs/google-chromeuxreport1/2.0.4+20210330" +documentation = "https://docs.rs/google-chromeuxreport1/2.0.5+20210330" license = "MIT" keywords = ["chromeuxreport", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/chromeuxreport1/README.md b/gen/chromeuxreport1/README.md index 8aa942a10c..cbe46a5270 100644 --- a/gen/chromeuxreport1/README.md +++ b/gen/chromeuxreport1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-chromeuxreport1` library allows access to all features of the *Google Chrome UX Report* service. -This documentation was generated from *Chrome UX Report* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Chrome UX Report* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Chrome UX Report* *v1* API can be found at the [official documentation site](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/ChromeUXReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/ChromeUXReport) ... -* [records](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/api::Record) - * [*query record*](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/api::RecordQueryRecordCall) +* [records](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/api::Record) + * [*query record*](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/api::RecordQueryRecordCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/ChromeUXReport)** +* **[Hub](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/ChromeUXReport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Part)** + * **[Parts](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-chromeuxreport1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Delegate), 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-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::CallBuilder) 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-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Delegate) 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 [encodable](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::RequestValue) and -[decodable](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::RequestValue) and +[decodable](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::Part) 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-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::CallBuilder), 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-chromeuxreport1/2.0.4+20210330/google_chromeuxreport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromeuxreport1/2.0.5+20210330/google_chromeuxreport1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chromeuxreport1/src/api.rs b/gen/chromeuxreport1/src/api.rs index 5e0e46485c..036e925345 100644 --- a/gen/chromeuxreport1/src/api.rs +++ b/gen/chromeuxreport1/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > ChromeUXReport<> { ChromeUXReport { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://chromeuxreport.googleapis.com/".to_string(), _root_url: "https://chromeuxreport.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > ChromeUXReport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/chromeuxreport1/src/client.rs b/gen/chromeuxreport1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/chromeuxreport1/src/client.rs +++ b/gen/chromeuxreport1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/chromeuxreport1/src/lib.rs b/gen/chromeuxreport1/src/lib.rs index dcdec47101..ce40bf376e 100644 --- a/gen/chromeuxreport1/src/lib.rs +++ b/gen/chromeuxreport1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Chrome UX Report* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Chrome UX Report* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Chrome UX Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-chromeuxreport1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/classroom1-cli/Cargo.toml b/gen/classroom1-cli/Cargo.toml index d59b3122a4..ee9f0b6840 100644 --- a/gen/classroom1-cli/Cargo.toml +++ b/gen/classroom1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-classroom1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/classroom1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-classroom1] path = "../classroom1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/classroom1-cli/README.md b/gen/classroom1-cli/README.md index a0ab568655..6947d2763a 100644 --- a/gen/classroom1-cli/README.md +++ b/gen/classroom1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *classroom* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *classroom* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash classroom1 [options] diff --git a/gen/classroom1-cli/mkdocs.yml b/gen/classroom1-cli/mkdocs.yml index cbadca3400..5338ce502f 100644 --- a/gen/classroom1-cli/mkdocs.yml +++ b/gen/classroom1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: classroom v2.0.4+20210323 +site_name: classroom v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-classroom1-cli site_description: A complete library to interact with classroom (protocol v1) diff --git a/gen/classroom1-cli/src/main.rs b/gen/classroom1-cli/src/main.rs index 8fd833da54..f00d8974d5 100644 --- a/gen/classroom1-cli/src/main.rs +++ b/gen/classroom1-cli/src/main.rs @@ -6403,7 +6403,7 @@ async fn main() { let mut app = App::new("classroom1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("Manages classes, rosters, and invitations in Google Classroom.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_classroom1_cli") .arg(Arg::with_name("url") diff --git a/gen/classroom1/Cargo.toml b/gen/classroom1/Cargo.toml index aba36d097d..432ced06c6 100644 --- a/gen/classroom1/Cargo.toml +++ b/gen/classroom1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-classroom1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/classroom1" homepage = "https://developers.google.com/classroom/" -documentation = "https://docs.rs/google-classroom1/2.0.4+20210323" +documentation = "https://docs.rs/google-classroom1/2.0.5+20210323" license = "MIT" keywords = ["classroom", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/classroom1/README.md b/gen/classroom1/README.md index 86eb47095f..9084185ce4 100644 --- a/gen/classroom1/README.md +++ b/gen/classroom1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-classroom1` library allows access to all features of the *Google classroom* service. -This documentation was generated from *classroom* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *classroom* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *classroom* *v1* API can be found at the [official documentation site](https://developers.google.com/classroom/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/Classroom) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/Classroom) ... -* [courses](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::Course) - * [*aliases create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAliaseCreateCall), [*aliases delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAliaseDeleteCall), [*aliases list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAliaseListCall), [*announcements create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAnnouncementCreateCall), [*announcements delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAnnouncementDeleteCall), [*announcements get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAnnouncementGetCall), [*announcements list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAnnouncementListCall), [*announcements modify assignees*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAnnouncementModifyAssigneeCall), [*announcements patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseAnnouncementPatchCall), [*course work create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkCreateCall), [*course work delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkDeleteCall), [*course work get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkGetCall), [*course work list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkListCall), [*course work modify assignees*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkModifyAssigneeCall), [*course work patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkPatchCall), [*course work student submissions get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionGetCall), [*course work student submissions list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionListCall), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionModifyAttachmentCall), [*course work student submissions patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionPatchCall), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionReclaimCall), [*course work student submissions return*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionReturnCall), [*course work student submissions turn in*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionTurnInCall), [*course work materials create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkMaterialCreateCall), [*course work materials delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkMaterialDeleteCall), [*course work materials get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkMaterialGetCall), [*course work materials list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkMaterialListCall), [*course work materials patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCourseWorkMaterialPatchCall), [*create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseCreateCall), [*delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseDeleteCall), [*get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseGetCall), [*list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseListCall), [*patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CoursePatchCall), [*students create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseStudentCreateCall), [*students delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseStudentDeleteCall), [*students get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseStudentGetCall), [*students list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseStudentListCall), [*teachers create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTeacherCreateCall), [*teachers delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTeacherDeleteCall), [*teachers get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTeacherGetCall), [*teachers list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTeacherListCall), [*topics create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTopicCreateCall), [*topics delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTopicDeleteCall), [*topics get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTopicGetCall), [*topics list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTopicListCall), [*topics patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseTopicPatchCall) and [*update*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::CourseUpdateCall) -* [invitations](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::Invitation) - * [*accept*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::InvitationAcceptCall), [*create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::InvitationCreateCall), [*delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::InvitationDeleteCall), [*get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::InvitationGetCall) and [*list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::InvitationListCall) -* [registrations](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::Registration) - * [*create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::RegistrationCreateCall) and [*delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::RegistrationDeleteCall) -* [user profiles](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfile) - * [*get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGetCall), [*guardian invitations create*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianInvitationCreateCall), [*guardian invitations get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianInvitationGetCall), [*guardian invitations list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianInvitationListCall), [*guardian invitations patch*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianInvitationPatchCall), [*guardians delete*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianDeleteCall), [*guardians get*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianGetCall) and [*guardians list*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/api::UserProfileGuardianListCall) +* [courses](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::Course) + * [*aliases create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAliaseCreateCall), [*aliases delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAliaseDeleteCall), [*aliases list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAliaseListCall), [*announcements create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAnnouncementCreateCall), [*announcements delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAnnouncementDeleteCall), [*announcements get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAnnouncementGetCall), [*announcements list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAnnouncementListCall), [*announcements modify assignees*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAnnouncementModifyAssigneeCall), [*announcements patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseAnnouncementPatchCall), [*course work create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkCreateCall), [*course work delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkDeleteCall), [*course work get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkGetCall), [*course work list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkListCall), [*course work modify assignees*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkModifyAssigneeCall), [*course work patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkPatchCall), [*course work student submissions get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionGetCall), [*course work student submissions list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionListCall), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionModifyAttachmentCall), [*course work student submissions patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionPatchCall), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionReclaimCall), [*course work student submissions return*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionReturnCall), [*course work student submissions turn in*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkStudentSubmissionTurnInCall), [*course work materials create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkMaterialCreateCall), [*course work materials delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkMaterialDeleteCall), [*course work materials get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkMaterialGetCall), [*course work materials list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkMaterialListCall), [*course work materials patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCourseWorkMaterialPatchCall), [*create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseCreateCall), [*delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseDeleteCall), [*get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseGetCall), [*list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseListCall), [*patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CoursePatchCall), [*students create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseStudentCreateCall), [*students delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseStudentDeleteCall), [*students get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseStudentGetCall), [*students list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseStudentListCall), [*teachers create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTeacherCreateCall), [*teachers delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTeacherDeleteCall), [*teachers get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTeacherGetCall), [*teachers list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTeacherListCall), [*topics create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTopicCreateCall), [*topics delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTopicDeleteCall), [*topics get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTopicGetCall), [*topics list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTopicListCall), [*topics patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseTopicPatchCall) and [*update*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::CourseUpdateCall) +* [invitations](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::Invitation) + * [*accept*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::InvitationAcceptCall), [*create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::InvitationCreateCall), [*delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::InvitationDeleteCall), [*get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::InvitationGetCall) and [*list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::InvitationListCall) +* [registrations](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::Registration) + * [*create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::RegistrationCreateCall) and [*delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::RegistrationDeleteCall) +* [user profiles](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfile) + * [*get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGetCall), [*guardian invitations create*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianInvitationCreateCall), [*guardian invitations get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianInvitationGetCall), [*guardian invitations list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianInvitationListCall), [*guardian invitations patch*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianInvitationPatchCall), [*guardians delete*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianDeleteCall), [*guardians get*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianGetCall) and [*guardians list*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/api::UserProfileGuardianListCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/Classroom)** +* **[Hub](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/Classroom)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::CallBuilder) -* **[Resources](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::CallBuilder) +* **[Resources](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Part)** + * **[Parts](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -115,9 +115,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-classroom1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -182,17 +179,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::ResponseResult), 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")`. @@ -202,29 +199,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Delegate) to the -[Method Builder](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Delegate) to the +[Method Builder](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Delegate) 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 [encodable](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::RequestValue) and -[decodable](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::RequestValue) and +[decodable](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-classroom1/2.0.4+20210323/google_classroom1/client::RequestValue) are moved +* [request values](https://docs.rs/google-classroom1/2.0.5+20210323/google_classroom1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/classroom1/src/api.rs b/gen/classroom1/src/api.rs index 7441997f5f..dfbc13bec2 100644 --- a/gen/classroom1/src/api.rs +++ b/gen/classroom1/src/api.rs @@ -203,7 +203,7 @@ impl<'a, > Classroom<> { Classroom { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://classroom.googleapis.com/".to_string(), _root_url: "https://classroom.googleapis.com/".to_string(), } @@ -223,7 +223,7 @@ impl<'a, > Classroom<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/classroom1/src/client.rs b/gen/classroom1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/classroom1/src/client.rs +++ b/gen/classroom1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/classroom1/src/lib.rs b/gen/classroom1/src/lib.rs index 113b54151a..cd59a9a670 100644 --- a/gen/classroom1/src/lib.rs +++ b/gen/classroom1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *classroom* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *classroom* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *classroom* *v1* API can be found at the //! [official documentation site](https://developers.google.com/classroom/). @@ -115,9 +115,6 @@ //! ```toml //! [dependencies] //! google-classroom1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudasset1-cli/Cargo.toml b/gen/cloudasset1-cli/Cargo.toml index b6b3914017..33ffd72cf1 100644 --- a/gen/cloudasset1-cli/Cargo.toml +++ b/gen/cloudasset1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudasset1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudasset1] path = "../cloudasset1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/cloudasset1-cli/README.md b/gen/cloudasset1-cli/README.md index 3f46cf09c4..78a6d961d6 100644 --- a/gen/cloudasset1-cli/README.md +++ b/gen/cloudasset1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Asset* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Asset* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash cloudasset1 [options] diff --git a/gen/cloudasset1-cli/mkdocs.yml b/gen/cloudasset1-cli/mkdocs.yml index 935c23ebf6..ae6695c7e9 100644 --- a/gen/cloudasset1-cli/mkdocs.yml +++ b/gen/cloudasset1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v2.0.4+20210319 +site_name: Cloud Asset v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-cloudasset1-cli site_description: A complete library to interact with Cloud Asset (protocol v1) diff --git a/gen/cloudasset1-cli/src/main.rs b/gen/cloudasset1-cli/src/main.rs index b25d020cc1..d802e6beed 100644 --- a/gen/cloudasset1-cli/src/main.rs +++ b/gen/cloudasset1-cli/src/main.rs @@ -1349,7 +1349,7 @@ async fn main() { let mut app = App::new("cloudasset1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("The cloud asset API manages the history and inventory of cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudasset1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudasset1/Cargo.toml b/gen/cloudasset1/Cargo.toml index 59d59cf053..99e0391bf0 100644 --- a/gen/cloudasset1/Cargo.toml +++ b/gen/cloudasset1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1" homepage = "https://cloud.google.com/asset-inventory/docs/quickstart" -documentation = "https://docs.rs/google-cloudasset1/2.0.4+20210319" +documentation = "https://docs.rs/google-cloudasset1/2.0.5+20210319" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudasset1/README.md b/gen/cloudasset1/README.md index 486fb90c52..c41ee0e0ee 100644 --- a/gen/cloudasset1/README.md +++ b/gen/cloudasset1/README.md @@ -5,27 +5,27 @@ DO NOT EDIT ! --> The `google-cloudasset1` library allows access to all features of the *Google Cloud Asset* service. -This documentation was generated from *Cloud Asset* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Asset* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Asset* *v1* API can be found at the [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/CloudAsset) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/CloudAsset) ... -* [feeds](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::Feed) - * [*create*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::FeedCreateCall), [*delete*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::FeedDeleteCall), [*get*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::FeedGetCall), [*list*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::FeedListCall) and [*patch*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::FeedPatchCall) -* [operations](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::Operation) - * [*get*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::OperationGetCall) +* [feeds](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::Feed) + * [*create*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::FeedCreateCall), [*delete*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::FeedDeleteCall), [*get*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::FeedGetCall), [*list*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::FeedListCall) and [*patch*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::FeedPatchCall) +* [operations](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::Operation) + * [*get*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::OperationGetCall) Other activities are ... -* [analyze iam policy](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::MethodAnalyzeIamPolicyCall) -* [analyze iam policy longrunning](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::MethodAnalyzeIamPolicyLongrunningCall) -* [batch get assets history](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::MethodBatchGetAssetsHistoryCall) -* [export assets](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::MethodExportAssetCall) -* [search all iam policies](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::MethodSearchAllIamPolicyCall) -* [search all resources](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/api::MethodSearchAllResourceCall) +* [analyze iam policy](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::MethodAnalyzeIamPolicyCall) +* [analyze iam policy longrunning](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::MethodAnalyzeIamPolicyLongrunningCall) +* [batch get assets history](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::MethodBatchGetAssetsHistoryCall) +* [export assets](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::MethodExportAssetCall) +* [search all iam policies](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::MethodSearchAllIamPolicyCall) +* [search all resources](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/api::MethodSearchAllResourceCall) @@ -33,17 +33,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/CloudAsset)** +* **[Hub](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/CloudAsset)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Part)** + * **[Parts](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -78,9 +78,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudasset1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -146,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Delegate), 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-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -166,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::CallBuilder) 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-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1/2.0.4+20210319/google_cloudasset1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::Part) 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-cloudasset1/2.0.4+20210319/google_cloudasset1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::CallBuilder), 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-cloudasset1/2.0.4+20210319/google_cloudasset1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudasset1/2.0.5+20210319/google_cloudasset1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudasset1/src/api.rs b/gen/cloudasset1/src/api.rs index e8227dfadf..a10d814a1a 100644 --- a/gen/cloudasset1/src/api.rs +++ b/gen/cloudasset1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudAsset<> { CloudAsset { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudasset.googleapis.com/".to_string(), _root_url: "https://cloudasset.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > CloudAsset<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudasset1/src/client.rs b/gen/cloudasset1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudasset1/src/client.rs +++ b/gen/cloudasset1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudasset1/src/lib.rs b/gen/cloudasset1/src/lib.rs index 953e1bb126..e80bb002c3 100644 --- a/gen/cloudasset1/src/lib.rs +++ b/gen/cloudasset1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Asset* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Asset* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Asset* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). @@ -78,9 +78,6 @@ //! ```toml //! [dependencies] //! google-cloudasset1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudasset1_beta1-cli/Cargo.toml b/gen/cloudasset1_beta1-cli/Cargo.toml index 859ce479a5..2949267e8a 100644 --- a/gen/cloudasset1_beta1-cli/Cargo.toml +++ b/gen/cloudasset1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudasset1_beta1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudasset1_beta1] path = "../cloudasset1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/cloudasset1_beta1-cli/README.md b/gen/cloudasset1_beta1-cli/README.md index 100c1bf080..595d72a444 100644 --- a/gen/cloudasset1_beta1-cli/README.md +++ b/gen/cloudasset1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Asset* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Asset* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash cloudasset1-beta1 [options] diff --git a/gen/cloudasset1_beta1-cli/mkdocs.yml b/gen/cloudasset1_beta1-cli/mkdocs.yml index d520e94579..86bd0f8ea2 100644 --- a/gen/cloudasset1_beta1-cli/mkdocs.yml +++ b/gen/cloudasset1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v2.0.4+20210319 +site_name: Cloud Asset v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-cloudasset1_beta1-cli site_description: A complete library to interact with Cloud Asset (protocol v1beta1) diff --git a/gen/cloudasset1_beta1-cli/src/main.rs b/gen/cloudasset1_beta1-cli/src/main.rs index a1f3ef9fc3..5126b7f2b1 100644 --- a/gen/cloudasset1_beta1-cli/src/main.rs +++ b/gen/cloudasset1_beta1-cli/src/main.rs @@ -925,7 +925,7 @@ async fn main() { let mut app = App::new("cloudasset1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("The cloud asset API manages the history and inventory of cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudasset1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudasset1_beta1/Cargo.toml b/gen/cloudasset1_beta1/Cargo.toml index 2d3bdb43fa..44784496d8 100644 --- a/gen/cloudasset1_beta1/Cargo.toml +++ b/gen/cloudasset1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1_beta1" homepage = "https://cloud.google.com/asset-inventory/docs/quickstart" -documentation = "https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319" +documentation = "https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudasset1_beta1/README.md b/gen/cloudasset1_beta1/README.md index 83096a6a0e..507a93534a 100644 --- a/gen/cloudasset1_beta1/README.md +++ b/gen/cloudasset1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudasset1_beta1` library allows access to all features of the *Google Cloud Asset* service. -This documentation was generated from *Cloud Asset* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Asset* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Asset* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/CloudAsset) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/CloudAsset) ... * folders - * [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::FolderExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::FolderOperationGetCall) + * [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::FolderExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::FolderOperationGetCall) * organizations - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::OrganizationBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::OrganizationExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::OrganizationOperationGetCall) + * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::OrganizationBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::OrganizationExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::OrganizationOperationGetCall) * projects - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::ProjectBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::ProjectExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/api::ProjectOperationGetCall) + * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::ProjectBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::ProjectExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/api::ProjectOperationGetCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/CloudAsset)** +* **[Hub](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/CloudAsset)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudasset1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Delegate), 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-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::CallBuilder) 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-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::Part) 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-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::CallBuilder), 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-cloudasset1_beta1/2.0.4+20210319/google_cloudasset1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudasset1_beta1/2.0.5+20210319/google_cloudasset1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudasset1_beta1/src/api.rs b/gen/cloudasset1_beta1/src/api.rs index e11bc2ed06..00aa8fbab6 100644 --- a/gen/cloudasset1_beta1/src/api.rs +++ b/gen/cloudasset1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudAsset<> { CloudAsset { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudasset.googleapis.com/".to_string(), _root_url: "https://cloudasset.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > CloudAsset<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudasset1_beta1/src/client.rs b/gen/cloudasset1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudasset1_beta1/src/client.rs +++ b/gen/cloudasset1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudasset1_beta1/src/lib.rs b/gen/cloudasset1_beta1/src/lib.rs index 0b2d83dfc5..e35f065723 100644 --- a/gen/cloudasset1_beta1/src/lib.rs +++ b/gen/cloudasset1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Asset* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Asset* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Asset* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-cloudasset1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudbilling1-cli/Cargo.toml b/gen/cloudbilling1-cli/Cargo.toml index 1e60f98b2f..b6605ba1e9 100644 --- a/gen/cloudbilling1-cli/Cargo.toml +++ b/gen/cloudbilling1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbilling1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbilling1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudbilling1] path = "../cloudbilling1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/cloudbilling1-cli/README.md b/gen/cloudbilling1-cli/README.md index a18141bd1a..c93885a3ba 100644 --- a/gen/cloudbilling1-cli/README.md +++ b/gen/cloudbilling1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloudbilling* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloudbilling* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash cloudbilling1 [options] diff --git a/gen/cloudbilling1-cli/mkdocs.yml b/gen/cloudbilling1-cli/mkdocs.yml index d5611c092b..62a86f6e1b 100644 --- a/gen/cloudbilling1-cli/mkdocs.yml +++ b/gen/cloudbilling1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudbilling v2.0.4+20210322 +site_name: Cloudbilling v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-cloudbilling1-cli site_description: A complete library to interact with Cloudbilling (protocol v1) diff --git a/gen/cloudbilling1-cli/src/main.rs b/gen/cloudbilling1-cli/src/main.rs index cc5aafa429..08602854d7 100644 --- a/gen/cloudbilling1-cli/src/main.rs +++ b/gen/cloudbilling1-cli/src/main.rs @@ -1314,7 +1314,7 @@ async fn main() { let mut app = App::new("cloudbilling1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Allows developers to manage billing for their Google Cloud Platform projects programmatically.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudbilling1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudbilling1/Cargo.toml b/gen/cloudbilling1/Cargo.toml index 0e2be860d2..f3d9074923 100644 --- a/gen/cloudbilling1/Cargo.toml +++ b/gen/cloudbilling1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbilling1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbilling1" homepage = "https://cloud.google.com/billing/" -documentation = "https://docs.rs/google-cloudbilling1/2.0.4+20210322" +documentation = "https://docs.rs/google-cloudbilling1/2.0.5+20210322" license = "MIT" keywords = ["cloudbilling", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudbilling1/README.md b/gen/cloudbilling1/README.md index 2891ab66b7..1918144541 100644 --- a/gen/cloudbilling1/README.md +++ b/gen/cloudbilling1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudbilling1` library allows access to all features of the *Google Cloudbilling* service. -This documentation was generated from *Cloudbilling* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloudbilling* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloudbilling* *v1* API can be found at the [official documentation site](https://cloud.google.com/billing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/Cloudbilling) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/Cloudbilling) ... -* [billing accounts](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccount) - * [*create*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountCreateCall), [*get*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountGetCall), [*get iam policy*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountGetIamPolicyCall), [*list*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountListCall), [*patch*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountPatchCall), [*projects list*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountProjectListCall), [*set iam policy*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::BillingAccountTestIamPermissionCall) +* [billing accounts](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccount) + * [*create*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountCreateCall), [*get*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountGetCall), [*get iam policy*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountGetIamPolicyCall), [*list*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountListCall), [*patch*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountPatchCall), [*projects list*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountProjectListCall), [*set iam policy*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::BillingAccountTestIamPermissionCall) * projects - * [*get billing info*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::ProjectGetBillingInfoCall) and [*update billing info*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::ProjectUpdateBillingInfoCall) -* [services](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::Service) - * [*list*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::ServiceListCall) and [*skus list*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/api::ServiceSkuListCall) + * [*get billing info*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::ProjectGetBillingInfoCall) and [*update billing info*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::ProjectUpdateBillingInfoCall) +* [services](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::Service) + * [*list*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::ServiceListCall) and [*skus list*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/api::ServiceSkuListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/Cloudbilling)** +* **[Hub](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/Cloudbilling)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Part)** + * **[Parts](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudbilling1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudbilling1/2.0.4+20210322/google_cloudbilling1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudbilling1/2.0.5+20210322/google_cloudbilling1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudbilling1/src/api.rs b/gen/cloudbilling1/src/api.rs index cae7e812a6..9bce54927b 100644 --- a/gen/cloudbilling1/src/api.rs +++ b/gen/cloudbilling1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Cloudbilling<> { Cloudbilling { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudbilling.googleapis.com/".to_string(), _root_url: "https://cloudbilling.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > Cloudbilling<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudbilling1/src/client.rs b/gen/cloudbilling1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudbilling1/src/client.rs +++ b/gen/cloudbilling1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudbilling1/src/lib.rs b/gen/cloudbilling1/src/lib.rs index 66e0d8c5d4..15baf11334 100644 --- a/gen/cloudbilling1/src/lib.rs +++ b/gen/cloudbilling1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloudbilling* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloudbilling* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloudbilling* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-cloudbilling1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudbuild1-cli/Cargo.toml b/gen/cloudbuild1-cli/Cargo.toml index 924d29391c..30f6e3c682 100644 --- a/gen/cloudbuild1-cli/Cargo.toml +++ b/gen/cloudbuild1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbuild1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Build (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbuild1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudbuild1] path = "../cloudbuild1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/cloudbuild1-cli/README.md b/gen/cloudbuild1-cli/README.md index 24f6e68505..479438900a 100644 --- a/gen/cloudbuild1-cli/README.md +++ b/gen/cloudbuild1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Build* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Build* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash cloudbuild1 [options] diff --git a/gen/cloudbuild1-cli/mkdocs.yml b/gen/cloudbuild1-cli/mkdocs.yml index 18d3cd54ad..5bc8049131 100644 --- a/gen/cloudbuild1-cli/mkdocs.yml +++ b/gen/cloudbuild1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Build v2.0.4+20210329 +site_name: Cloud Build v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-cloudbuild1-cli site_description: A complete library to interact with Cloud Build (protocol v1) diff --git a/gen/cloudbuild1-cli/src/main.rs b/gen/cloudbuild1-cli/src/main.rs index e493d36f04..073011eee2 100644 --- a/gen/cloudbuild1-cli/src/main.rs +++ b/gen/cloudbuild1-cli/src/main.rs @@ -2661,7 +2661,7 @@ async fn main() { let mut app = App::new("cloudbuild1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Creates and manages builds on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudbuild1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudbuild1/Cargo.toml b/gen/cloudbuild1/Cargo.toml index 9e58971331..1021b42748 100644 --- a/gen/cloudbuild1/Cargo.toml +++ b/gen/cloudbuild1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbuild1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Build (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbuild1" homepage = "https://cloud.google.com/cloud-build/docs/" -documentation = "https://docs.rs/google-cloudbuild1/2.0.4+20210329" +documentation = "https://docs.rs/google-cloudbuild1/2.0.5+20210329" license = "MIT" keywords = ["cloudbuild", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudbuild1/README.md b/gen/cloudbuild1/README.md index 73bdca1586..ef6d533b6e 100644 --- a/gen/cloudbuild1/README.md +++ b/gen/cloudbuild1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudbuild1` library allows access to all features of the *Google Cloud Build* service. -This documentation was generated from *Cloud Build* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Build* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Build* *v1* API can be found at the [official documentation site](https://cloud.google.com/cloud-build/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/CloudBuild) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/CloudBuild) ... -* [operations](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::Operation) - * [*cancel*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::OperationCancelCall) and [*get*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::OperationGetCall) +* [operations](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::Operation) + * [*cancel*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::OperationCancelCall) and [*get*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::OperationGetCall) * projects - * [*builds cancel*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectBuildCancelCall), [*builds create*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectBuildCreateCall), [*builds get*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectBuildGetCall), [*builds list*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectBuildListCall), [*builds retry*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectBuildRetryCall), [*locations builds cancel*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationBuildCancelCall), [*locations builds create*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationBuildCreateCall), [*locations builds get*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationBuildGetCall), [*locations builds list*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationBuildListCall), [*locations builds retry*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationBuildRetryCall), [*locations operations cancel*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectLocationOperationGetCall), [*triggers create*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerCreateCall), [*triggers delete*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerDeleteCall), [*triggers get*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerGetCall), [*triggers list*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerListCall), [*triggers patch*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerPatchCall), [*triggers run*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerRunCall) and [*triggers webhook*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/api::ProjectTriggerWebhookCall) + * [*builds cancel*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectBuildCancelCall), [*builds create*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectBuildCreateCall), [*builds get*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectBuildGetCall), [*builds list*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectBuildListCall), [*builds retry*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectBuildRetryCall), [*locations builds cancel*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationBuildCancelCall), [*locations builds create*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationBuildCreateCall), [*locations builds get*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationBuildGetCall), [*locations builds list*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationBuildListCall), [*locations builds retry*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationBuildRetryCall), [*locations operations cancel*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectLocationOperationGetCall), [*triggers create*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerCreateCall), [*triggers delete*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerDeleteCall), [*triggers get*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerGetCall), [*triggers list*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerListCall), [*triggers patch*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerPatchCall), [*triggers run*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerRunCall) and [*triggers webhook*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/api::ProjectTriggerWebhookCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/CloudBuild)** +* **[Hub](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/CloudBuild)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Part)** + * **[Parts](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudbuild1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Delegate), 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-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::CallBuilder) 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-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::Part) 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-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::CallBuilder), 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-cloudbuild1/2.0.4+20210329/google_cloudbuild1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudbuild1/2.0.5+20210329/google_cloudbuild1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudbuild1/src/api.rs b/gen/cloudbuild1/src/api.rs index 97d8eaa390..7a560a8b2a 100644 --- a/gen/cloudbuild1/src/api.rs +++ b/gen/cloudbuild1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudBuild<> { CloudBuild { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudbuild.googleapis.com/".to_string(), _root_url: "https://cloudbuild.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudBuild<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudbuild1/src/client.rs b/gen/cloudbuild1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudbuild1/src/client.rs +++ b/gen/cloudbuild1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudbuild1/src/lib.rs b/gen/cloudbuild1/src/lib.rs index 067ebb456f..ee1cfe6d63 100644 --- a/gen/cloudbuild1/src/lib.rs +++ b/gen/cloudbuild1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Build* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Build* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Build* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/cloud-build/docs/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-cloudbuild1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudchannel1-cli/Cargo.toml b/gen/cloudchannel1-cli/Cargo.toml index 6f553e16f7..ea2623c691 100644 --- a/gen/cloudchannel1-cli/Cargo.toml +++ b/gen/cloudchannel1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudchannel1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudchannel (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudchannel1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudchannel1] path = "../cloudchannel1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/cloudchannel1-cli/README.md b/gen/cloudchannel1-cli/README.md index 77a443ffc1..7f70b9d621 100644 --- a/gen/cloudchannel1-cli/README.md +++ b/gen/cloudchannel1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloudchannel* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloudchannel* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash cloudchannel1 [options] diff --git a/gen/cloudchannel1-cli/mkdocs.yml b/gen/cloudchannel1-cli/mkdocs.yml index 836e19edd9..d3a97049cd 100644 --- a/gen/cloudchannel1-cli/mkdocs.yml +++ b/gen/cloudchannel1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudchannel v2.0.4+20210326 +site_name: Cloudchannel v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-cloudchannel1-cli site_description: A complete library to interact with Cloudchannel (protocol v1) diff --git a/gen/cloudchannel1-cli/src/main.rs b/gen/cloudchannel1-cli/src/main.rs index c36fd0f9d4..84bfc7a5e1 100644 --- a/gen/cloudchannel1-cli/src/main.rs +++ b/gen/cloudchannel1-cli/src/main.rs @@ -4640,7 +4640,7 @@ async fn main() { let mut app = App::new("cloudchannel1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudchannel1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudchannel1/Cargo.toml b/gen/cloudchannel1/Cargo.toml index 673e648aab..9ffff67aae 100644 --- a/gen/cloudchannel1/Cargo.toml +++ b/gen/cloudchannel1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudchannel1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudchannel (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudchannel1" homepage = "https://cloud.google.com/channel" -documentation = "https://docs.rs/google-cloudchannel1/2.0.4+20210326" +documentation = "https://docs.rs/google-cloudchannel1/2.0.5+20210326" license = "MIT" keywords = ["cloudchannel", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudchannel1/README.md b/gen/cloudchannel1/README.md index 28b8dc800f..0b4d83fd89 100644 --- a/gen/cloudchannel1/README.md +++ b/gen/cloudchannel1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudchannel1` library allows access to all features of the *Google Cloudchannel* service. -This documentation was generated from *Cloudchannel* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloudchannel* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloudchannel* *v1* API can be found at the [official documentation site](https://cloud.google.com/channel). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/Cloudchannel) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/Cloudchannel) ... * accounts - * [*channel partner links create*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCreateCall), [*channel partner links customers create*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerCreateCall), [*channel partner links customers delete*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerDeleteCall), [*channel partner links customers get*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerGetCall), [*channel partner links customers list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerListCall), [*channel partner links customers patch*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerPatchCall), [*channel partner links get*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkGetCall), [*channel partner links list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkListCall), [*channel partner links patch*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkPatchCall), [*check cloud identity accounts exist*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCheckCloudIdentityAccountsExistCall), [*customers create*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerCreateCall), [*customers delete*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerDeleteCall), [*customers entitlements activate*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementActivateCall), [*customers entitlements cancel*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementCancelCall), [*customers entitlements change offer*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeOfferCall), [*customers entitlements change parameters*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeParameterCall), [*customers entitlements change renewal settings*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeRenewalSettingCall), [*customers entitlements create*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementCreateCall), [*customers entitlements get*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementGetCall), [*customers entitlements list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementListCall), [*customers entitlements start paid service*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementStartPaidServiceCall), [*customers entitlements suspend*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerEntitlementSuspendCall), [*customers get*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerGetCall), [*customers list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerListCall), [*customers list purchasable offers*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerListPurchasableOfferCall), [*customers list purchasable skus*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerListPurchasableSkuCall), [*customers patch*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerPatchCall), [*customers provision cloud identity*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerProvisionCloudIdentityCall), [*customers transfer entitlements*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerTransferEntitlementCall), [*customers transfer entitlements to google*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountCustomerTransferEntitlementsToGoogleCall), [*list subscribers*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountListSubscriberCall), [*list transferable offers*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountListTransferableOfferCall), [*list transferable skus*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountListTransferableSkuCall), [*offers list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountOfferListCall), [*register*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountRegisterCall) and [*unregister*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::AccountUnregisterCall) + * [*channel partner links create*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCreateCall), [*channel partner links customers create*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerCreateCall), [*channel partner links customers delete*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerDeleteCall), [*channel partner links customers get*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerGetCall), [*channel partner links customers list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerListCall), [*channel partner links customers patch*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerPatchCall), [*channel partner links get*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkGetCall), [*channel partner links list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkListCall), [*channel partner links patch*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountChannelPartnerLinkPatchCall), [*check cloud identity accounts exist*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCheckCloudIdentityAccountsExistCall), [*customers create*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerCreateCall), [*customers delete*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerDeleteCall), [*customers entitlements activate*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementActivateCall), [*customers entitlements cancel*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementCancelCall), [*customers entitlements change offer*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeOfferCall), [*customers entitlements change parameters*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeParameterCall), [*customers entitlements change renewal settings*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementChangeRenewalSettingCall), [*customers entitlements create*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementCreateCall), [*customers entitlements get*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementGetCall), [*customers entitlements list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementListCall), [*customers entitlements start paid service*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementStartPaidServiceCall), [*customers entitlements suspend*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerEntitlementSuspendCall), [*customers get*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerGetCall), [*customers list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerListCall), [*customers list purchasable offers*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerListPurchasableOfferCall), [*customers list purchasable skus*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerListPurchasableSkuCall), [*customers patch*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerPatchCall), [*customers provision cloud identity*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerProvisionCloudIdentityCall), [*customers transfer entitlements*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerTransferEntitlementCall), [*customers transfer entitlements to google*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountCustomerTransferEntitlementsToGoogleCall), [*list subscribers*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountListSubscriberCall), [*list transferable offers*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountListTransferableOfferCall), [*list transferable skus*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountListTransferableSkuCall), [*offers list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountOfferListCall), [*register*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountRegisterCall) and [*unregister*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::AccountUnregisterCall) * operations - * [*cancel*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::OperationListCall) + * [*cancel*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::OperationListCall) * products - * [*list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::ProductListCall) and [*skus list*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/api::ProductSkuListCall) + * [*list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::ProductListCall) and [*skus list*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/api::ProductSkuListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/Cloudchannel)** +* **[Hub](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/Cloudchannel)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Part)** + * **[Parts](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -79,9 +79,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudchannel1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -147,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Delegate), 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-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::ResponseResult), 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")`. @@ -167,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::CallBuilder) 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-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::Part) 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-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::CallBuilder), 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-cloudchannel1/2.0.4+20210326/google_cloudchannel1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudchannel1/2.0.5+20210326/google_cloudchannel1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudchannel1/src/api.rs b/gen/cloudchannel1/src/api.rs index b5d1e8b5c7..5a0ff4375f 100644 --- a/gen/cloudchannel1/src/api.rs +++ b/gen/cloudchannel1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Cloudchannel<> { Cloudchannel { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudchannel.googleapis.com/".to_string(), _root_url: "https://cloudchannel.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Cloudchannel<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudchannel1/src/client.rs b/gen/cloudchannel1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudchannel1/src/client.rs +++ b/gen/cloudchannel1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudchannel1/src/lib.rs b/gen/cloudchannel1/src/lib.rs index 0f946be7dc..d331ecc46f 100644 --- a/gen/cloudchannel1/src/lib.rs +++ b/gen/cloudchannel1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloudchannel* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloudchannel* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloudchannel* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/channel). @@ -79,9 +79,6 @@ //! ```toml //! [dependencies] //! google-cloudchannel1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/clouddebugger2-cli/Cargo.toml b/gen/clouddebugger2-cli/Cargo.toml index 0f1573f0a3..102768f75b 100644 --- a/gen/clouddebugger2-cli/Cargo.toml +++ b/gen/clouddebugger2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouddebugger2-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouddebugger2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouddebugger2] path = "../clouddebugger2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/clouddebugger2-cli/README.md b/gen/clouddebugger2-cli/README.md index dbc65be489..5fdb365757 100644 --- a/gen/clouddebugger2-cli/README.md +++ b/gen/clouddebugger2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Debugger* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Debugger* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash clouddebugger2 [options] diff --git a/gen/clouddebugger2-cli/mkdocs.yml b/gen/clouddebugger2-cli/mkdocs.yml index c5d5e97138..e4b1821414 100644 --- a/gen/clouddebugger2-cli/mkdocs.yml +++ b/gen/clouddebugger2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Debugger v2.0.4+20210326 +site_name: Cloud Debugger v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-clouddebugger2-cli site_description: A complete library to interact with Cloud Debugger (protocol v2) diff --git a/gen/clouddebugger2-cli/src/main.rs b/gen/clouddebugger2-cli/src/main.rs index 135c1322eb..f6d17e5981 100644 --- a/gen/clouddebugger2-cli/src/main.rs +++ b/gen/clouddebugger2-cli/src/main.rs @@ -986,7 +986,7 @@ async fn main() { let mut app = App::new("clouddebugger2") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Examines the call stack and variables of a running application without stopping or slowing it down. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouddebugger2_cli") .arg(Arg::with_name("url") diff --git a/gen/clouddebugger2/Cargo.toml b/gen/clouddebugger2/Cargo.toml index 5692cbd250..4c10beb659 100644 --- a/gen/clouddebugger2/Cargo.toml +++ b/gen/clouddebugger2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouddebugger2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouddebugger2" homepage = "https://cloud.google.com/debugger" -documentation = "https://docs.rs/google-clouddebugger2/2.0.4+20210326" +documentation = "https://docs.rs/google-clouddebugger2/2.0.5+20210326" license = "MIT" keywords = ["clouddebugger", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/clouddebugger2/README.md b/gen/clouddebugger2/README.md index accab0a0b4..5b26be83ac 100644 --- a/gen/clouddebugger2/README.md +++ b/gen/clouddebugger2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-clouddebugger2` library allows access to all features of the *Google Cloud Debugger* service. -This documentation was generated from *Cloud Debugger* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Debugger* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Debugger* *v2* API can be found at the [official documentation site](https://cloud.google.com/debugger). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/CloudDebugger) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/CloudDebugger) ... * controller - * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::ControllerDebuggeeBreakpointListCall), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::ControllerDebuggeeBreakpointUpdateCall) and [*debuggees register*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::ControllerDebuggeeRegisterCall) + * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::ControllerDebuggeeBreakpointListCall), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::ControllerDebuggeeBreakpointUpdateCall) and [*debuggees register*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::ControllerDebuggeeRegisterCall) * debugger - * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointDeleteCall), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointGetCall), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointListCall), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointSetCall) and [*debuggees list*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/api::DebuggerDebuggeeListCall) + * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointDeleteCall), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointGetCall), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointListCall), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::DebuggerDebuggeeBreakpointSetCall) and [*debuggees list*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/api::DebuggerDebuggeeListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/CloudDebugger)** +* **[Hub](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/CloudDebugger)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Part)** + * **[Parts](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-clouddebugger2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Delegate) 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 [encodable](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::RequestValue) and -[decodable](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::RequestValue) and +[decodable](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-clouddebugger2/2.0.4+20210326/google_clouddebugger2/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouddebugger2/2.0.5+20210326/google_clouddebugger2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouddebugger2/src/api.rs b/gen/clouddebugger2/src/api.rs index e868223614..8a12652296 100644 --- a/gen/clouddebugger2/src/api.rs +++ b/gen/clouddebugger2/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > CloudDebugger<> { CloudDebugger { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://clouddebugger.googleapis.com/".to_string(), _root_url: "https://clouddebugger.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > CloudDebugger<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouddebugger2/src/client.rs b/gen/clouddebugger2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/clouddebugger2/src/client.rs +++ b/gen/clouddebugger2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/clouddebugger2/src/lib.rs b/gen/clouddebugger2/src/lib.rs index abc268441d..f1d219f712 100644 --- a/gen/clouddebugger2/src/lib.rs +++ b/gen/clouddebugger2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Debugger* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Debugger* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Debugger* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/debugger). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-clouddebugger2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/clouderrorreporting1_beta1-cli/Cargo.toml b/gen/clouderrorreporting1_beta1-cli/Cargo.toml index 801ec54c03..ef197f5234 100644 --- a/gen/clouderrorreporting1_beta1-cli/Cargo.toml +++ b/gen/clouderrorreporting1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouderrorreporting1_beta1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Clouderrorreporting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouderrorreporting1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouderrorreporting1_beta1] path = "../clouderrorreporting1_beta1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/clouderrorreporting1_beta1-cli/README.md b/gen/clouderrorreporting1_beta1-cli/README.md index 103c21d51d..f3dba8afa4 100644 --- a/gen/clouderrorreporting1_beta1-cli/README.md +++ b/gen/clouderrorreporting1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Clouderrorreporting* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Clouderrorreporting* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash clouderrorreporting1-beta1 [options] diff --git a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml index 45a1ac7f41..b49420564e 100644 --- a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml +++ b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Clouderrorreporting v2.0.4+20210323 +site_name: Clouderrorreporting v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-clouderrorreporting1_beta1-cli site_description: A complete library to interact with Clouderrorreporting (protocol v1beta1) diff --git a/gen/clouderrorreporting1_beta1-cli/src/main.rs b/gen/clouderrorreporting1_beta1-cli/src/main.rs index 3e90ca6457..6223dd8dc7 100644 --- a/gen/clouderrorreporting1_beta1-cli/src/main.rs +++ b/gen/clouderrorreporting1_beta1-cli/src/main.rs @@ -744,7 +744,7 @@ async fn main() { let mut app = App::new("clouderrorreporting1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouderrorreporting1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/clouderrorreporting1_beta1/Cargo.toml b/gen/clouderrorreporting1_beta1/Cargo.toml index 7c0b48800d..56cbd3db66 100644 --- a/gen/clouderrorreporting1_beta1/Cargo.toml +++ b/gen/clouderrorreporting1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouderrorreporting1_beta1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Clouderrorreporting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouderrorreporting1_beta1" homepage = "https://cloud.google.com/error-reporting/" -documentation = "https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323" +documentation = "https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323" license = "MIT" keywords = ["clouderrorreporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/clouderrorreporting1_beta1/README.md b/gen/clouderrorreporting1_beta1/README.md index 2257c8b991..54d8372896 100644 --- a/gen/clouderrorreporting1_beta1/README.md +++ b/gen/clouderrorreporting1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-clouderrorreporting1_beta1` library allows access to all features of the *Google Clouderrorreporting* service. -This documentation was generated from *Clouderrorreporting* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Clouderrorreporting* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Clouderrorreporting* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/error-reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting) ... * projects - * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/api::ProjectDeleteEventCall), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/api::ProjectEventListCall), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/api::ProjectEventReportCall), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupStatListCall), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupGetCall) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupUpdateCall) + * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/api::ProjectDeleteEventCall), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/api::ProjectEventListCall), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/api::ProjectEventReportCall), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupStatListCall), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupGetCall) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/api::ProjectGroupUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting)** +* **[Hub](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/Clouderrorreporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-clouderrorreporting1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Delegate), 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-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::CallBuilder) 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-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::Part) 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-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::CallBuilder), 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-clouderrorreporting1_beta1/2.0.4+20210323/google_clouderrorreporting1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouderrorreporting1_beta1/2.0.5+20210323/google_clouderrorreporting1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouderrorreporting1_beta1/src/api.rs b/gen/clouderrorreporting1_beta1/src/api.rs index 511f7b7671..d5e99e871d 100644 --- a/gen/clouderrorreporting1_beta1/src/api.rs +++ b/gen/clouderrorreporting1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Clouderrorreporting<> { Clouderrorreporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://clouderrorreporting.googleapis.com/".to_string(), _root_url: "https://clouderrorreporting.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Clouderrorreporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouderrorreporting1_beta1/src/client.rs b/gen/clouderrorreporting1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/clouderrorreporting1_beta1/src/client.rs +++ b/gen/clouderrorreporting1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/clouderrorreporting1_beta1/src/lib.rs b/gen/clouderrorreporting1_beta1/src/lib.rs index 5a15402eb1..7108338032 100644 --- a/gen/clouderrorreporting1_beta1/src/lib.rs +++ b/gen/clouderrorreporting1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Clouderrorreporting* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Clouderrorreporting* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Clouderrorreporting* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/error-reporting/). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-clouderrorreporting1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudfunctions1-cli/Cargo.toml b/gen/cloudfunctions1-cli/Cargo.toml index 273776a95e..6fc77af74d 100644 --- a/gen/cloudfunctions1-cli/Cargo.toml +++ b/gen/cloudfunctions1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudfunctions1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Functions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudfunctions1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudfunctions1] path = "../cloudfunctions1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/cloudfunctions1-cli/README.md b/gen/cloudfunctions1-cli/README.md index c3686d7bf6..b0f73e33c9 100644 --- a/gen/cloudfunctions1-cli/README.md +++ b/gen/cloudfunctions1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Functions* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Functions* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash cloudfunctions1 [options] diff --git a/gen/cloudfunctions1-cli/mkdocs.yml b/gen/cloudfunctions1-cli/mkdocs.yml index 50fb43e9ad..f99f9ed3ef 100644 --- a/gen/cloudfunctions1-cli/mkdocs.yml +++ b/gen/cloudfunctions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Functions v2.0.4+20210325 +site_name: Cloud Functions v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-cloudfunctions1-cli site_description: A complete library to interact with Cloud Functions (protocol v1) diff --git a/gen/cloudfunctions1-cli/src/main.rs b/gen/cloudfunctions1-cli/src/main.rs index b8e92b2141..b5252f6ff3 100644 --- a/gen/cloudfunctions1-cli/src/main.rs +++ b/gen/cloudfunctions1-cli/src/main.rs @@ -1585,7 +1585,7 @@ async fn main() { let mut app = App::new("cloudfunctions1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Manages lightweight user-provided functions executed in response to events.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudfunctions1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudfunctions1/Cargo.toml b/gen/cloudfunctions1/Cargo.toml index b966d144e3..c68f846282 100644 --- a/gen/cloudfunctions1/Cargo.toml +++ b/gen/cloudfunctions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudfunctions1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Functions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudfunctions1" homepage = "https://cloud.google.com/functions" -documentation = "https://docs.rs/google-cloudfunctions1/2.0.4+20210325" +documentation = "https://docs.rs/google-cloudfunctions1/2.0.5+20210325" license = "MIT" keywords = ["cloudfunctions", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudfunctions1/README.md b/gen/cloudfunctions1/README.md index 7ae1b99198..2928a2a6db 100644 --- a/gen/cloudfunctions1/README.md +++ b/gen/cloudfunctions1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudfunctions1` library allows access to all features of the *Google Cloud Functions* service. -This documentation was generated from *Cloud Functions* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Functions* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Functions* *v1* API can be found at the [official documentation site](https://cloud.google.com/functions). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/CloudFunctions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/CloudFunctions) ... -* [operations](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::Operation) - * [*get*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::OperationListCall) +* [operations](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::Operation) + * [*get*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::OperationListCall) * projects - * [*locations functions call*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionCallCall), [*locations functions create*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionCreateCall), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionDeleteCall), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGenerateDownloadUrlCall), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGenerateUploadUrlCall), [*locations functions get*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGetCall), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGetIamPolicyCall), [*locations functions list*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionListCall), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionPatchCall), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionSetIamPolicyCall), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationFunctionTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/api::ProjectLocationListCall) + * [*locations functions call*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionCallCall), [*locations functions create*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionCreateCall), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionDeleteCall), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGenerateDownloadUrlCall), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGenerateUploadUrlCall), [*locations functions get*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGetCall), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionGetIamPolicyCall), [*locations functions list*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionListCall), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionPatchCall), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionSetIamPolicyCall), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationFunctionTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/api::ProjectLocationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/CloudFunctions)** +* **[Hub](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/CloudFunctions)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Part)** + * **[Parts](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudfunctions1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Delegate), 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-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::CallBuilder) 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-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::Part) 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-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::CallBuilder), 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-cloudfunctions1/2.0.4+20210325/google_cloudfunctions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudfunctions1/2.0.5+20210325/google_cloudfunctions1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudfunctions1/src/api.rs b/gen/cloudfunctions1/src/api.rs index 26921763ab..be021967ad 100644 --- a/gen/cloudfunctions1/src/api.rs +++ b/gen/cloudfunctions1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > CloudFunctions<> { CloudFunctions { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudfunctions.googleapis.com/".to_string(), _root_url: "https://cloudfunctions.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudFunctions<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudfunctions1/src/client.rs b/gen/cloudfunctions1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudfunctions1/src/client.rs +++ b/gen/cloudfunctions1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudfunctions1/src/lib.rs b/gen/cloudfunctions1/src/lib.rs index 2ae55ac085..c0fdbd13ce 100644 --- a/gen/cloudfunctions1/src/lib.rs +++ b/gen/cloudfunctions1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Functions* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Functions* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Functions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/functions). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-cloudfunctions1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudidentity1-cli/Cargo.toml b/gen/cloudidentity1-cli/Cargo.toml index 4622de702b..a6ffeb716f 100644 --- a/gen/cloudidentity1-cli/Cargo.toml +++ b/gen/cloudidentity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudidentity1-cli" -version = "2.0.4+20210310" +version = "2.0.5+20210310" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Identity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudidentity1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudidentity1] path = "../cloudidentity1" -version = "2.0.4+20210310" +version = "2.0.5+20210310" diff --git a/gen/cloudidentity1-cli/README.md b/gen/cloudidentity1-cli/README.md index c8e7f1e1ac..2b6a1ba8cd 100644 --- a/gen/cloudidentity1-cli/README.md +++ b/gen/cloudidentity1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Identity* API at revision *20210310*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Identity* API at revision *20210310*. The CLI is at version *2.0.5*. ```bash cloudidentity1 [options] diff --git a/gen/cloudidentity1-cli/mkdocs.yml b/gen/cloudidentity1-cli/mkdocs.yml index 50e5978a7b..6e656aff31 100644 --- a/gen/cloudidentity1-cli/mkdocs.yml +++ b/gen/cloudidentity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Identity v2.0.4+20210310 +site_name: Cloud Identity v2.0.5+20210310 site_url: http://byron.github.io/google-apis-rs/google-cloudidentity1-cli site_description: A complete library to interact with Cloud Identity (protocol v1) diff --git a/gen/cloudidentity1-cli/src/main.rs b/gen/cloudidentity1-cli/src/main.rs index cfaae1d0ba..4208916cd7 100644 --- a/gen/cloudidentity1-cli/src/main.rs +++ b/gen/cloudidentity1-cli/src/main.rs @@ -3388,7 +3388,7 @@ async fn main() { let mut app = App::new("cloudidentity1") .author("Sebastian Thiel ") - .version("2.0.4+20210310") + .version("2.0.5+20210310") .about("API for provisioning and managing identity resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudidentity1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudidentity1/Cargo.toml b/gen/cloudidentity1/Cargo.toml index 6de567f29e..5603b3dfaa 100644 --- a/gen/cloudidentity1/Cargo.toml +++ b/gen/cloudidentity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudidentity1" -version = "2.0.4+20210310" +version = "2.0.5+20210310" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Identity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudidentity1" homepage = "https://cloud.google.com/identity/" -documentation = "https://docs.rs/google-cloudidentity1/2.0.4+20210310" +documentation = "https://docs.rs/google-cloudidentity1/2.0.5+20210310" license = "MIT" keywords = ["cloudidentity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudidentity1/README.md b/gen/cloudidentity1/README.md index 4ff973d57a..63bf34c11b 100644 --- a/gen/cloudidentity1/README.md +++ b/gen/cloudidentity1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudidentity1` library allows access to all features of the *Google Cloud Identity* service. -This documentation was generated from *Cloud Identity* crate version *2.0.4+20210310*, where *20210310* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Identity* crate version *2.0.5+20210310*, where *20210310* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Identity* *v1* API can be found at the [official documentation site](https://cloud.google.com/identity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/CloudIdentity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/CloudIdentity) ... * devices - * [*cancel wipe*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceCancelWipeCall), [*create*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeleteCall), [*device users approve*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserApproveCall), [*device users block*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserBlockCall), [*device users cancel wipe*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserCancelWipeCall), [*device users client states get*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStateGetCall), [*device users client states list*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStateListCall), [*device users client states patch*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStatePatchCall), [*device users delete*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserDeleteCall), [*device users get*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserGetCall), [*device users list*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserListCall), [*device users lookup*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserLookupCall), [*device users wipe*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceDeviceUserWipeCall), [*get*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceGetCall), [*list*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceListCall) and [*wipe*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::DeviceWipeCall) -* [groups](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::Group) - * [*create*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupDeleteCall), [*get*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupGetCall), [*list*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupListCall), [*lookup*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupLookupCall), [*memberships check transitive membership*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipCheckTransitiveMembershipCall), [*memberships create*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipCreateCall), [*memberships delete*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipDeleteCall), [*memberships get*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipGetCall), [*memberships get membership graph*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipGetMembershipGraphCall), [*memberships list*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipListCall), [*memberships lookup*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipLookupCall), [*memberships modify membership roles*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipModifyMembershipRoleCall), [*memberships search transitive groups*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipSearchTransitiveGroupCall), [*memberships search transitive memberships*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupMembershipSearchTransitiveMembershipCall), [*patch*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupPatchCall) and [*search*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/api::GroupSearchCall) + * [*cancel wipe*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceCancelWipeCall), [*create*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeleteCall), [*device users approve*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserApproveCall), [*device users block*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserBlockCall), [*device users cancel wipe*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserCancelWipeCall), [*device users client states get*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStateGetCall), [*device users client states list*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStateListCall), [*device users client states patch*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserClientStatePatchCall), [*device users delete*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserDeleteCall), [*device users get*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserGetCall), [*device users list*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserListCall), [*device users lookup*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserLookupCall), [*device users wipe*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceDeviceUserWipeCall), [*get*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceGetCall), [*list*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceListCall) and [*wipe*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::DeviceWipeCall) +* [groups](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::Group) + * [*create*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupDeleteCall), [*get*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupGetCall), [*list*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupListCall), [*lookup*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupLookupCall), [*memberships check transitive membership*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipCheckTransitiveMembershipCall), [*memberships create*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipCreateCall), [*memberships delete*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipDeleteCall), [*memberships get*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipGetCall), [*memberships get membership graph*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipGetMembershipGraphCall), [*memberships list*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipListCall), [*memberships lookup*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipLookupCall), [*memberships modify membership roles*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipModifyMembershipRoleCall), [*memberships search transitive groups*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipSearchTransitiveGroupCall), [*memberships search transitive memberships*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupMembershipSearchTransitiveMembershipCall), [*patch*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupPatchCall) and [*search*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/api::GroupSearchCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/CloudIdentity)** +* **[Hub](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/CloudIdentity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Part)** + * **[Parts](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -82,9 +82,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudidentity1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -147,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Delegate), 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-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::ResponseResult), 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")`. @@ -167,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::CallBuilder) 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-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::Part) 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-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::CallBuilder), 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-cloudidentity1/2.0.4+20210310/google_cloudidentity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudidentity1/2.0.5+20210310/google_cloudidentity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudidentity1/src/api.rs b/gen/cloudidentity1/src/api.rs index fd17ff90ef..ed2b74c56e 100644 --- a/gen/cloudidentity1/src/api.rs +++ b/gen/cloudidentity1/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > CloudIdentity<> { CloudIdentity { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudidentity.googleapis.com/".to_string(), _root_url: "https://cloudidentity.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > CloudIdentity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudidentity1/src/client.rs b/gen/cloudidentity1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudidentity1/src/client.rs +++ b/gen/cloudidentity1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudidentity1/src/lib.rs b/gen/cloudidentity1/src/lib.rs index c61fce2dd0..d88965b2dd 100644 --- a/gen/cloudidentity1/src/lib.rs +++ b/gen/cloudidentity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Identity* crate version *2.0.4+20210310*, where *20210310* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Identity* crate version *2.0.5+20210310*, where *20210310* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Identity* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/identity/). @@ -82,9 +82,6 @@ //! ```toml //! [dependencies] //! google-cloudidentity1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudiot1-cli/Cargo.toml b/gen/cloudiot1-cli/Cargo.toml index af6e201cc2..7fb40562f7 100644 --- a/gen/cloudiot1-cli/Cargo.toml +++ b/gen/cloudiot1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudiot1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Iot (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudiot1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudiot1] path = "../cloudiot1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/cloudiot1-cli/README.md b/gen/cloudiot1-cli/README.md index e664d7f7fa..2beaef7d56 100644 --- a/gen/cloudiot1-cli/README.md +++ b/gen/cloudiot1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Iot* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Iot* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash cloudiot1 [options] diff --git a/gen/cloudiot1-cli/mkdocs.yml b/gen/cloudiot1-cli/mkdocs.yml index b3ecdde193..d8d0258220 100644 --- a/gen/cloudiot1-cli/mkdocs.yml +++ b/gen/cloudiot1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Iot v2.0.4+20210323 +site_name: Cloud Iot v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-cloudiot1-cli site_description: A complete library to interact with Cloud Iot (protocol v1) diff --git a/gen/cloudiot1-cli/src/main.rs b/gen/cloudiot1-cli/src/main.rs index 497e350f4f..e41fa29efd 100644 --- a/gen/cloudiot1-cli/src/main.rs +++ b/gen/cloudiot1-cli/src/main.rs @@ -2588,7 +2588,7 @@ async fn main() { let mut app = App::new("cloudiot1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudiot1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudiot1/Cargo.toml b/gen/cloudiot1/Cargo.toml index 7887fc2711..a737af6578 100644 --- a/gen/cloudiot1/Cargo.toml +++ b/gen/cloudiot1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudiot1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Iot (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudiot1" homepage = "https://cloud.google.com/iot" -documentation = "https://docs.rs/google-cloudiot1/2.0.4+20210323" +documentation = "https://docs.rs/google-cloudiot1/2.0.5+20210323" license = "MIT" keywords = ["cloudiot", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudiot1/README.md b/gen/cloudiot1/README.md index cbc74629b5..fc612e2872 100644 --- a/gen/cloudiot1/README.md +++ b/gen/cloudiot1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudiot1` library allows access to all features of the *Google Cloud Iot* service. -This documentation was generated from *Cloud Iot* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Iot* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Iot* *v1* API can be found at the [official documentation site](https://cloud.google.com/iot). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/CloudIot) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/CloudIot) ... * projects - * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryBindDeviceToGatewayCall), [*locations registries create*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryCreateCall), [*locations registries delete*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeleteCall), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceConfigVersionListCall), [*locations registries devices create*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceCreateCall), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceDeleteCall), [*locations registries devices get*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceGetCall), [*locations registries devices list*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceListCall), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDevicePatchCall), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceSendCommandToDeviceCall), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceStateListCall), [*locations registries get*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryGetCall), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryGetIamPolicyCall), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupDeviceListCall), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupGetIamPolicyCall), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupSetIamPolicyCall), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupTestIamPermissionCall), [*locations registries list*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryListCall), [*locations registries patch*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryPatchCall), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistrySetIamPolicyCall), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryTestIamPermissionCall) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/api::ProjectLocationRegistryUnbindDeviceFromGatewayCall) + * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryBindDeviceToGatewayCall), [*locations registries create*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryCreateCall), [*locations registries delete*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeleteCall), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceConfigVersionListCall), [*locations registries devices create*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceCreateCall), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceDeleteCall), [*locations registries devices get*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceGetCall), [*locations registries devices list*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceListCall), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDevicePatchCall), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceSendCommandToDeviceCall), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryDeviceStateListCall), [*locations registries get*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryGetCall), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryGetIamPolicyCall), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupDeviceListCall), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupGetIamPolicyCall), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupSetIamPolicyCall), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryGroupTestIamPermissionCall), [*locations registries list*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryListCall), [*locations registries patch*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryPatchCall), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistrySetIamPolicyCall), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryTestIamPermissionCall) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/api::ProjectLocationRegistryUnbindDeviceFromGatewayCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/CloudIot)** +* **[Hub](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/CloudIot)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Part)** + * **[Parts](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudiot1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Delegate), 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-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::CallBuilder) 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-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudiot1/2.0.4+20210323/google_cloudiot1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::Part) 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-cloudiot1/2.0.4+20210323/google_cloudiot1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::CallBuilder), 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-cloudiot1/2.0.4+20210323/google_cloudiot1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudiot1/2.0.5+20210323/google_cloudiot1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudiot1/src/api.rs b/gen/cloudiot1/src/api.rs index 1cd4d7063e..24691bfdd7 100644 --- a/gen/cloudiot1/src/api.rs +++ b/gen/cloudiot1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudIot<> { CloudIot { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudiot.googleapis.com/".to_string(), _root_url: "https://cloudiot.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudIot<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudiot1/src/client.rs b/gen/cloudiot1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudiot1/src/client.rs +++ b/gen/cloudiot1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudiot1/src/lib.rs b/gen/cloudiot1/src/lib.rs index 37c1ab5c95..4124aea93f 100644 --- a/gen/cloudiot1/src/lib.rs +++ b/gen/cloudiot1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Iot* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Iot* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Iot* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iot). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-cloudiot1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudkms1-cli/Cargo.toml b/gen/cloudkms1-cli/Cargo.toml index e05fa2164a..dce4a3f55e 100644 --- a/gen/cloudkms1-cli/Cargo.toml +++ b/gen/cloudkms1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudkms1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudkms1] path = "../cloudkms1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/cloudkms1-cli/README.md b/gen/cloudkms1-cli/README.md index 7f1d9ba5a9..4d32764584 100644 --- a/gen/cloudkms1-cli/README.md +++ b/gen/cloudkms1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud KMS* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud KMS* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash cloudkms1 [options] diff --git a/gen/cloudkms1-cli/mkdocs.yml b/gen/cloudkms1-cli/mkdocs.yml index c0582ab60b..6559212029 100644 --- a/gen/cloudkms1-cli/mkdocs.yml +++ b/gen/cloudkms1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v2.0.4+20210318 +site_name: Cloud KMS v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-cloudkms1-cli site_description: A complete library to interact with Cloud KMS (protocol v1) diff --git a/gen/cloudkms1-cli/src/main.rs b/gen/cloudkms1-cli/src/main.rs index ca09d397a8..0ec4638721 100644 --- a/gen/cloudkms1-cli/src/main.rs +++ b/gen/cloudkms1-cli/src/main.rs @@ -3743,7 +3743,7 @@ async fn main() { let mut app = App::new("cloudkms1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudkms1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudkms1/Cargo.toml b/gen/cloudkms1/Cargo.toml index 0728fcf01f..2685550cd9 100644 --- a/gen/cloudkms1/Cargo.toml +++ b/gen/cloudkms1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1" homepage = "https://cloud.google.com/kms/" -documentation = "https://docs.rs/google-cloudkms1/2.0.4+20210318" +documentation = "https://docs.rs/google-cloudkms1/2.0.5+20210318" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudkms1/README.md b/gen/cloudkms1/README.md index 00d380ec30..68144495ff 100644 --- a/gen/cloudkms1/README.md +++ b/gen/cloudkms1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudkms1` library allows access to all features of the *Google Cloud KMS* service. -This documentation was generated from *Cloud KMS* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud KMS* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud KMS* *v1* API can be found at the [official documentation site](https://cloud.google.com/kms/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/CloudKMS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/CloudKMS) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobCreateCall), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetCall), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetIamPolicyCall), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobListCall), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobSetIamPolicyCall), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobTestIamPermissionCall), [*locations key rings list*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobCreateCall), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetCall), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetIamPolicyCall), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobListCall), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobSetIamPolicyCall), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingImportJobTestIamPermissionCall), [*locations key rings list*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/CloudKMS)** +* **[Hub](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/CloudKMS)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Part)** + * **[Parts](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudkms1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Delegate), 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-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::CallBuilder) 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-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1/2.0.4+20210318/google_cloudkms1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::Part) 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-cloudkms1/2.0.4+20210318/google_cloudkms1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::CallBuilder), 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-cloudkms1/2.0.4+20210318/google_cloudkms1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudkms1/2.0.5+20210318/google_cloudkms1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudkms1/src/api.rs b/gen/cloudkms1/src/api.rs index 91c6f2c7f8..c6eedd2b21 100644 --- a/gen/cloudkms1/src/api.rs +++ b/gen/cloudkms1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > CloudKMS<> { CloudKMS { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudkms.googleapis.com/".to_string(), _root_url: "https://cloudkms.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudKMS<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudkms1/src/client.rs b/gen/cloudkms1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudkms1/src/client.rs +++ b/gen/cloudkms1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudkms1/src/lib.rs b/gen/cloudkms1/src/lib.rs index 8c8ba067d1..f07efdb88a 100644 --- a/gen/cloudkms1/src/lib.rs +++ b/gen/cloudkms1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud KMS* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud KMS* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud KMS* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-cloudkms1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudkms1_beta1-cli/Cargo.toml b/gen/cloudkms1_beta1-cli/Cargo.toml index 55c704c50c..7e366a2069 100644 --- a/gen/cloudkms1_beta1-cli/Cargo.toml +++ b/gen/cloudkms1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudkms1_beta1-cli" -version = "2.0.4+20170515" +version = "2.0.5+20170515" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudkms1_beta1] path = "../cloudkms1_beta1" -version = "2.0.4+20170515" +version = "2.0.5+20170515" diff --git a/gen/cloudkms1_beta1-cli/README.md b/gen/cloudkms1_beta1-cli/README.md index 594c5651ce..732ecbbe34 100644 --- a/gen/cloudkms1_beta1-cli/README.md +++ b/gen/cloudkms1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud KMS* API at revision *20170515*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud KMS* API at revision *20170515*. The CLI is at version *2.0.5*. ```bash cloudkms1-beta1 [options] diff --git a/gen/cloudkms1_beta1-cli/mkdocs.yml b/gen/cloudkms1_beta1-cli/mkdocs.yml index fe3808155c..9d3e03c767 100644 --- a/gen/cloudkms1_beta1-cli/mkdocs.yml +++ b/gen/cloudkms1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v2.0.4+20170515 +site_name: Cloud KMS v2.0.5+20170515 site_url: http://byron.github.io/google-apis-rs/google-cloudkms1_beta1-cli site_description: A complete library to interact with Cloud KMS (protocol v1beta1) diff --git a/gen/cloudkms1_beta1-cli/src/main.rs b/gen/cloudkms1_beta1-cli/src/main.rs index 9c117c3a16..bef7e15574 100644 --- a/gen/cloudkms1_beta1-cli/src/main.rs +++ b/gen/cloudkms1_beta1-cli/src/main.rs @@ -2674,7 +2674,7 @@ async fn main() { let mut app = App::new("cloudkms1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20170515") + .version("2.0.5+20170515") .about("Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudkms1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudkms1_beta1/Cargo.toml b/gen/cloudkms1_beta1/Cargo.toml index 3fd7a5f24e..361fc9c0bd 100644 --- a/gen/cloudkms1_beta1/Cargo.toml +++ b/gen/cloudkms1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1_beta1" -version = "2.0.4+20170515" +version = "2.0.5+20170515" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1_beta1" homepage = "https://cloud.google.com/kms/" -documentation = "https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515" +documentation = "https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudkms1_beta1/README.md b/gen/cloudkms1_beta1/README.md index a7d49e0249..ccf7bbf7f6 100644 --- a/gen/cloudkms1_beta1/README.md +++ b/gen/cloudkms1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudkms1_beta1` library allows access to all features of the *Google Cloud KMS* service. -This documentation was generated from *Cloud KMS* crate version *2.0.4+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud KMS* crate version *2.0.5+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud KMS* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/kms/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/CloudKMS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/CloudKMS) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/CloudKMS)** +* **[Hub](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/CloudKMS)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudkms1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Delegate), 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-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::CallBuilder) 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-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::Part) 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-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::CallBuilder), 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-cloudkms1_beta1/2.0.4+20170515/google_cloudkms1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudkms1_beta1/2.0.5+20170515/google_cloudkms1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudkms1_beta1/src/api.rs b/gen/cloudkms1_beta1/src/api.rs index a68bc6f0fe..b9490c5b55 100644 --- a/gen/cloudkms1_beta1/src/api.rs +++ b/gen/cloudkms1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudKMS<> { CloudKMS { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudkms.googleapis.com/".to_string(), _root_url: "https://cloudkms.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudKMS<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudkms1_beta1/src/client.rs b/gen/cloudkms1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudkms1_beta1/src/client.rs +++ b/gen/cloudkms1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudkms1_beta1/src/lib.rs b/gen/cloudkms1_beta1/src/lib.rs index 1772ec43af..622545a1a0 100644 --- a/gen/cloudkms1_beta1/src/lib.rs +++ b/gen/cloudkms1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud KMS* crate version *2.0.4+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud KMS* crate version *2.0.5+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud KMS* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-cloudkms1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudlatencytest2-cli/Cargo.toml b/gen/cloudlatencytest2-cli/Cargo.toml index f1f72f8e6f..d3f1c1b2a7 100644 --- a/gen/cloudlatencytest2-cli/Cargo.toml +++ b/gen/cloudlatencytest2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudlatencytest2-cli" -version = "2.0.4+20160309" +version = "2.0.5+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2-cli" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudlatencytest2] path = "../cloudlatencytest2" -version = "2.0.4+20160309" +version = "2.0.5+20160309" diff --git a/gen/cloudlatencytest2-cli/README.md b/gen/cloudlatencytest2-cli/README.md index 5f291c92ac..bce1cb0710 100644 --- a/gen/cloudlatencytest2-cli/README.md +++ b/gen/cloudlatencytest2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *2.0.4*. +This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *2.0.5*. ```bash cloudlatencytest2 [options] diff --git a/gen/cloudlatencytest2-cli/mkdocs.yml b/gen/cloudlatencytest2-cli/mkdocs.yml index db49a2ca52..62fd940bc8 100644 --- a/gen/cloudlatencytest2-cli/mkdocs.yml +++ b/gen/cloudlatencytest2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cloudlatencytest v2.0.4+20160309 +site_name: cloudlatencytest v2.0.5+20160309 site_url: http://byron.github.io/google-apis-rs/google-cloudlatencytest2-cli site_description: A complete library to interact with cloudlatencytest (protocol v2) diff --git a/gen/cloudlatencytest2-cli/src/main.rs b/gen/cloudlatencytest2-cli/src/main.rs index e516b9cfb4..4633f961d0 100644 --- a/gen/cloudlatencytest2-cli/src/main.rs +++ b/gen/cloudlatencytest2-cli/src/main.rs @@ -348,7 +348,7 @@ async fn main() { let mut app = App::new("cloudlatencytest2") .author("Sebastian Thiel ") - .version("2.0.4+20160309") + .version("2.0.5+20160309") .about("Reports latency data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudlatencytest2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudlatencytest2/Cargo.toml b/gen/cloudlatencytest2/Cargo.toml index d9e1a7270a..c3875f7653 100644 --- a/gen/cloudlatencytest2/Cargo.toml +++ b/gen/cloudlatencytest2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-cloudlatencytest2" -version = "2.0.4+20160309" +version = "2.0.5+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2" -documentation = "https://docs.rs/google-cloudlatencytest2/2.0.4+20160309" +documentation = "https://docs.rs/google-cloudlatencytest2/2.0.5+20160309" license = "MIT" keywords = ["cloudlatencytest", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudlatencytest2/README.md b/gen/cloudlatencytest2/README.md index 7385628ebf..4b73c1f845 100644 --- a/gen/cloudlatencytest2/README.md +++ b/gen/cloudlatencytest2/README.md @@ -5,13 +5,13 @@ DO NOT EDIT ! --> The `google-cloudlatencytest2` library allows access to all features of the *Google cloudlatencytest* service. -This documentation was generated from *cloudlatencytest* crate version *2.0.4+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *cloudlatencytest* crate version *2.0.5+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/Cloudlatencytest) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/Cloudlatencytest) ... * statscollection - * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/api::StatscollectionUpdateaggregatedstatCall) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/api::StatscollectionUpdatestatCall) + * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/api::StatscollectionUpdateaggregatedstatCall) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/api::StatscollectionUpdatestatCall) @@ -20,17 +20,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/Cloudlatencytest)** +* **[Hub](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/Cloudlatencytest)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Part)** + * **[Parts](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -61,9 +61,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudlatencytest2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -129,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudlatencytest2/2.0.4+20160309/google_cloudlatencytest2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudlatencytest2/2.0.5+20160309/google_cloudlatencytest2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudlatencytest2/src/api.rs b/gen/cloudlatencytest2/src/api.rs index a7bd0a24a9..a6fe3c7c1a 100644 --- a/gen/cloudlatencytest2/src/api.rs +++ b/gen/cloudlatencytest2/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Cloudlatencytest<> { Cloudlatencytest { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudlatencytest-pa.googleapis.com/v2/statscollection/".to_string(), _root_url: "https://cloudlatencytest-pa.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Cloudlatencytest<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudlatencytest2/src/client.rs b/gen/cloudlatencytest2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudlatencytest2/src/client.rs +++ b/gen/cloudlatencytest2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudlatencytest2/src/lib.rs b/gen/cloudlatencytest2/src/lib.rs index 3178f0f421..c019cebbee 100644 --- a/gen/cloudlatencytest2/src/lib.rs +++ b/gen/cloudlatencytest2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *cloudlatencytest* crate version *2.0.4+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *cloudlatencytest* crate version *2.0.5+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2). //! # Features //! @@ -61,9 +61,6 @@ //! ```toml //! [dependencies] //! google-cloudlatencytest2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudmonitoring2_beta2-cli/Cargo.toml b/gen/cloudmonitoring2_beta2-cli/Cargo.toml index fbd2a407e8..a6c2931921 100644 --- a/gen/cloudmonitoring2_beta2-cli/Cargo.toml +++ b/gen/cloudmonitoring2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudmonitoring2_beta2-cli" -version = "2.0.4+20170501" +version = "2.0.5+20170501" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudmonitoring2_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudmonitoring2_beta2] path = "../cloudmonitoring2_beta2" -version = "2.0.4+20170501" +version = "2.0.5+20170501" diff --git a/gen/cloudmonitoring2_beta2-cli/README.md b/gen/cloudmonitoring2_beta2-cli/README.md index 00b5937aaa..b364415b49 100644 --- a/gen/cloudmonitoring2_beta2-cli/README.md +++ b/gen/cloudmonitoring2_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Monitoring* API at revision *20170501*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Monitoring* API at revision *20170501*. The CLI is at version *2.0.5*. ```bash cloudmonitoring2-beta2 [options] diff --git a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml index 82ae8c1875..6e0a15f591 100644 --- a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml +++ b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Monitoring v2.0.4+20170501 +site_name: Cloud Monitoring v2.0.5+20170501 site_url: http://byron.github.io/google-apis-rs/google-cloudmonitoring2_beta2-cli site_description: A complete library to interact with Cloud Monitoring (protocol v2beta2) diff --git a/gen/cloudmonitoring2_beta2-cli/src/main.rs b/gen/cloudmonitoring2_beta2-cli/src/main.rs index c61f7ded38..91af9306cb 100644 --- a/gen/cloudmonitoring2_beta2-cli/src/main.rs +++ b/gen/cloudmonitoring2_beta2-cli/src/main.rs @@ -896,7 +896,7 @@ async fn main() { let mut app = App::new("cloudmonitoring2-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20170501") + .version("2.0.5+20170501") .about("Accesses Google Cloud Monitoring data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudmonitoring2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudmonitoring2_beta2/Cargo.toml b/gen/cloudmonitoring2_beta2/Cargo.toml index 24ffcb9561..c7b8ec2b42 100644 --- a/gen/cloudmonitoring2_beta2/Cargo.toml +++ b/gen/cloudmonitoring2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudmonitoring2_beta2" -version = "2.0.4+20170501" +version = "2.0.5+20170501" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudmonitoring2_beta2" homepage = "https://cloud.google.com/monitoring/v2beta2/" -documentation = "https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501" +documentation = "https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501" license = "MIT" keywords = ["cloudmonitoring", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudmonitoring2_beta2/README.md b/gen/cloudmonitoring2_beta2/README.md index ffdbfd7a78..97152ccbe6 100644 --- a/gen/cloudmonitoring2_beta2/README.md +++ b/gen/cloudmonitoring2_beta2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudmonitoring2_beta2` library allows access to all features of the *Google Cloud Monitoring* service. -This documentation was generated from *Cloud Monitoring* crate version *2.0.4+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Monitoring* crate version *2.0.5+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the [official documentation site](https://cloud.google.com/monitoring/v2beta2/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/CloudMonitoring) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/CloudMonitoring) ... -* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptor) - * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorCreateCall), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorDeleteCall) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorListCall) +* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptor) + * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorCreateCall), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorDeleteCall) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorListCall) * timeseries - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::TimeseryListCall) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::TimeseryWriteCall) -* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptor) - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptorListCall) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::TimeseryListCall) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::TimeseryWriteCall) +* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptor) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptorListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/CloudMonitoring)** +* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/CloudMonitoring)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudmonitoring2_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudmonitoring2_beta2/2.0.4+20170501/google_cloudmonitoring2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudmonitoring2_beta2/2.0.5+20170501/google_cloudmonitoring2_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudmonitoring2_beta2/src/api.rs b/gen/cloudmonitoring2_beta2/src/api.rs index 8ff71bfe5a..347ca9d011 100644 --- a/gen/cloudmonitoring2_beta2/src/api.rs +++ b/gen/cloudmonitoring2_beta2/src/api.rs @@ -127,7 +127,7 @@ impl<'a, > CloudMonitoring<> { CloudMonitoring { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/cloudmonitoring/v2beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > CloudMonitoring<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudmonitoring2_beta2/src/client.rs b/gen/cloudmonitoring2_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudmonitoring2_beta2/src/client.rs +++ b/gen/cloudmonitoring2_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs b/gen/cloudmonitoring2_beta2/src/lib.rs index 753cc62f01..c338f68439 100644 --- a/gen/cloudmonitoring2_beta2/src/lib.rs +++ b/gen/cloudmonitoring2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Monitoring* crate version *2.0.4+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Monitoring* crate version *2.0.5+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/v2beta2/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-cloudmonitoring2_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml index 5e7babae49..948b239bc2 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml +++ b/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprivatecatalog1_beta1-cli" -version = "2.0.4+20200405" +version = "2.0.5+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalog1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudprivatecatalog1_beta1] path = "../cloudprivatecatalog1_beta1" -version = "2.0.4+20200405" +version = "2.0.5+20200405" diff --git a/gen/cloudprivatecatalog1_beta1-cli/README.md b/gen/cloudprivatecatalog1_beta1-cli/README.md index bde3c90f86..975cde69a0 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/README.md +++ b/gen/cloudprivatecatalog1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Private Catalog* API at revision *20200405*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Private Catalog* API at revision *20200405*. The CLI is at version *2.0.5*. ```bash cloudprivatecatalog1-beta1 [options] diff --git a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml index e35176307c..1917f52e62 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml +++ b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Private Catalog v2.0.4+20200405 +site_name: Cloud Private Catalog v2.0.5+20200405 site_url: http://byron.github.io/google-apis-rs/google-cloudprivatecatalog1_beta1-cli site_description: A complete library to interact with Cloud Private Catalog (protocol v1beta1) diff --git a/gen/cloudprivatecatalog1_beta1-cli/src/main.rs b/gen/cloudprivatecatalog1_beta1-cli/src/main.rs index eb751607ad..df7d9e3211 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/src/main.rs +++ b/gen/cloudprivatecatalog1_beta1-cli/src/main.rs @@ -964,7 +964,7 @@ async fn main() { let mut app = App::new("cloudprivatecatalog1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20200405") + .version("2.0.5+20200405") .about("Enable cloud users to discover enterprise catalogs and products in their organizations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprivatecatalog1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudprivatecatalog1_beta1/Cargo.toml b/gen/cloudprivatecatalog1_beta1/Cargo.toml index 4a9b177df0..109f34cfb5 100644 --- a/gen/cloudprivatecatalog1_beta1/Cargo.toml +++ b/gen/cloudprivatecatalog1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprivatecatalog1_beta1" -version = "2.0.4+20200405" +version = "2.0.5+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalog1_beta1" homepage = "https://cloud.google.com/private-catalog/" -documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405" +documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405" license = "MIT" keywords = ["cloudprivatecatalog", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudprivatecatalog1_beta1/README.md b/gen/cloudprivatecatalog1_beta1/README.md index 608b123838..e53cbe2c01 100644 --- a/gen/cloudprivatecatalog1_beta1/README.md +++ b/gen/cloudprivatecatalog1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudprivatecatalog1_beta1` library allows access to all features of the *Google Cloud Private Catalog* service. -This documentation was generated from *Cloud Private Catalog* crate version *2.0.4+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Private Catalog* crate version *2.0.5+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Private Catalog* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/private-catalog/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog) ... * folders - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::FolderCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::FolderProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::FolderVersionSearchCall) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::FolderCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::FolderProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::FolderVersionSearchCall) * organizations - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationVersionSearchCall) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationVersionSearchCall) * projects - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::ProjectCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::ProjectProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/api::ProjectVersionSearchCall) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::ProjectCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::ProjectProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/api::ProjectVersionSearchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog)** +* **[Hub](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudprivatecatalog1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Delegate), 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-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) 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-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::Part) 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-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder), 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-cloudprivatecatalog1_beta1/2.0.4+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprivatecatalog1_beta1/2.0.5+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudprivatecatalog1_beta1/src/api.rs b/gen/cloudprivatecatalog1_beta1/src/api.rs index 8f6ff90d09..c4f22900e0 100644 --- a/gen/cloudprivatecatalog1_beta1/src/api.rs +++ b/gen/cloudprivatecatalog1_beta1/src/api.rs @@ -117,7 +117,7 @@ impl<'a, > CloudPrivateCatalog<> { CloudPrivateCatalog { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudprivatecatalog.googleapis.com/".to_string(), _root_url: "https://cloudprivatecatalog.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudPrivateCatalog<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudprivatecatalog1_beta1/src/client.rs b/gen/cloudprivatecatalog1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudprivatecatalog1_beta1/src/client.rs +++ b/gen/cloudprivatecatalog1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudprivatecatalog1_beta1/src/lib.rs b/gen/cloudprivatecatalog1_beta1/src/lib.rs index 3097706344..248a457a73 100644 --- a/gen/cloudprivatecatalog1_beta1/src/lib.rs +++ b/gen/cloudprivatecatalog1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Private Catalog* crate version *2.0.4+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Private Catalog* crate version *2.0.5+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Private Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-cloudprivatecatalog1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml index 9c4363b4dc..07486c243e 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprivatecatalogproducer1_beta1-cli" -version = "2.0.4+20200405" +version = "2.0.5+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalogproducer1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudprivatecatalogproducer1_beta1] path = "../cloudprivatecatalogproducer1_beta1" -version = "2.0.4+20200405" +version = "2.0.5+20200405" diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/README.md b/gen/cloudprivatecatalogproducer1_beta1-cli/README.md index 60d3f77183..2be8db353e 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/README.md +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud PrivateCatalog Producer* API at revision *20200405*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud PrivateCatalog Producer* API at revision *20200405*. The CLI is at version *2.0.5*. ```bash cloudprivatecatalogproducer1-beta1 [options] diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml index 9058d1ecce..a1033abcd4 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud PrivateCatalog Producer v2.0.4+20200405 +site_name: Cloud PrivateCatalog Producer v2.0.5+20200405 site_url: http://byron.github.io/google-apis-rs/google-cloudprivatecatalogproducer1_beta1-cli site_description: A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1) diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs b/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs index 5f1b257628..bb9dfe8f15 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs @@ -3011,7 +3011,7 @@ async fn main() { let mut app = App::new("cloudprivatecatalogproducer1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20200405") + .version("2.0.5+20200405") .about("Enables cloud users to manage and share enterprise catalogs intheir organizations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprivatecatalogproducer1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml b/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml index 1fc2114cc4..a65d574522 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml +++ b/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprivatecatalogproducer1_beta1" -version = "2.0.4+20200405" +version = "2.0.5+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalogproducer1_beta1" homepage = "https://cloud.google.com/private-catalog/" -documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405" +documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405" license = "MIT" keywords = ["cloudprivatecatalogp", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudprivatecatalogproducer1_beta1/README.md b/gen/cloudprivatecatalogproducer1_beta1/README.md index 9b815107d8..7580eee4c8 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/README.md +++ b/gen/cloudprivatecatalogproducer1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudprivatecatalogproducer1_beta1` library allows access to all features of the *Google Cloud PrivateCatalog Producer* service. -This documentation was generated from *Cloud PrivateCatalog Producer* crate version *2.0.4+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud PrivateCatalog Producer* crate version *2.0.5+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud PrivateCatalog Producer* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/private-catalog/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer) ... * catalogs - * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationCreateCall), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationDeleteCall), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationGetCall), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationListCall), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogCreateCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetCall), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetIamPolicyCall), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogListCall), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogPatchCall), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCopyCall), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCreateCall), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductDeleteCall), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductGetCall), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductIconUploadCall), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductListCall), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductPatchCall), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionCreateCall), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionDeleteCall), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionGetCall), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionListCall), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionPatchCall), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogUndeleteCall) + * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationCreateCall), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationDeleteCall), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationGetCall), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationListCall), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogCreateCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetCall), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetIamPolicyCall), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogListCall), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogPatchCall), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCopyCall), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCreateCall), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductDeleteCall), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductGetCall), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductIconUploadCall), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductListCall), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductPatchCall), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionCreateCall), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionDeleteCall), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionGetCall), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionListCall), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionPatchCall), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogUndeleteCall) * operations - * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationListCall) + * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer)** +* **[Hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudprivatecatalogproducer1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate), 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-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) 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-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part) 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-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder), 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-cloudprivatecatalogproducer1_beta1/2.0.4+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/2.0.5+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/api.rs b/gen/cloudprivatecatalogproducer1_beta1/src/api.rs index 127e8b8af2..468b73b4b6 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/api.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudPrivateCatalogProducer<> { CloudPrivateCatalogProducer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudprivatecatalogproducer.googleapis.com/".to_string(), _root_url: "https://cloudprivatecatalogproducer.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudPrivateCatalogProducer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/client.rs b/gen/cloudprivatecatalogproducer1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/client.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs b/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs index b9e2e0de20..74b9908683 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud PrivateCatalog Producer* crate version *2.0.4+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud PrivateCatalog Producer* crate version *2.0.5+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud PrivateCatalog Producer* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-cloudprivatecatalogproducer1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudprofiler2-cli/Cargo.toml b/gen/cloudprofiler2-cli/Cargo.toml index af3b1c5e2d..5b64c85099 100644 --- a/gen/cloudprofiler2-cli/Cargo.toml +++ b/gen/cloudprofiler2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprofiler2-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Profiler (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprofiler2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudprofiler2] path = "../cloudprofiler2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/cloudprofiler2-cli/README.md b/gen/cloudprofiler2-cli/README.md index 11b4b65f93..08752b0025 100644 --- a/gen/cloudprofiler2-cli/README.md +++ b/gen/cloudprofiler2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Profiler* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Profiler* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash cloudprofiler2 [options] diff --git a/gen/cloudprofiler2-cli/mkdocs.yml b/gen/cloudprofiler2-cli/mkdocs.yml index 580dc63bba..21b41038fd 100644 --- a/gen/cloudprofiler2-cli/mkdocs.yml +++ b/gen/cloudprofiler2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Profiler v2.0.4+20210326 +site_name: Cloud Profiler v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-cloudprofiler2-cli site_description: A complete library to interact with Cloud Profiler (protocol v2) diff --git a/gen/cloudprofiler2-cli/src/main.rs b/gen/cloudprofiler2-cli/src/main.rs index 8fd9914acb..c6978d8c29 100644 --- a/gen/cloudprofiler2-cli/src/main.rs +++ b/gen/cloudprofiler2-cli/src/main.rs @@ -501,7 +501,7 @@ async fn main() { let mut app = App::new("cloudprofiler2") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Manages continuous profiling information.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprofiler2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudprofiler2/Cargo.toml b/gen/cloudprofiler2/Cargo.toml index 4ca90d43f7..2687a6f579 100644 --- a/gen/cloudprofiler2/Cargo.toml +++ b/gen/cloudprofiler2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprofiler2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Profiler (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprofiler2" homepage = "https://cloud.google.com/profiler/" -documentation = "https://docs.rs/google-cloudprofiler2/2.0.4+20210326" +documentation = "https://docs.rs/google-cloudprofiler2/2.0.5+20210326" license = "MIT" keywords = ["cloudprofiler", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudprofiler2/README.md b/gen/cloudprofiler2/README.md index 79d0c77891..6b1aa773c0 100644 --- a/gen/cloudprofiler2/README.md +++ b/gen/cloudprofiler2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudprofiler2` library allows access to all features of the *Google Cloud Profiler* service. -This documentation was generated from *Cloud Profiler* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Profiler* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Profiler* *v2* API can be found at the [official documentation site](https://cloud.google.com/profiler/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/CloudProfiler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/CloudProfiler) ... * projects - * [*profiles create*](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/api::ProjectProfileCreateCall), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/api::ProjectProfileCreateOfflineCall) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/api::ProjectProfilePatchCall) + * [*profiles create*](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/api::ProjectProfileCreateCall), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/api::ProjectProfileCreateOfflineCall) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/api::ProjectProfilePatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/CloudProfiler)** +* **[Hub](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/CloudProfiler)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Part)** + * **[Parts](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudprofiler2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Delegate), 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-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::CallBuilder) 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-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::Part) 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-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::CallBuilder), 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-cloudprofiler2/2.0.4+20210326/google_cloudprofiler2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprofiler2/2.0.5+20210326/google_cloudprofiler2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudprofiler2/src/api.rs b/gen/cloudprofiler2/src/api.rs index 4f88a7457f..c8ee22cb42 100644 --- a/gen/cloudprofiler2/src/api.rs +++ b/gen/cloudprofiler2/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > CloudProfiler<> { CloudProfiler { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudprofiler.googleapis.com/".to_string(), _root_url: "https://cloudprofiler.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > CloudProfiler<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudprofiler2/src/client.rs b/gen/cloudprofiler2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudprofiler2/src/client.rs +++ b/gen/cloudprofiler2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudprofiler2/src/lib.rs b/gen/cloudprofiler2/src/lib.rs index e5e8362fdd..14d4f3d9da 100644 --- a/gen/cloudprofiler2/src/lib.rs +++ b/gen/cloudprofiler2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Profiler* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Profiler* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Profiler* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/profiler/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-cloudprofiler2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudresourcemanager1-cli/Cargo.toml b/gen/cloudresourcemanager1-cli/Cargo.toml index aebb88369b..d82e74cf19 100644 --- a/gen/cloudresourcemanager1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1-cli" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager1] path = "../cloudresourcemanager1" -version = "2.0.4+20210328" +version = "2.0.5+20210328" diff --git a/gen/cloudresourcemanager1-cli/README.md b/gen/cloudresourcemanager1-cli/README.md index 9aebc76a63..349d8c5312 100644 --- a/gen/cloudresourcemanager1-cli/README.md +++ b/gen/cloudresourcemanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.5*. ```bash cloudresourcemanager1 [options] diff --git a/gen/cloudresourcemanager1-cli/mkdocs.yml b/gen/cloudresourcemanager1-cli/mkdocs.yml index 84489896d4..78acb2afa4 100644 --- a/gen/cloudresourcemanager1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.4+20210328 +site_name: Cloud Resource Manager v2.0.5+20210328 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager1-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v1) diff --git a/gen/cloudresourcemanager1-cli/src/main.rs b/gen/cloudresourcemanager1-cli/src/main.rs index 1f8fed0c79..0f684db993 100644 --- a/gen/cloudresourcemanager1-cli/src/main.rs +++ b/gen/cloudresourcemanager1-cli/src/main.rs @@ -4321,7 +4321,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager1") .author("Sebastian Thiel ") - .version("2.0.4+20210328") + .version("2.0.5+20210328") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager1/Cargo.toml b/gen/cloudresourcemanager1/Cargo.toml index 6e74d3aab8..c216bc8fe2 100644 --- a/gen/cloudresourcemanager1/Cargo.toml +++ b/gen/cloudresourcemanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager1/README.md b/gen/cloudresourcemanager1/README.md index df6d3e9303..37c27b4b37 100644 --- a/gen/cloudresourcemanager1/README.md +++ b/gen/cloudresourcemanager1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager1` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Resource Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/CloudResourceManager) ... * folders - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::FolderClearOrgPolicyCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::FolderGetEffectiveOrgPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::FolderGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::FolderListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::FolderListOrgPolicyCall) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::FolderSetOrgPolicyCall) -* [liens](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::Lien) - * [*create*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::LienListCall) -* [operations](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OperationGetCall) -* [organizations](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::Organization) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationClearOrgPolicyCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationGetCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationListOrgPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationSetOrgPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::OrganizationTestIamPermissionCall) -* [projects](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::Project) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectClearOrgPolicyCall), [*create*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectGetAncestryCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectGetOrgPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectListCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectListOrgPolicyCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectSetOrgPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/api::ProjectUpdateCall) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::FolderClearOrgPolicyCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::FolderGetEffectiveOrgPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::FolderGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::FolderListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::FolderListOrgPolicyCall) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::FolderSetOrgPolicyCall) +* [liens](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::Lien) + * [*create*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::LienListCall) +* [operations](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::Operation) + * [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OperationGetCall) +* [organizations](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::Organization) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationClearOrgPolicyCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationGetCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationListOrgPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationSetOrgPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::OrganizationTestIamPermissionCall) +* [projects](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::Project) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectClearOrgPolicyCall), [*create*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectGetAncestryCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectGetOrgPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectListCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectListOrgPolicyCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectSetOrgPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/api::ProjectUpdateCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -87,9 +87,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudresourcemanager1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -152,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::ResponseResult), 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")`. @@ -172,29 +169,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudresourcemanager1/2.0.4+20210328/google_cloudresourcemanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1/2.0.5+20210328/google_cloudresourcemanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager1/src/api.rs b/gen/cloudresourcemanager1/src/api.rs index 095ab7cc8d..a30214bd46 100644 --- a/gen/cloudresourcemanager1/src/api.rs +++ b/gen/cloudresourcemanager1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager1/src/client.rs b/gen/cloudresourcemanager1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudresourcemanager1/src/client.rs +++ b/gen/cloudresourcemanager1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudresourcemanager1/src/lib.rs b/gen/cloudresourcemanager1/src/lib.rs index 9bc0d1c55c..502410d655 100644 --- a/gen/cloudresourcemanager1/src/lib.rs +++ b/gen/cloudresourcemanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Resource Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -87,9 +87,6 @@ //! ```toml //! [dependencies] //! google-cloudresourcemanager1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml index 5342f12254..8e58530ea6 100644 --- a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1_beta1-cli" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager1_beta1] path = "../cloudresourcemanager1_beta1" -version = "2.0.4+20210328" +version = "2.0.5+20210328" diff --git a/gen/cloudresourcemanager1_beta1-cli/README.md b/gen/cloudresourcemanager1_beta1-cli/README.md index e5189aa23f..52a913f088 100644 --- a/gen/cloudresourcemanager1_beta1-cli/README.md +++ b/gen/cloudresourcemanager1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.5*. ```bash cloudresourcemanager1-beta1 [options] diff --git a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml index b215efe805..dcac2f5a37 100644 --- a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.4+20210328 +site_name: Cloud Resource Manager v2.0.5+20210328 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager1_beta1-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v1beta1) diff --git a/gen/cloudresourcemanager1_beta1-cli/src/main.rs b/gen/cloudresourcemanager1_beta1-cli/src/main.rs index 7855c1e26d..ceb90d78f9 100644 --- a/gen/cloudresourcemanager1_beta1-cli/src/main.rs +++ b/gen/cloudresourcemanager1_beta1-cli/src/main.rs @@ -1835,7 +1835,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210328") + .version("2.0.5+20210328") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager1_beta1/Cargo.toml b/gen/cloudresourcemanager1_beta1/Cargo.toml index bff8cd52da..63be0da70a 100644 --- a/gen/cloudresourcemanager1_beta1/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1_beta1" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1_beta1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager1_beta1/README.md b/gen/cloudresourcemanager1_beta1/README.md index 68a371c67e..b37feefe42 100644 --- a/gen/cloudresourcemanager1_beta1/README.md +++ b/gen/cloudresourcemanager1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager1_beta1` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager) ... -* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::Organization) - * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::OrganizationGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::OrganizationListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::OrganizationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::OrganizationTestIamPermissionCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::OrganizationUpdateCall) -* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::Project) - * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetAncestryCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/api::ProjectUpdateCall) +* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::Organization) + * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::OrganizationGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::OrganizationListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::OrganizationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::OrganizationTestIamPermissionCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::OrganizationUpdateCall) +* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::Project) + * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetAncestryCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/api::ProjectUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudresourcemanager1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.4+20210328/google_cloudresourcemanager1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/2.0.5+20210328/google_cloudresourcemanager1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager1_beta1/src/api.rs b/gen/cloudresourcemanager1_beta1/src/api.rs index 1363076b48..3a92bbc600 100644 --- a/gen/cloudresourcemanager1_beta1/src/api.rs +++ b/gen/cloudresourcemanager1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager1_beta1/src/client.rs b/gen/cloudresourcemanager1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudresourcemanager1_beta1/src/client.rs +++ b/gen/cloudresourcemanager1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs b/gen/cloudresourcemanager1_beta1/src/lib.rs index 15dcc111e9..a41b1e5d2f 100644 --- a/gen/cloudresourcemanager1_beta1/src/lib.rs +++ b/gen/cloudresourcemanager1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-cloudresourcemanager1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudresourcemanager2-cli/Cargo.toml b/gen/cloudresourcemanager2-cli/Cargo.toml index 248f1ddf3c..324af6ac3d 100644 --- a/gen/cloudresourcemanager2-cli/Cargo.toml +++ b/gen/cloudresourcemanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager2-cli" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager2] path = "../cloudresourcemanager2" -version = "2.0.4+20210328" +version = "2.0.5+20210328" diff --git a/gen/cloudresourcemanager2-cli/README.md b/gen/cloudresourcemanager2-cli/README.md index 0dbe53a557..d1c4ff38f3 100644 --- a/gen/cloudresourcemanager2-cli/README.md +++ b/gen/cloudresourcemanager2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.5*. ```bash cloudresourcemanager2 [options] diff --git a/gen/cloudresourcemanager2-cli/mkdocs.yml b/gen/cloudresourcemanager2-cli/mkdocs.yml index 548d38b6f8..53deff1774 100644 --- a/gen/cloudresourcemanager2-cli/mkdocs.yml +++ b/gen/cloudresourcemanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.4+20210328 +site_name: Cloud Resource Manager v2.0.5+20210328 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager2-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v2) diff --git a/gen/cloudresourcemanager2-cli/src/main.rs b/gen/cloudresourcemanager2-cli/src/main.rs index cf5435fada..0725d4a32e 100644 --- a/gen/cloudresourcemanager2-cli/src/main.rs +++ b/gen/cloudresourcemanager2-cli/src/main.rs @@ -1393,7 +1393,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager2") .author("Sebastian Thiel ") - .version("2.0.4+20210328") + .version("2.0.5+20210328") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager2/Cargo.toml b/gen/cloudresourcemanager2/Cargo.toml index 1b44c5c077..61614512f7 100644 --- a/gen/cloudresourcemanager2/Cargo.toml +++ b/gen/cloudresourcemanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager2" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager2" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager2/README.md b/gen/cloudresourcemanager2/README.md index 0d456d60e6..0914c3e129 100644 --- a/gen/cloudresourcemanager2/README.md +++ b/gen/cloudresourcemanager2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager2` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Resource Manager* *v2* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/CloudResourceManager) ... -* [folders](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::Folder) - * [*create*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::FolderUndeleteCall) -* [operations](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/api::OperationGetCall) +* [folders](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::Folder) + * [*create*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::FolderUndeleteCall) +* [operations](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::Operation) + * [*get*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/api::OperationGetCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudresourcemanager2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Delegate), 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-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::CallBuilder) 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-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::Part) 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-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::CallBuilder), 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-cloudresourcemanager2/2.0.4+20210328/google_cloudresourcemanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager2/2.0.5+20210328/google_cloudresourcemanager2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager2/src/api.rs b/gen/cloudresourcemanager2/src/api.rs index 05ab57afd2..a6732c4945 100644 --- a/gen/cloudresourcemanager2/src/api.rs +++ b/gen/cloudresourcemanager2/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager2/src/client.rs b/gen/cloudresourcemanager2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudresourcemanager2/src/client.rs +++ b/gen/cloudresourcemanager2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudresourcemanager2/src/lib.rs b/gen/cloudresourcemanager2/src/lib.rs index 46b1f973fc..e1229f6367 100644 --- a/gen/cloudresourcemanager2/src/lib.rs +++ b/gen/cloudresourcemanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Resource Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-cloudresourcemanager2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudresourcemanager3-cli/Cargo.toml b/gen/cloudresourcemanager3-cli/Cargo.toml index 39809172e6..79efce2567 100644 --- a/gen/cloudresourcemanager3-cli/Cargo.toml +++ b/gen/cloudresourcemanager3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager3-cli" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager3] path = "../cloudresourcemanager3" -version = "2.0.4+20210328" +version = "2.0.5+20210328" diff --git a/gen/cloudresourcemanager3-cli/README.md b/gen/cloudresourcemanager3-cli/README.md index e56e8d6219..593327ef7d 100644 --- a/gen/cloudresourcemanager3-cli/README.md +++ b/gen/cloudresourcemanager3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20210328*. The CLI is at version *2.0.5*. ```bash cloudresourcemanager3 [options] diff --git a/gen/cloudresourcemanager3-cli/mkdocs.yml b/gen/cloudresourcemanager3-cli/mkdocs.yml index e8714da618..b6cb9d6de9 100644 --- a/gen/cloudresourcemanager3-cli/mkdocs.yml +++ b/gen/cloudresourcemanager3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v2.0.4+20210328 +site_name: Cloud Resource Manager v2.0.5+20210328 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager3-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v3) diff --git a/gen/cloudresourcemanager3-cli/src/main.rs b/gen/cloudresourcemanager3-cli/src/main.rs index 3802ec243f..9991fe1a61 100644 --- a/gen/cloudresourcemanager3-cli/src/main.rs +++ b/gen/cloudresourcemanager3-cli/src/main.rs @@ -5396,7 +5396,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager3") .author("Sebastian Thiel ") - .version("2.0.4+20210328") + .version("2.0.5+20210328") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager3_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager3/Cargo.toml b/gen/cloudresourcemanager3/Cargo.toml index 42e7221770..ddf22337b6 100644 --- a/gen/cloudresourcemanager3/Cargo.toml +++ b/gen/cloudresourcemanager3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager3" -version = "2.0.4+20210328" +version = "2.0.5+20210328" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager3" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328" +documentation = "https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudresourcemanager3/README.md b/gen/cloudresourcemanager3/README.md index a1a056174a..c0b86eaeec 100644 --- a/gen/cloudresourcemanager3/README.md +++ b/gen/cloudresourcemanager3/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager3` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Resource Manager* *v3* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/CloudResourceManager) ... -* [folders](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::Folder) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::FolderUndeleteCall) -* [liens](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::Lien) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::LienListCall) -* [operations](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::OperationGetCall) -* [organizations](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::Organization) - * [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::OrganizationGetIamPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::OrganizationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::OrganizationTestIamPermissionCall) -* [projects](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::Project) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::ProjectUndeleteCall) -* [tag bindings](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagBinding) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagBindingCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagBindingDeleteCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagBindingListCall) -* [tag keys](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKey) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyPatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagKeyTestIamPermissionCall) -* [tag values](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValue) - * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValuePatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/api::TagValueTestIamPermissionCall) +* [folders](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::Folder) + * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::FolderUndeleteCall) +* [liens](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::Lien) + * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::LienListCall) +* [operations](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::Operation) + * [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::OperationGetCall) +* [organizations](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::Organization) + * [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::OrganizationGetIamPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::OrganizationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::OrganizationTestIamPermissionCall) +* [projects](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::Project) + * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::ProjectUndeleteCall) +* [tag bindings](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagBinding) + * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagBindingCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagBindingDeleteCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagBindingListCall) +* [tag keys](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKey) + * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyPatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagKeyTestIamPermissionCall) +* [tag values](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValue) + * [*create*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValuePatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/api::TagValueTestIamPermissionCall) @@ -37,17 +37,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,9 +96,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudresourcemanager3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -166,17 +163,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Delegate), 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-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::ResponseResult), 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")`. @@ -186,29 +183,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::CallBuilder) 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-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Delegate) 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 [encodable](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::Part) 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-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::CallBuilder), 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-cloudresourcemanager3/2.0.4+20210328/google_cloudresourcemanager3/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager3/2.0.5+20210328/google_cloudresourcemanager3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager3/src/api.rs b/gen/cloudresourcemanager3/src/api.rs index f96c2d7efb..9087b51681 100644 --- a/gen/cloudresourcemanager3/src/api.rs +++ b/gen/cloudresourcemanager3/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -158,7 +158,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager3/src/client.rs b/gen/cloudresourcemanager3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudresourcemanager3/src/client.rs +++ b/gen/cloudresourcemanager3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudresourcemanager3/src/lib.rs b/gen/cloudresourcemanager3/src/lib.rs index 6d2ac68a9b..bdbfa3390b 100644 --- a/gen/cloudresourcemanager3/src/lib.rs +++ b/gen/cloudresourcemanager3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.4+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Resource Manager* crate version *2.0.5+20210328*, where *20210328* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Resource Manager* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -96,9 +96,6 @@ //! ```toml //! [dependencies] //! google-cloudresourcemanager3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudscheduler1-cli/Cargo.toml b/gen/cloudscheduler1-cli/Cargo.toml index 118603ba6b..1475b16184 100644 --- a/gen/cloudscheduler1-cli/Cargo.toml +++ b/gen/cloudscheduler1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudscheduler1-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudscheduler1] path = "../cloudscheduler1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/cloudscheduler1-cli/README.md b/gen/cloudscheduler1-cli/README.md index 77df684abe..c306adef33 100644 --- a/gen/cloudscheduler1-cli/README.md +++ b/gen/cloudscheduler1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Scheduler* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Scheduler* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash cloudscheduler1 [options] diff --git a/gen/cloudscheduler1-cli/mkdocs.yml b/gen/cloudscheduler1-cli/mkdocs.yml index f191a377cc..ec4433fcd9 100644 --- a/gen/cloudscheduler1-cli/mkdocs.yml +++ b/gen/cloudscheduler1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v2.0.4+20210315 +site_name: Cloud Scheduler v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-cloudscheduler1-cli site_description: A complete library to interact with Cloud Scheduler (protocol v1) diff --git a/gen/cloudscheduler1-cli/src/main.rs b/gen/cloudscheduler1-cli/src/main.rs index c5cc4daf32..c1c4aeea6a 100644 --- a/gen/cloudscheduler1-cli/src/main.rs +++ b/gen/cloudscheduler1-cli/src/main.rs @@ -1183,7 +1183,7 @@ async fn main() { let mut app = App::new("cloudscheduler1") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("Creates and manages jobs run on a regular recurring schedule.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudscheduler1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudscheduler1/Cargo.toml b/gen/cloudscheduler1/Cargo.toml index eb413da73d..9e029f5a88 100644 --- a/gen/cloudscheduler1/Cargo.toml +++ b/gen/cloudscheduler1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1" homepage = "https://cloud.google.com/scheduler/" -documentation = "https://docs.rs/google-cloudscheduler1/2.0.4+20210315" +documentation = "https://docs.rs/google-cloudscheduler1/2.0.5+20210315" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudscheduler1/README.md b/gen/cloudscheduler1/README.md index fc29d0dc7b..d0ee5a4ba5 100644 --- a/gen/cloudscheduler1/README.md +++ b/gen/cloudscheduler1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudscheduler1` library allows access to all features of the *Google Cloud Scheduler* service. -This documentation was generated from *Cloud Scheduler* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Scheduler* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Scheduler* *v1* API can be found at the [official documentation site](https://cloud.google.com/scheduler/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/CloudScheduler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/CloudScheduler) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/CloudScheduler)** +* **[Hub](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/CloudScheduler)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Part)** + * **[Parts](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudscheduler1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Delegate), 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-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::CallBuilder) 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-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::Part) 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-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::CallBuilder), 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-cloudscheduler1/2.0.4+20210315/google_cloudscheduler1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudscheduler1/2.0.5+20210315/google_cloudscheduler1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudscheduler1/src/api.rs b/gen/cloudscheduler1/src/api.rs index e2117d5a3c..088fc81d11 100644 --- a/gen/cloudscheduler1/src/api.rs +++ b/gen/cloudscheduler1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudScheduler<> { CloudScheduler { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudscheduler.googleapis.com/".to_string(), _root_url: "https://cloudscheduler.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudScheduler<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudscheduler1/src/client.rs b/gen/cloudscheduler1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudscheduler1/src/client.rs +++ b/gen/cloudscheduler1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudscheduler1/src/lib.rs b/gen/cloudscheduler1/src/lib.rs index 3619619d23..c42d4b8dcf 100644 --- a/gen/cloudscheduler1/src/lib.rs +++ b/gen/cloudscheduler1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Scheduler* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Scheduler* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Scheduler* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-cloudscheduler1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudscheduler1_beta1-cli/Cargo.toml b/gen/cloudscheduler1_beta1-cli/Cargo.toml index f6d4127c8f..0762a6bc6e 100644 --- a/gen/cloudscheduler1_beta1-cli/Cargo.toml +++ b/gen/cloudscheduler1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudscheduler1_beta1-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudscheduler1_beta1] path = "../cloudscheduler1_beta1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/cloudscheduler1_beta1-cli/README.md b/gen/cloudscheduler1_beta1-cli/README.md index ec6785196b..06a6421305 100644 --- a/gen/cloudscheduler1_beta1-cli/README.md +++ b/gen/cloudscheduler1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Scheduler* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Scheduler* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash cloudscheduler1-beta1 [options] diff --git a/gen/cloudscheduler1_beta1-cli/mkdocs.yml b/gen/cloudscheduler1_beta1-cli/mkdocs.yml index 9a8e0cb3b1..bebf672191 100644 --- a/gen/cloudscheduler1_beta1-cli/mkdocs.yml +++ b/gen/cloudscheduler1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v2.0.4+20210315 +site_name: Cloud Scheduler v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-cloudscheduler1_beta1-cli site_description: A complete library to interact with Cloud Scheduler (protocol v1beta1) diff --git a/gen/cloudscheduler1_beta1-cli/src/main.rs b/gen/cloudscheduler1_beta1-cli/src/main.rs index 037bee27aa..da5892db4e 100644 --- a/gen/cloudscheduler1_beta1-cli/src/main.rs +++ b/gen/cloudscheduler1_beta1-cli/src/main.rs @@ -1193,7 +1193,7 @@ async fn main() { let mut app = App::new("cloudscheduler1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("Creates and manages jobs run on a regular recurring schedule.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudscheduler1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudscheduler1_beta1/Cargo.toml b/gen/cloudscheduler1_beta1/Cargo.toml index e7f2b94e94..c20887aa81 100644 --- a/gen/cloudscheduler1_beta1/Cargo.toml +++ b/gen/cloudscheduler1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1_beta1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1_beta1" homepage = "https://cloud.google.com/scheduler/" -documentation = "https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315" +documentation = "https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudscheduler1_beta1/README.md b/gen/cloudscheduler1_beta1/README.md index 6213015839..1283ff96eb 100644 --- a/gen/cloudscheduler1_beta1/README.md +++ b/gen/cloudscheduler1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudscheduler1_beta1` library allows access to all features of the *Google Cloud Scheduler* service. -This documentation was generated from *Cloud Scheduler* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Scheduler* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Scheduler* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/scheduler/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/CloudScheduler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/CloudScheduler) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/CloudScheduler)** +* **[Hub](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/CloudScheduler)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudscheduler1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Delegate), 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-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::CallBuilder) 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-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::Part) 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-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::CallBuilder), 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-cloudscheduler1_beta1/2.0.4+20210315/google_cloudscheduler1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudscheduler1_beta1/2.0.5+20210315/google_cloudscheduler1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudscheduler1_beta1/src/api.rs b/gen/cloudscheduler1_beta1/src/api.rs index 4eb4e8bbd7..d5801d6742 100644 --- a/gen/cloudscheduler1_beta1/src/api.rs +++ b/gen/cloudscheduler1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudScheduler<> { CloudScheduler { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudscheduler.googleapis.com/".to_string(), _root_url: "https://cloudscheduler.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudScheduler<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudscheduler1_beta1/src/client.rs b/gen/cloudscheduler1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudscheduler1_beta1/src/client.rs +++ b/gen/cloudscheduler1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudscheduler1_beta1/src/lib.rs b/gen/cloudscheduler1_beta1/src/lib.rs index 5c14b7227d..43a185f79d 100644 --- a/gen/cloudscheduler1_beta1/src/lib.rs +++ b/gen/cloudscheduler1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Scheduler* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Scheduler* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Scheduler* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-cloudscheduler1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudshell1-cli/Cargo.toml b/gen/cloudshell1-cli/Cargo.toml index 5afca9d53c..dbf2f497fb 100644 --- a/gen/cloudshell1-cli/Cargo.toml +++ b/gen/cloudshell1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudshell1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Shell (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudshell1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudshell1] path = "../cloudshell1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/cloudshell1-cli/README.md b/gen/cloudshell1-cli/README.md index 8fbe4616ec..2584e4bbad 100644 --- a/gen/cloudshell1-cli/README.md +++ b/gen/cloudshell1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Shell* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Shell* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash cloudshell1 [options] diff --git a/gen/cloudshell1-cli/mkdocs.yml b/gen/cloudshell1-cli/mkdocs.yml index 24df12d06d..a4e40c72fd 100644 --- a/gen/cloudshell1-cli/mkdocs.yml +++ b/gen/cloudshell1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Shell v2.0.4+20210326 +site_name: Cloud Shell v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-cloudshell1-cli site_description: A complete library to interact with Cloud Shell (protocol v1) diff --git a/gen/cloudshell1-cli/src/main.rs b/gen/cloudshell1-cli/src/main.rs index 4a464cc670..153eb72282 100644 --- a/gen/cloudshell1-cli/src/main.rs +++ b/gen/cloudshell1-cli/src/main.rs @@ -1043,7 +1043,7 @@ async fn main() { let mut app = App::new("cloudshell1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Allows users to start, configure, and connect to interactive shell sessions running in the cloud. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudshell1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudshell1/Cargo.toml b/gen/cloudshell1/Cargo.toml index 0949bd1b0c..d70aef0b3e 100644 --- a/gen/cloudshell1/Cargo.toml +++ b/gen/cloudshell1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudshell1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Shell (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudshell1" homepage = "https://cloud.google.com/shell/docs/" -documentation = "https://docs.rs/google-cloudshell1/2.0.4+20210326" +documentation = "https://docs.rs/google-cloudshell1/2.0.5+20210326" license = "MIT" keywords = ["cloudshell", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudshell1/README.md b/gen/cloudshell1/README.md index ecfe5487ef..203c2234ed 100644 --- a/gen/cloudshell1/README.md +++ b/gen/cloudshell1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudshell1` library allows access to all features of the *Google Cloud Shell* service. -This documentation was generated from *Cloud Shell* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Shell* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Shell* *v1* API can be found at the [official documentation site](https://cloud.google.com/shell/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/CloudShell) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/CloudShell) ... -* [operations](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::Operation) - * [*cancel*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::OperationListCall) +* [operations](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::Operation) + * [*cancel*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::OperationListCall) * users - * [*environments add public key*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::UserEnvironmentAddPublicKeyCall), [*environments authorize*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::UserEnvironmentAuthorizeCall), [*environments get*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::UserEnvironmentGetCall), [*environments remove public key*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::UserEnvironmentRemovePublicKeyCall) and [*environments start*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/api::UserEnvironmentStartCall) + * [*environments add public key*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::UserEnvironmentAddPublicKeyCall), [*environments authorize*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::UserEnvironmentAuthorizeCall), [*environments get*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::UserEnvironmentGetCall), [*environments remove public key*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::UserEnvironmentRemovePublicKeyCall) and [*environments start*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/api::UserEnvironmentStartCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/CloudShell)** +* **[Hub](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/CloudShell)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Part)** + * **[Parts](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudshell1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Delegate), 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-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::CallBuilder) 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-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudshell1/2.0.4+20210326/google_cloudshell1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::Part) 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-cloudshell1/2.0.4+20210326/google_cloudshell1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::CallBuilder), 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-cloudshell1/2.0.4+20210326/google_cloudshell1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudshell1/2.0.5+20210326/google_cloudshell1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudshell1/src/api.rs b/gen/cloudshell1/src/api.rs index c4df81fa35..d512a284a0 100644 --- a/gen/cloudshell1/src/api.rs +++ b/gen/cloudshell1/src/api.rs @@ -117,7 +117,7 @@ impl<'a, > CloudShell<> { CloudShell { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudshell.googleapis.com/".to_string(), _root_url: "https://cloudshell.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudShell<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudshell1/src/client.rs b/gen/cloudshell1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudshell1/src/client.rs +++ b/gen/cloudshell1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudshell1/src/lib.rs b/gen/cloudshell1/src/lib.rs index c5a79044c0..65e1301ab1 100644 --- a/gen/cloudshell1/src/lib.rs +++ b/gen/cloudshell1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Shell* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Shell* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Shell* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/shell/docs/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-cloudshell1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudtasks2-cli/Cargo.toml b/gen/cloudtasks2-cli/Cargo.toml index 230f20b073..1b5d7134b7 100644 --- a/gen/cloudtasks2-cli/Cargo.toml +++ b/gen/cloudtasks2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtasks2] path = "../cloudtasks2" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/cloudtasks2-cli/README.md b/gen/cloudtasks2-cli/README.md index 579aa180fd..428409fb62 100644 --- a/gen/cloudtasks2-cli/README.md +++ b/gen/cloudtasks2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash cloudtasks2 [options] diff --git a/gen/cloudtasks2-cli/mkdocs.yml b/gen/cloudtasks2-cli/mkdocs.yml index d7d8703b34..b336cba747 100644 --- a/gen/cloudtasks2-cli/mkdocs.yml +++ b/gen/cloudtasks2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v2.0.4+20210315 +site_name: Cloud Tasks v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2-cli site_description: A complete library to interact with Cloud Tasks (protocol v2) diff --git a/gen/cloudtasks2-cli/src/main.rs b/gen/cloudtasks2-cli/src/main.rs index 2ccc6e5b20..99bff7b487 100644 --- a/gen/cloudtasks2-cli/src/main.rs +++ b/gen/cloudtasks2-cli/src/main.rs @@ -2007,7 +2007,7 @@ async fn main() { let mut app = App::new("cloudtasks2") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("Manages the execution of large numbers of distributed requests.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtasks2/Cargo.toml b/gen/cloudtasks2/Cargo.toml index 244d1c4503..65a33c0427 100644 --- a/gen/cloudtasks2/Cargo.toml +++ b/gen/cloudtasks2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2/2.0.4+20210315" +documentation = "https://docs.rs/google-cloudtasks2/2.0.5+20210315" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtasks2/README.md b/gen/cloudtasks2/README.md index 84cb4763c3..671e159f82 100644 --- a/gen/cloudtasks2/README.md +++ b/gen/cloudtasks2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtasks2` library allows access to all features of the *Google Cloud Tasks* service. -This documentation was generated from *Cloud Tasks* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Tasks* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Tasks* *v2* API can be found at the [official documentation site](https://cloud.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/api::ProjectLocationQueueTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/api::ProjectLocationQueueTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/CloudTasks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudtasks2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Delegate), 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-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::CallBuilder) 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-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::Part) 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-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::CallBuilder), 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-cloudtasks2/2.0.4+20210315/google_cloudtasks2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2/2.0.5+20210315/google_cloudtasks2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtasks2/src/api.rs b/gen/cloudtasks2/src/api.rs index 79050c7649..b5b3a74738 100644 --- a/gen/cloudtasks2/src/api.rs +++ b/gen/cloudtasks2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudTasks<> { CloudTasks { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudTasks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtasks2/src/client.rs b/gen/cloudtasks2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudtasks2/src/client.rs +++ b/gen/cloudtasks2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudtasks2/src/lib.rs b/gen/cloudtasks2/src/lib.rs index 098f62d1a8..29e3f3d0d2 100644 --- a/gen/cloudtasks2/src/lib.rs +++ b/gen/cloudtasks2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Tasks* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Tasks* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Tasks* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-cloudtasks2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudtasks2_beta2-cli/Cargo.toml b/gen/cloudtasks2_beta2-cli/Cargo.toml index ccfbd7738e..cf18e22eca 100644 --- a/gen/cloudtasks2_beta2-cli/Cargo.toml +++ b/gen/cloudtasks2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2_beta2-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtasks2_beta2] path = "../cloudtasks2_beta2" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/cloudtasks2_beta2-cli/README.md b/gen/cloudtasks2_beta2-cli/README.md index 94a1f09d64..e9b45d7a37 100644 --- a/gen/cloudtasks2_beta2-cli/README.md +++ b/gen/cloudtasks2_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash cloudtasks2-beta2 [options] diff --git a/gen/cloudtasks2_beta2-cli/mkdocs.yml b/gen/cloudtasks2_beta2-cli/mkdocs.yml index 08ec3209c9..088ce4dc47 100644 --- a/gen/cloudtasks2_beta2-cli/mkdocs.yml +++ b/gen/cloudtasks2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v2.0.4+20210315 +site_name: Cloud Tasks v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2_beta2-cli site_description: A complete library to interact with Cloud Tasks (protocol v2beta2) diff --git a/gen/cloudtasks2_beta2-cli/src/main.rs b/gen/cloudtasks2_beta2-cli/src/main.rs index bae760bc6b..79fb5a35cb 100644 --- a/gen/cloudtasks2_beta2-cli/src/main.rs +++ b/gen/cloudtasks2_beta2-cli/src/main.rs @@ -2491,7 +2491,7 @@ async fn main() { let mut app = App::new("cloudtasks2-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("Manages the execution of large numbers of distributed requests.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtasks2_beta2/Cargo.toml b/gen/cloudtasks2_beta2/Cargo.toml index f6baf3abbe..1ba7020b63 100644 --- a/gen/cloudtasks2_beta2/Cargo.toml +++ b/gen/cloudtasks2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2_beta2" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta2" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315" +documentation = "https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtasks2_beta2/README.md b/gen/cloudtasks2_beta2/README.md index e9f7e86f26..6ee1ba8c71 100644 --- a/gen/cloudtasks2_beta2/README.md +++ b/gen/cloudtasks2_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtasks2_beta2` library allows access to all features of the *Google Cloud Tasks* service. -This documentation was generated from *Cloud Tasks* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Tasks* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Tasks* *v2_beta2* API can be found at the [official documentation site](https://cloud.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskAcknowledgeCall), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCancelLeaseCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskLeaseCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRenewLeaseCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskAcknowledgeCall), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCancelLeaseCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskLeaseCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRenewLeaseCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/api::ProjectLocationQueueTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/CloudTasks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudtasks2_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Delegate), 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-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::CallBuilder) 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-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::Part) 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-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::CallBuilder), 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-cloudtasks2_beta2/2.0.4+20210315/google_cloudtasks2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta2/2.0.5+20210315/google_cloudtasks2_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtasks2_beta2/src/api.rs b/gen/cloudtasks2_beta2/src/api.rs index bb83bb8074..6a790966c4 100644 --- a/gen/cloudtasks2_beta2/src/api.rs +++ b/gen/cloudtasks2_beta2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudTasks<> { CloudTasks { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudTasks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtasks2_beta2/src/client.rs b/gen/cloudtasks2_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudtasks2_beta2/src/client.rs +++ b/gen/cloudtasks2_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudtasks2_beta2/src/lib.rs b/gen/cloudtasks2_beta2/src/lib.rs index 30db97c5e5..864fc4890d 100644 --- a/gen/cloudtasks2_beta2/src/lib.rs +++ b/gen/cloudtasks2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Tasks* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Tasks* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Tasks* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-cloudtasks2_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudtasks2_beta3-cli/Cargo.toml b/gen/cloudtasks2_beta3-cli/Cargo.toml index 9e30ac27e5..56b8463bff 100644 --- a/gen/cloudtasks2_beta3-cli/Cargo.toml +++ b/gen/cloudtasks2_beta3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2_beta3-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtasks2_beta3] path = "../cloudtasks2_beta3" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/cloudtasks2_beta3-cli/README.md b/gen/cloudtasks2_beta3-cli/README.md index 8a5b8e926c..c963fd39dc 100644 --- a/gen/cloudtasks2_beta3-cli/README.md +++ b/gen/cloudtasks2_beta3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Tasks* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash cloudtasks2-beta3 [options] diff --git a/gen/cloudtasks2_beta3-cli/mkdocs.yml b/gen/cloudtasks2_beta3-cli/mkdocs.yml index d3f3d15f20..3292e873e0 100644 --- a/gen/cloudtasks2_beta3-cli/mkdocs.yml +++ b/gen/cloudtasks2_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v2.0.4+20210315 +site_name: Cloud Tasks v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2_beta3-cli site_description: A complete library to interact with Cloud Tasks (protocol v2beta3) diff --git a/gen/cloudtasks2_beta3-cli/src/main.rs b/gen/cloudtasks2_beta3-cli/src/main.rs index 68df61fbdf..6389e5d2e6 100644 --- a/gen/cloudtasks2_beta3-cli/src/main.rs +++ b/gen/cloudtasks2_beta3-cli/src/main.rs @@ -2032,7 +2032,7 @@ async fn main() { let mut app = App::new("cloudtasks2-beta3") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("Manages the execution of large numbers of distributed requests.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_beta3_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtasks2_beta3/Cargo.toml b/gen/cloudtasks2_beta3/Cargo.toml index ee376e1fd2..aa06db9b30 100644 --- a/gen/cloudtasks2_beta3/Cargo.toml +++ b/gen/cloudtasks2_beta3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2_beta3" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta3" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315" +documentation = "https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtasks2_beta3/README.md b/gen/cloudtasks2_beta3/README.md index 535ce4e0b5..72b13f1630 100644 --- a/gen/cloudtasks2_beta3/README.md +++ b/gen/cloudtasks2_beta3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtasks2_beta3` library allows access to all features of the *Google Cloud Tasks* service. -This documentation was generated from *Cloud Tasks* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Tasks* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Tasks* *v2_beta3* API can be found at the [official documentation site](https://cloud.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/api::ProjectLocationQueueTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/CloudTasks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudtasks2_beta3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Delegate), 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-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::CallBuilder) 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-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Delegate) 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 [encodable](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::Part) 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-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::CallBuilder), 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-cloudtasks2_beta3/2.0.4+20210315/google_cloudtasks2_beta3/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta3/2.0.5+20210315/google_cloudtasks2_beta3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtasks2_beta3/src/api.rs b/gen/cloudtasks2_beta3/src/api.rs index e79c26fcd5..c53c6cc099 100644 --- a/gen/cloudtasks2_beta3/src/api.rs +++ b/gen/cloudtasks2_beta3/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudTasks<> { CloudTasks { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudTasks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtasks2_beta3/src/client.rs b/gen/cloudtasks2_beta3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudtasks2_beta3/src/client.rs +++ b/gen/cloudtasks2_beta3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudtasks2_beta3/src/lib.rs b/gen/cloudtasks2_beta3/src/lib.rs index 21bbff08bf..94c223665a 100644 --- a/gen/cloudtasks2_beta3/src/lib.rs +++ b/gen/cloudtasks2_beta3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Tasks* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Tasks* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Tasks* *v2_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-cloudtasks2_beta3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudtrace1-cli/Cargo.toml b/gen/cloudtrace1-cli/Cargo.toml index ba46a97a57..96af1f02bf 100644 --- a/gen/cloudtrace1-cli/Cargo.toml +++ b/gen/cloudtrace1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtrace1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtrace1] path = "../cloudtrace1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/cloudtrace1-cli/README.md b/gen/cloudtrace1-cli/README.md index 9288838633..6845940cae 100644 --- a/gen/cloudtrace1-cli/README.md +++ b/gen/cloudtrace1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Trace* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Trace* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash cloudtrace1 [options] diff --git a/gen/cloudtrace1-cli/mkdocs.yml b/gen/cloudtrace1-cli/mkdocs.yml index 44da234051..b0f4cd3896 100644 --- a/gen/cloudtrace1-cli/mkdocs.yml +++ b/gen/cloudtrace1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v2.0.4+20210319 +site_name: Cloud Trace v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-cloudtrace1-cli site_description: A complete library to interact with Cloud Trace (protocol v1) diff --git a/gen/cloudtrace1-cli/src/main.rs b/gen/cloudtrace1-cli/src/main.rs index cf7f565065..9525d4d742 100644 --- a/gen/cloudtrace1-cli/src/main.rs +++ b/gen/cloudtrace1-cli/src/main.rs @@ -429,7 +429,7 @@ async fn main() { let mut app = App::new("cloudtrace1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtrace1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtrace1/Cargo.toml b/gen/cloudtrace1/Cargo.toml index 988cadce14..1e433f46d4 100644 --- a/gen/cloudtrace1/Cargo.toml +++ b/gen/cloudtrace1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace1" homepage = "https://cloud.google.com/trace" -documentation = "https://docs.rs/google-cloudtrace1/2.0.4+20210319" +documentation = "https://docs.rs/google-cloudtrace1/2.0.5+20210319" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtrace1/README.md b/gen/cloudtrace1/README.md index f965f5cc65..9b3f3b89a8 100644 --- a/gen/cloudtrace1/README.md +++ b/gen/cloudtrace1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtrace1` library allows access to all features of the *Google Cloud Trace* service. -This documentation was generated from *Cloud Trace* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Trace* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Trace* *v1* API can be found at the [official documentation site](https://cloud.google.com/trace). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/CloudTrace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/CloudTrace) ... * projects - * [*patch traces*](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/api::ProjectPatchTraceCall), [*traces get*](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/api::ProjectTraceGetCall) and [*traces list*](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/api::ProjectTraceListCall) + * [*patch traces*](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/api::ProjectPatchTraceCall), [*traces get*](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/api::ProjectTraceGetCall) and [*traces list*](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/api::ProjectTraceListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/CloudTrace)** +* **[Hub](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/CloudTrace)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Part)** + * **[Parts](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudtrace1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -126,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Delegate), 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-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::CallBuilder) 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-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Delegate) 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 [encodable](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::Part) 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-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::CallBuilder), 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-cloudtrace1/2.0.4+20210319/google_cloudtrace1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtrace1/2.0.5+20210319/google_cloudtrace1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtrace1/src/api.rs b/gen/cloudtrace1/src/api.rs index c660eb4f10..efcf29fd48 100644 --- a/gen/cloudtrace1/src/api.rs +++ b/gen/cloudtrace1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > CloudTrace<> { CloudTrace { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudtrace.googleapis.com/".to_string(), _root_url: "https://cloudtrace.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CloudTrace<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtrace1/src/client.rs b/gen/cloudtrace1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudtrace1/src/client.rs +++ b/gen/cloudtrace1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudtrace1/src/lib.rs b/gen/cloudtrace1/src/lib.rs index a58a8b5814..7e08e0bc42 100644 --- a/gen/cloudtrace1/src/lib.rs +++ b/gen/cloudtrace1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Trace* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Trace* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Trace* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/trace). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-cloudtrace1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/cloudtrace2-cli/Cargo.toml b/gen/cloudtrace2-cli/Cargo.toml index dc5d9b2074..f59739a613 100644 --- a/gen/cloudtrace2-cli/Cargo.toml +++ b/gen/cloudtrace2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtrace2-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtrace2] path = "../cloudtrace2" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/cloudtrace2-cli/README.md b/gen/cloudtrace2-cli/README.md index f162f013aa..e44b60b39f 100644 --- a/gen/cloudtrace2-cli/README.md +++ b/gen/cloudtrace2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Trace* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Trace* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash cloudtrace2 [options] diff --git a/gen/cloudtrace2-cli/mkdocs.yml b/gen/cloudtrace2-cli/mkdocs.yml index 34c01d11a0..9d4ca53ca8 100644 --- a/gen/cloudtrace2-cli/mkdocs.yml +++ b/gen/cloudtrace2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v2.0.4+20210319 +site_name: Cloud Trace v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-cloudtrace2-cli site_description: A complete library to interact with Cloud Trace (protocol v2) diff --git a/gen/cloudtrace2-cli/src/main.rs b/gen/cloudtrace2-cli/src/main.rs index d7100b7ea6..049563e707 100644 --- a/gen/cloudtrace2-cli/src/main.rs +++ b/gen/cloudtrace2-cli/src/main.rs @@ -380,7 +380,7 @@ async fn main() { let mut app = App::new("cloudtrace2") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenCensus. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtrace2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtrace2/Cargo.toml b/gen/cloudtrace2/Cargo.toml index 43ba428641..b8385d3b98 100644 --- a/gen/cloudtrace2/Cargo.toml +++ b/gen/cloudtrace2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace2" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace2" homepage = "https://cloud.google.com/trace" -documentation = "https://docs.rs/google-cloudtrace2/2.0.4+20210319" +documentation = "https://docs.rs/google-cloudtrace2/2.0.5+20210319" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/cloudtrace2/README.md b/gen/cloudtrace2/README.md index 75880eda8a..1c423554bc 100644 --- a/gen/cloudtrace2/README.md +++ b/gen/cloudtrace2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtrace2` library allows access to all features of the *Google Cloud Trace* service. -This documentation was generated from *Cloud Trace* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Trace* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Trace* *v2* API can be found at the [official documentation site](https://cloud.google.com/trace). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/CloudTrace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/CloudTrace) ... * projects - * [*traces batch write*](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/api::ProjectTraceBatchWriteCall) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/api::ProjectTraceSpanCreateSpanCall) + * [*traces batch write*](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/api::ProjectTraceBatchWriteCall) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/api::ProjectTraceSpanCreateSpanCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/CloudTrace)** +* **[Hub](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/CloudTrace)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-cloudtrace2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Delegate), 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-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::CallBuilder) 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-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Delegate) 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 [encodable](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::Part) 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-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::CallBuilder), 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-cloudtrace2/2.0.4+20210319/google_cloudtrace2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtrace2/2.0.5+20210319/google_cloudtrace2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtrace2/src/api.rs b/gen/cloudtrace2/src/api.rs index ca69a00be6..ea96095715 100644 --- a/gen/cloudtrace2/src/api.rs +++ b/gen/cloudtrace2/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudTrace<> { CloudTrace { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://cloudtrace.googleapis.com/".to_string(), _root_url: "https://cloudtrace.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudTrace<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudtrace2/src/client.rs b/gen/cloudtrace2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/cloudtrace2/src/client.rs +++ b/gen/cloudtrace2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/cloudtrace2/src/lib.rs b/gen/cloudtrace2/src/lib.rs index 74a3d8e07c..b61f777398 100644 --- a/gen/cloudtrace2/src/lib.rs +++ b/gen/cloudtrace2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Trace* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Trace* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Trace* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/trace). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-cloudtrace2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/clouduseraccountsvm_beta-cli/Cargo.toml b/gen/clouduseraccountsvm_beta-cli/Cargo.toml index 5117af50f9..206c965093 100644 --- a/gen/clouduseraccountsvm_beta-cli/Cargo.toml +++ b/gen/clouduseraccountsvm_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouduseraccountsvm_beta-cli" -version = "2.0.4+20160316" +version = "2.0.5+20160316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud User Accounts (protocol vm_beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouduseraccountsvm_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouduseraccountsvm_beta] path = "../clouduseraccountsvm_beta" -version = "2.0.4+20160316" +version = "2.0.5+20160316" diff --git a/gen/clouduseraccountsvm_beta-cli/README.md b/gen/clouduseraccountsvm_beta-cli/README.md index 5ef35e3815..ce3a276097 100644 --- a/gen/clouduseraccountsvm_beta-cli/README.md +++ b/gen/clouduseraccountsvm_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *2.0.5*. ```bash clouduseraccountsvm-beta [options] diff --git a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml index efa9984766..f9511f2654 100644 --- a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml +++ b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud User Accounts v2.0.4+20160316 +site_name: Cloud User Accounts v2.0.5+20160316 site_url: http://byron.github.io/google-apis-rs/google-clouduseraccountsvm_beta-cli site_description: A complete library to interact with Cloud User Accounts (protocol vm_beta) diff --git a/gen/clouduseraccountsvm_beta-cli/src/main.rs b/gen/clouduseraccountsvm_beta-cli/src/main.rs index 788cd4a590..fbad68d064 100644 --- a/gen/clouduseraccountsvm_beta-cli/src/main.rs +++ b/gen/clouduseraccountsvm_beta-cli/src/main.rs @@ -1821,7 +1821,7 @@ async fn main() { let mut app = App::new("clouduseraccountsvm-beta") .author("Sebastian Thiel ") - .version("2.0.4+20160316") + .version("2.0.5+20160316") .about("Creates and manages users and groups for accessing Google Compute Engine virtual machines.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouduseraccountsvm_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/clouduseraccountsvm_beta/Cargo.toml b/gen/clouduseraccountsvm_beta/Cargo.toml index 2b03c034cf..1d5e3d4bdd 100644 --- a/gen/clouduseraccountsvm_beta/Cargo.toml +++ b/gen/clouduseraccountsvm_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouduseraccountsvm_beta" -version = "2.0.4+20160316" +version = "2.0.5+20160316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud User Accounts (protocol vm_beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouduseraccountsvm_beta" homepage = "https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" -documentation = "https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316" +documentation = "https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316" license = "MIT" keywords = ["clouduseraccounts", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/clouduseraccountsvm_beta/README.md b/gen/clouduseraccountsvm_beta/README.md index ae34b5bc5e..3cf3d05f86 100644 --- a/gen/clouduseraccountsvm_beta/README.md +++ b/gen/clouduseraccountsvm_beta/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-clouduseraccountsvm_beta` library allows access to all features of the *Google Cloud User Accounts* service. -This documentation was generated from *Cloud User Accounts* crate version *2.0.4+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud User Accounts* crate version *2.0.5+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts) ... * global accounts operations - * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationGetCall) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationListCall) -* [groups](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::Group) - * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GroupAddMemberCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GroupDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GroupGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GroupInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GroupListCall) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::GroupRemoveMemberCall) + * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationGetCall) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationListCall) +* [groups](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::Group) + * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GroupAddMemberCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GroupDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GroupGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GroupInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GroupListCall) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::GroupRemoveMemberCall) * linux - * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::LinuxGetAuthorizedKeysViewCall) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::LinuxGetLinuxAccountViewCall) -* [users](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::User) - * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::UserAddPublicKeyCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::UserDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::UserGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::UserInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::UserListCall) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/api::UserRemovePublicKeyCall) + * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::LinuxGetAuthorizedKeysViewCall) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::LinuxGetLinuxAccountViewCall) +* [users](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::User) + * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::UserAddPublicKeyCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::UserDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::UserGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::UserInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::UserListCall) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/api::UserRemovePublicKeyCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts)** +* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Part)** + * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -78,9 +78,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-clouduseraccountsvm_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -146,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -166,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Delegate) 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 [encodable](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::RequestValue) and -[decodable](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::RequestValue) and +[decodable](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-clouduseraccountsvm_beta/2.0.4+20160316/google_clouduseraccountsvm_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouduseraccountsvm_beta/2.0.5+20160316/google_clouduseraccountsvm_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouduseraccountsvm_beta/src/api.rs b/gen/clouduseraccountsvm_beta/src/api.rs index 8e114b733b..f5f7e8903e 100644 --- a/gen/clouduseraccountsvm_beta/src/api.rs +++ b/gen/clouduseraccountsvm_beta/src/api.rs @@ -132,7 +132,7 @@ impl<'a, > CloudUserAccounts<> { CloudUserAccounts { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/clouduseraccounts/vm_beta/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -152,7 +152,7 @@ impl<'a, > CloudUserAccounts<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouduseraccountsvm_beta/src/client.rs b/gen/clouduseraccountsvm_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/clouduseraccountsvm_beta/src/client.rs +++ b/gen/clouduseraccountsvm_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs b/gen/clouduseraccountsvm_beta/src/lib.rs index 83cb378c65..d51ebf28f3 100644 --- a/gen/clouduseraccountsvm_beta/src/lib.rs +++ b/gen/clouduseraccountsvm_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud User Accounts* crate version *2.0.4+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud User Accounts* crate version *2.0.5+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). @@ -78,9 +78,6 @@ //! ```toml //! [dependencies] //! google-clouduseraccountsvm_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/commentanalyzer1_alpha1-cli/Cargo.toml b/gen/commentanalyzer1_alpha1-cli/Cargo.toml index fe212ce7e8..ce089f0543 100644 --- a/gen/commentanalyzer1_alpha1-cli/Cargo.toml +++ b/gen/commentanalyzer1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-commentanalyzer1_alpha1-cli" -version = "2.0.4+20200405" +version = "2.0.5+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Comment Analyzer (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/commentanalyzer1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-commentanalyzer1_alpha1] path = "../commentanalyzer1_alpha1" -version = "2.0.4+20200405" +version = "2.0.5+20200405" diff --git a/gen/commentanalyzer1_alpha1-cli/README.md b/gen/commentanalyzer1_alpha1-cli/README.md index 41914afda5..8b291cffb2 100644 --- a/gen/commentanalyzer1_alpha1-cli/README.md +++ b/gen/commentanalyzer1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Comment Analyzer* API at revision *20200405*. The CLI is at version *2.0.4*. +This documentation was generated from the *Comment Analyzer* API at revision *20200405*. The CLI is at version *2.0.5*. ```bash commentanalyzer1-alpha1 [options] diff --git a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml index 652feb70f7..4f2b385842 100644 --- a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml +++ b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Comment Analyzer v2.0.4+20200405 +site_name: Comment Analyzer v2.0.5+20200405 site_url: http://byron.github.io/google-apis-rs/google-commentanalyzer1_alpha1-cli site_description: A complete library to interact with Comment Analyzer (protocol v1alpha1) diff --git a/gen/commentanalyzer1_alpha1-cli/src/main.rs b/gen/commentanalyzer1_alpha1-cli/src/main.rs index fe6e97f084..70fc606ab6 100644 --- a/gen/commentanalyzer1_alpha1-cli/src/main.rs +++ b/gen/commentanalyzer1_alpha1-cli/src/main.rs @@ -372,7 +372,7 @@ async fn main() { let mut app = App::new("commentanalyzer1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20200405") + .version("2.0.5+20200405") .about("The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the \"toxicity\" of a comment). Users can leverage the \"SuggestCommentScore\" method to submit corrections to improve Perspective over time. Users can set the \"doNotStore\" flag to ensure that all submitted comments are automatically deleted after scores are returned.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_commentanalyzer1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/commentanalyzer1_alpha1/Cargo.toml b/gen/commentanalyzer1_alpha1/Cargo.toml index 4a0408a015..314011ae76 100644 --- a/gen/commentanalyzer1_alpha1/Cargo.toml +++ b/gen/commentanalyzer1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-commentanalyzer1_alpha1" -version = "2.0.4+20200405" +version = "2.0.5+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Comment Analyzer (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/commentanalyzer1_alpha1" homepage = "https://github.com/conversationai/perspectiveapi/blob/master/README.md" -documentation = "https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405" +documentation = "https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405" license = "MIT" keywords = ["commentanalyzer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/commentanalyzer1_alpha1/README.md b/gen/commentanalyzer1_alpha1/README.md index 63d3fc7320..7083f52aea 100644 --- a/gen/commentanalyzer1_alpha1/README.md +++ b/gen/commentanalyzer1_alpha1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-commentanalyzer1_alpha1` library allows access to all features of the *Google Comment Analyzer* service. -This documentation was generated from *Comment Analyzer* crate version *2.0.4+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Comment Analyzer* crate version *2.0.5+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Comment Analyzer* *v1_alpha1* API can be found at the [official documentation site](https://github.com/conversationai/perspectiveapi/blob/master/README.md). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer) ... * comments - * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/api::CommentAnalyzeCall) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/api::CommentSuggestscoreCall) + * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/api::CommentAnalyzeCall) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/api::CommentSuggestscoreCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer)** +* **[Hub](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-commentanalyzer1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Delegate), 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-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) 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-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::Part) 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-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::CallBuilder), 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-commentanalyzer1_alpha1/2.0.4+20200405/google_commentanalyzer1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-commentanalyzer1_alpha1/2.0.5+20200405/google_commentanalyzer1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/commentanalyzer1_alpha1/src/api.rs b/gen/commentanalyzer1_alpha1/src/api.rs index 3724c4a8c4..4368eebbed 100644 --- a/gen/commentanalyzer1_alpha1/src/api.rs +++ b/gen/commentanalyzer1_alpha1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CommentAnalyzer<> { CommentAnalyzer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://commentanalyzer.googleapis.com/".to_string(), _root_url: "https://commentanalyzer.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CommentAnalyzer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/commentanalyzer1_alpha1/src/client.rs b/gen/commentanalyzer1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/commentanalyzer1_alpha1/src/client.rs +++ b/gen/commentanalyzer1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/commentanalyzer1_alpha1/src/lib.rs b/gen/commentanalyzer1_alpha1/src/lib.rs index 331862d905..f2416eded2 100644 --- a/gen/commentanalyzer1_alpha1/src/lib.rs +++ b/gen/commentanalyzer1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Comment Analyzer* crate version *2.0.4+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Comment Analyzer* crate version *2.0.5+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Comment Analyzer* *v1_alpha1* API can be found at the //! [official documentation site](https://github.com/conversationai/perspectiveapi/blob/master/README.md). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-commentanalyzer1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/composer1-cli/Cargo.toml b/gen/composer1-cli/Cargo.toml index 6d3a27c08a..67b2a409f2 100644 --- a/gen/composer1-cli/Cargo.toml +++ b/gen/composer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-composer1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Composer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/composer1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-composer1] path = "../composer1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/composer1-cli/README.md b/gen/composer1-cli/README.md index 46042396df..53c32dfa0d 100644 --- a/gen/composer1-cli/README.md +++ b/gen/composer1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Composer* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Composer* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash composer1 [options] diff --git a/gen/composer1-cli/mkdocs.yml b/gen/composer1-cli/mkdocs.yml index 91905afe5c..76d9ad29b5 100644 --- a/gen/composer1-cli/mkdocs.yml +++ b/gen/composer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Composer v2.0.4+20210319 +site_name: Cloud Composer v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-composer1-cli site_description: A complete library to interact with Cloud Composer (protocol v1) diff --git a/gen/composer1-cli/src/main.rs b/gen/composer1-cli/src/main.rs index 45c4a1d64b..6311175c50 100644 --- a/gen/composer1-cli/src/main.rs +++ b/gen/composer1-cli/src/main.rs @@ -1008,7 +1008,7 @@ async fn main() { let mut app = App::new("composer1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Manages Apache Airflow environments on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_composer1_cli") .arg(Arg::with_name("url") diff --git a/gen/composer1/Cargo.toml b/gen/composer1/Cargo.toml index 1d2144407b..8cafcd89de 100644 --- a/gen/composer1/Cargo.toml +++ b/gen/composer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-composer1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Composer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/composer1" homepage = "https://cloud.google.com/composer/" -documentation = "https://docs.rs/google-composer1/2.0.4+20210319" +documentation = "https://docs.rs/google-composer1/2.0.5+20210319" license = "MIT" keywords = ["composer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/composer1/README.md b/gen/composer1/README.md index d8a9e2edf1..05d13735b0 100644 --- a/gen/composer1/README.md +++ b/gen/composer1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-composer1` library allows access to all features of the *Google Cloud Composer* service. -This documentation was generated from *Cloud Composer* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Composer* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Composer* *v1* API can be found at the [official documentation site](https://cloud.google.com/composer/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/CloudComposer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/CloudComposer) ... * projects - * [*locations environments create*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationEnvironmentListCall), [*locations environments patch*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationEnvironmentPatchCall), [*locations image versions list*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationImageVersionListCall), [*locations operations delete*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/api::ProjectLocationOperationListCall) + * [*locations environments create*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationEnvironmentListCall), [*locations environments patch*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationEnvironmentPatchCall), [*locations image versions list*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationImageVersionListCall), [*locations operations delete*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/CloudComposer)** +* **[Hub](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/CloudComposer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Part)** + * **[Parts](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-composer1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Delegate), 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-composer1/2.0.4+20210319/google_composer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::CallBuilder) 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-composer1/2.0.4+20210319/google_composer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Delegate) 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 [encodable](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::RequestValue) and -[decodable](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::RequestValue) and +[decodable](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-composer1/2.0.4+20210319/google_composer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::Part) 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-composer1/2.0.4+20210319/google_composer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::CallBuilder), 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-composer1/2.0.4+20210319/google_composer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-composer1/2.0.5+20210319/google_composer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/composer1/src/api.rs b/gen/composer1/src/api.rs index fe777130a9..245f7fafa7 100644 --- a/gen/composer1/src/api.rs +++ b/gen/composer1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudComposer<> { CloudComposer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://composer.googleapis.com/".to_string(), _root_url: "https://composer.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudComposer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/composer1/src/client.rs b/gen/composer1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/composer1/src/client.rs +++ b/gen/composer1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/composer1/src/lib.rs b/gen/composer1/src/lib.rs index feb6b86a07..e8008678b8 100644 --- a/gen/composer1/src/lib.rs +++ b/gen/composer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Composer* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Composer* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Composer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/composer/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-composer1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/compute1-cli/Cargo.toml b/gen/compute1-cli/Cargo.toml index c15c6d021a..313be66530 100644 --- a/gen/compute1-cli/Cargo.toml +++ b/gen/compute1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-compute1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with compute (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/compute1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-compute1] path = "../compute1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/compute1-cli/README.md b/gen/compute1-cli/README.md index 387e269548..7c8b9e3cbe 100644 --- a/gen/compute1-cli/README.md +++ b/gen/compute1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *compute* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *compute* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash compute1 [options] diff --git a/gen/compute1-cli/mkdocs.yml b/gen/compute1-cli/mkdocs.yml index 80362c6bc7..1c96121bae 100644 --- a/gen/compute1-cli/mkdocs.yml +++ b/gen/compute1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: compute v2.0.4+20210316 +site_name: compute v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-compute1-cli site_description: A complete library to interact with compute (protocol v1) diff --git a/gen/compute1-cli/src/main.rs b/gen/compute1-cli/src/main.rs index 02603ea456..89980be202 100644 --- a/gen/compute1-cli/src/main.rs +++ b/gen/compute1-cli/src/main.rs @@ -67152,7 +67152,7 @@ async fn main() { let mut app = App::new("compute1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("Creates and runs virtual machines on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_compute1_cli") .arg(Arg::with_name("url") diff --git a/gen/compute1/Cargo.toml b/gen/compute1/Cargo.toml index 91599ceee1..f20b7627d0 100644 --- a/gen/compute1/Cargo.toml +++ b/gen/compute1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-compute1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with compute (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/compute1" homepage = "https://developers.google.com/compute/docs/reference/latest/" -documentation = "https://docs.rs/google-compute1/2.0.4+20210316" +documentation = "https://docs.rs/google-compute1/2.0.5+20210316" license = "MIT" keywords = ["compute", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/compute1/README.md b/gen/compute1/README.md index 2cfbeb2ebf..bdbd22438f 100644 --- a/gen/compute1/README.md +++ b/gen/compute1/README.md @@ -5,174 +5,174 @@ DO NOT EDIT ! --> The `google-compute1` library allows access to all features of the *Google compute* service. -This documentation was generated from *compute* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *compute* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *compute* *v1* API can be found at the [official documentation site](https://developers.google.com/compute/docs/reference/latest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/Compute) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/Compute) ... -* [accelerator types](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AcceleratorType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AcceleratorTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AcceleratorTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AcceleratorTypeListCall) +* [accelerator types](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AcceleratorType) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AcceleratorTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AcceleratorTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AcceleratorTypeListCall) * addresses - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AddresseAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AddresseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AddresseGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AddresseInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AddresseListCall) -* [autoscalers](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Autoscaler) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::AutoscalerUpdateCall) -* [backend buckets](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucket) - * [*add signed url key*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketAddSignedUrlKeyCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendBucketUpdateCall) -* [backend services](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendService) - * [*add signed url key*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceAddSignedUrlKeyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServicePatchCall), [*set security policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceSetSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::BackendServiceUpdateCall) -* [disk types](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskTypeListCall) -* [disks](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Disk) - * [*add resource policies*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskAggregatedListCall), [*create snapshot*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::DiskTestIamPermissionCall) -* [external vpn gateways](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGateway) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ExternalVpnGatewayTestIamPermissionCall) -* [firewall policies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicy) - * [*add association*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyListCall), [*list associations*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyListAssociationCall), [*move*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyMoveCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPolicyTestIamPermissionCall) -* [firewalls](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Firewall) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::FirewallUpdateCall) -* [forwarding rules](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRule) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ForwardingRuleSetTargetCall) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AddresseAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AddresseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AddresseGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AddresseInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AddresseListCall) +* [autoscalers](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Autoscaler) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::AutoscalerUpdateCall) +* [backend buckets](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucket) + * [*add signed url key*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketAddSignedUrlKeyCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendBucketUpdateCall) +* [backend services](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendService) + * [*add signed url key*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceAddSignedUrlKeyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServicePatchCall), [*set security policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceSetSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::BackendServiceUpdateCall) +* [disk types](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskType) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskTypeListCall) +* [disks](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Disk) + * [*add resource policies*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskAggregatedListCall), [*create snapshot*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::DiskTestIamPermissionCall) +* [external vpn gateways](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGateway) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ExternalVpnGatewayTestIamPermissionCall) +* [firewall policies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicy) + * [*add association*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyListCall), [*list associations*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyListAssociationCall), [*move*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyMoveCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPolicyTestIamPermissionCall) +* [firewalls](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Firewall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::FirewallUpdateCall) +* [forwarding rules](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRule) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ForwardingRuleSetTargetCall) * global addresses - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalAddresseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalAddresseGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalAddresseInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalAddresseListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalAddresseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalAddresseGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalAddresseInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalAddresseListCall) * global forwarding rules - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalForwardingRuleSetTargetCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalForwardingRuleSetTargetCall) * global network endpoint groups - * [*attach network endpoints*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupListCall) and [*list network endpoints*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalNetworkEndpointGroupListNetworkEndpointCall) + * [*attach network endpoints*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupListCall) and [*list network endpoints*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalNetworkEndpointGroupListNetworkEndpointCall) * global operations - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOperationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOperationWaitCall) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOperationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOperationWaitCall) * global organization operations - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOrganizationOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOrganizationOperationGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalOrganizationOperationListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOrganizationOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOrganizationOperationGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalOrganizationOperationListCall) * global public delegated prefixes - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::GlobalPublicDelegatedPrefixePatchCall) -* [health checks](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheck) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HealthCheckUpdateCall) -* [http health checks](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheck) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpHealthCheckUpdateCall) -* [https health checks](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheck) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::HttpsHealthCheckUpdateCall) -* [images](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Image) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageDeleteCall), [*deprecate*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageDeprecateCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageGetCall), [*get from family*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageGetFromFamilyCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImagePatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ImageTestIamPermissionCall) -* [instance group managers](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManager) - * [*abandon instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerAbandonInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerAggregatedListCall), [*apply updates to instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupManagerUpdatePerInstanceConfigCall) -* [instance groups](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroup) - * [*add instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupListInstanceCall), [*remove instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupRemoveInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGroupSetNamedPortCall) -* [instance templates](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplate) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTemplateTestIamPermissionCall) -* [instances](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Instance) - * [*add access config*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceAddAccessConfigCall), [*add resource policies*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceAggregatedListCall), [*attach disk*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceAttachDiskCall), [*bulk insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceBulkInsertCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceDeleteCall), [*delete access config*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceDeleteAccessConfigCall), [*detach disk*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceDetachDiskCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetEffectiveFirewallCall), [*get guest attributes*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetGuestAttributeCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetIamPolicyCall), [*get screenshot*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetScreenshotCall), [*get serial port output*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetSerialPortOutputCall), [*get shielded instance identity*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceGetShieldedInstanceIdentityCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceListCall), [*list referrers*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceListReferrerCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceRemoveResourcePolicyCall), [*reset*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceResetCall), [*set deletion protection*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetDeletionProtectionCall), [*set disk auto delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetDiskAutoDeleteCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetLabelCall), [*set machine resources*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetMachineResourceCall), [*set machine type*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetMachineTypeCall), [*set metadata*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetMetadataCall), [*set min cpu platform*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetMinCpuPlatformCall), [*set scheduling*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetSchedulingCall), [*set service account*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetServiceAccountCall), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetShieldedInstanceIntegrityPolicyCall), [*set tags*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSetTagCall), [*simulate maintenance event*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceSimulateMaintenanceEventCall), [*start*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceStartCall), [*start with encryption key*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceStartWithEncryptionKeyCall), [*stop*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceStopCall), [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceTestIamPermissionCall), [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceUpdateCall), [*update access config*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceUpdateAccessConfigCall), [*update display device*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceUpdateDisplayDeviceCall), [*update network interface*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceUpdateNetworkInterfaceCall) and [*update shielded instance config*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InstanceUpdateShieldedInstanceConfigCall) -* [interconnect attachments](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachment) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachmentGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachmentListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectAttachmentPatchCall) -* [interconnect locations](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectLocation) - * [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectLocationGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectLocationListCall) -* [interconnects](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Interconnect) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectGetCall), [*get diagnostics*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectGetDiagnosticCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::InterconnectPatchCall) -* [license codes](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseCode) - * [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseCodeGetCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseCodeTestIamPermissionCall) -* [licenses](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::License) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::LicenseTestIamPermissionCall) -* [machine types](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::MachineType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::MachineTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::MachineTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::MachineTypeListCall) -* [network endpoint groups](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroup) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupAggregatedListCall), [*attach network endpoints*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupListCall), [*list network endpoints*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupListNetworkEndpointCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkEndpointGroupTestIamPermissionCall) -* [networks](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Network) - * [*add peering*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkAddPeeringCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkGetEffectiveFirewallCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkListCall), [*list peering routes*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkListPeeringRouteCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkPatchCall), [*remove peering*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkRemovePeeringCall), [*switch to custom mode*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkSwitchToCustomModeCall) and [*update peering*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NetworkUpdatePeeringCall) -* [node groups](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroup) - * [*add nodes*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupAddNodeCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupDeleteCall), [*delete nodes*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupDeleteNodeCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupListCall), [*list nodes*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupListNodeCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupPatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupSetIamPolicyCall), [*set node template*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupSetNodeTemplateCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeGroupTestIamPermissionCall) -* [node templates](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplate) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTemplateTestIamPermissionCall) -* [node types](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeType) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::NodeTypeListCall) -* [packet mirrorings](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroring) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringPatchCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PacketMirroringTestIamPermissionCall) -* [projects](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Project) - * [*disable xpn host*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectDisableXpnHostCall), [*disable xpn resource*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectDisableXpnResourceCall), [*enable xpn host*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectEnableXpnHostCall), [*enable xpn resource*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectEnableXpnResourceCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectGetCall), [*get xpn host*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectGetXpnHostCall), [*get xpn resources*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectGetXpnResourceCall), [*list xpn hosts*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectListXpnHostCall), [*move disk*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectMoveDiskCall), [*move instance*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectMoveInstanceCall), [*set common instance metadata*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectSetCommonInstanceMetadataCall), [*set default network tier*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectSetDefaultNetworkTierCall) and [*set usage export bucket*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ProjectSetUsageExportBucketCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalPublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::GlobalPublicDelegatedPrefixePatchCall) +* [health checks](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheck) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HealthCheckUpdateCall) +* [http health checks](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheck) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpHealthCheckUpdateCall) +* [https health checks](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheck) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::HttpsHealthCheckUpdateCall) +* [images](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Image) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageDeleteCall), [*deprecate*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageDeprecateCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageGetCall), [*get from family*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageGetFromFamilyCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImagePatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ImageTestIamPermissionCall) +* [instance group managers](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManager) + * [*abandon instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerAbandonInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerAggregatedListCall), [*apply updates to instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupManagerUpdatePerInstanceConfigCall) +* [instance groups](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroup) + * [*add instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupListInstanceCall), [*remove instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupRemoveInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGroupSetNamedPortCall) +* [instance templates](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplate) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTemplateTestIamPermissionCall) +* [instances](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Instance) + * [*add access config*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceAddAccessConfigCall), [*add resource policies*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceAggregatedListCall), [*attach disk*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceAttachDiskCall), [*bulk insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceBulkInsertCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceDeleteCall), [*delete access config*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceDeleteAccessConfigCall), [*detach disk*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceDetachDiskCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetEffectiveFirewallCall), [*get guest attributes*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetGuestAttributeCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetIamPolicyCall), [*get screenshot*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetScreenshotCall), [*get serial port output*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetSerialPortOutputCall), [*get shielded instance identity*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceGetShieldedInstanceIdentityCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceListCall), [*list referrers*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceListReferrerCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceRemoveResourcePolicyCall), [*reset*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceResetCall), [*set deletion protection*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetDeletionProtectionCall), [*set disk auto delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetDiskAutoDeleteCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetLabelCall), [*set machine resources*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetMachineResourceCall), [*set machine type*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetMachineTypeCall), [*set metadata*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetMetadataCall), [*set min cpu platform*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetMinCpuPlatformCall), [*set scheduling*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetSchedulingCall), [*set service account*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetServiceAccountCall), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetShieldedInstanceIntegrityPolicyCall), [*set tags*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSetTagCall), [*simulate maintenance event*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceSimulateMaintenanceEventCall), [*start*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceStartCall), [*start with encryption key*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceStartWithEncryptionKeyCall), [*stop*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceStopCall), [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceTestIamPermissionCall), [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceUpdateCall), [*update access config*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceUpdateAccessConfigCall), [*update display device*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceUpdateDisplayDeviceCall), [*update network interface*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceUpdateNetworkInterfaceCall) and [*update shielded instance config*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InstanceUpdateShieldedInstanceConfigCall) +* [interconnect attachments](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachment) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachmentGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachmentListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectAttachmentPatchCall) +* [interconnect locations](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectLocation) + * [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectLocationGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectLocationListCall) +* [interconnects](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Interconnect) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectGetCall), [*get diagnostics*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectGetDiagnosticCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::InterconnectPatchCall) +* [license codes](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseCode) + * [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseCodeGetCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseCodeTestIamPermissionCall) +* [licenses](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::License) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::LicenseTestIamPermissionCall) +* [machine types](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::MachineType) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::MachineTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::MachineTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::MachineTypeListCall) +* [network endpoint groups](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroup) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupAggregatedListCall), [*attach network endpoints*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupListCall), [*list network endpoints*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupListNetworkEndpointCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkEndpointGroupTestIamPermissionCall) +* [networks](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Network) + * [*add peering*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkAddPeeringCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkGetEffectiveFirewallCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkListCall), [*list peering routes*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkListPeeringRouteCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkPatchCall), [*remove peering*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkRemovePeeringCall), [*switch to custom mode*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkSwitchToCustomModeCall) and [*update peering*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NetworkUpdatePeeringCall) +* [node groups](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroup) + * [*add nodes*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupAddNodeCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupDeleteCall), [*delete nodes*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupDeleteNodeCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupListCall), [*list nodes*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupListNodeCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupPatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupSetIamPolicyCall), [*set node template*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupSetNodeTemplateCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeGroupTestIamPermissionCall) +* [node templates](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplate) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTemplateTestIamPermissionCall) +* [node types](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeType) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::NodeTypeListCall) +* [packet mirrorings](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroring) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringPatchCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PacketMirroringTestIamPermissionCall) +* [projects](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Project) + * [*disable xpn host*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectDisableXpnHostCall), [*disable xpn resource*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectDisableXpnResourceCall), [*enable xpn host*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectEnableXpnHostCall), [*enable xpn resource*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectEnableXpnResourceCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectGetCall), [*get xpn host*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectGetXpnHostCall), [*get xpn resources*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectGetXpnResourceCall), [*list xpn hosts*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectListXpnHostCall), [*move disk*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectMoveDiskCall), [*move instance*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectMoveInstanceCall), [*set common instance metadata*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectSetCommonInstanceMetadataCall), [*set default network tier*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectSetDefaultNetworkTierCall) and [*set usage export bucket*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ProjectSetUsageExportBucketCall) * public advertised prefixes - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicAdvertisedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicAdvertisedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicAdvertisedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicAdvertisedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicAdvertisedPrefixePatchCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicAdvertisedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicAdvertisedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicAdvertisedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicAdvertisedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicAdvertisedPrefixePatchCall) * public delegated prefixes - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicDelegatedPrefixeAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::PublicDelegatedPrefixePatchCall) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicDelegatedPrefixeAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::PublicDelegatedPrefixePatchCall) * region autoscalers - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionAutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionAutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionAutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionAutoscalerListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionAutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionAutoscalerUpdateCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionAutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionAutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionAutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionAutoscalerListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionAutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionAutoscalerUpdateCall) * region backend services - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServiceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServiceListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServicePatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionBackendServiceUpdateCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServiceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServiceListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServicePatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionBackendServiceUpdateCall) * region commitments - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionCommitmentAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionCommitmentGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionCommitmentInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionCommitmentListCall) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionCommitmentAggregatedListCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionCommitmentGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionCommitmentInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionCommitmentListCall) * region disk types - * [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskTypeListCall) + * [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskTypeListCall) * region disks - * [*add resource policies*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskAddResourcePolicyCall), [*create snapshot*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionDiskTestIamPermissionCall) + * [*add resource policies*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskAddResourcePolicyCall), [*create snapshot*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionDiskTestIamPermissionCall) * region health check services - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckServiceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckServiceGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckServiceListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckServicePatchCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckServiceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckServiceGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckServiceInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckServiceListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckServicePatchCall) * region health checks - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionHealthCheckUpdateCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionHealthCheckUpdateCall) * region instance group managers - * [*abandon instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerAbandonInstanceCall), [*apply updates to instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupManagerUpdatePerInstanceConfigCall) + * [*abandon instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerAbandonInstanceCall), [*apply updates to instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupManagerUpdatePerInstanceConfigCall) * region instance groups - * [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupGetCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupListInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceGroupSetNamedPortCall) + * [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupGetCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupListInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceGroupSetNamedPortCall) * region instances - * [*bulk insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionInstanceBulkInsertCall) + * [*bulk insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionInstanceBulkInsertCall) * region network endpoint groups - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNetworkEndpointGroupDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNetworkEndpointGroupInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNetworkEndpointGroupListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNetworkEndpointGroupDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNetworkEndpointGroupInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNetworkEndpointGroupListCall) * region notification endpoints - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNotificationEndpointDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNotificationEndpointGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNotificationEndpointInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionNotificationEndpointListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNotificationEndpointDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNotificationEndpointGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNotificationEndpointInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionNotificationEndpointListCall) * region operations - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionOperationWaitCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionOperationWaitCall) * region ssl certificates - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionSslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionSslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionSslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionSslCertificateListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionSslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionSslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionSslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionSslCertificateListCall) * region target http proxies - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpProxyListCall) and [*set url map*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpProxySetUrlMapCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpProxyListCall) and [*set url map*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpProxySetUrlMapCall) * region target https proxies - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpsProxyListCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpsProxySetSslCertificateCall) and [*set url map*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionTargetHttpsProxySetUrlMapCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpsProxyListCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpsProxySetSslCertificateCall) and [*set url map*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionTargetHttpsProxySetUrlMapCall) * region url maps - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapPatchCall), [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionUrlMapValidateCall) -* [regions](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Region) - * [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RegionListCall) -* [reservations](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Reservation) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationListCall), [*resize*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ReservationTestIamPermissionCall) -* [resource policies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicy) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ResourcePolicyTestIamPermissionCall) -* [routers](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Router) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterGetCall), [*get nat mapping info*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterGetNatMappingInfoCall), [*get router status*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterGetRouterStatuCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterPatchCall), [*preview*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterPreviewCall) and [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouterUpdateCall) -* [routes](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Route) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouteDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouteGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouteInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::RouteListCall) -* [security policies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicy) - * [*add rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyAddRuleCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyGetCall), [*get rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyListCall), [*list preconfigured expression sets*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyListPreconfiguredExpressionSetCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyPatchRuleCall) and [*remove rule*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SecurityPolicyRemoveRuleCall) -* [snapshots](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Snapshot) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotGetIamPolicyCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SnapshotTestIamPermissionCall) -* [ssl certificates](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslCertificate) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslCertificateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslCertificateListCall) -* [ssl policies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicy) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicyListCall), [*list available features*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicyListAvailableFeatureCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SslPolicyPatchCall) -* [subnetworks](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Subnetwork) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkDeleteCall), [*expand ip cidr range*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkExpandIpCidrRangeCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkListCall), [*list usable*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkListUsableCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkPatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkSetIamPolicyCall), [*set private ip google access*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkSetPrivateIpGoogleAccesCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::SubnetworkTestIamPermissionCall) -* [target grpc proxies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetGrpcProxy) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetGrpcProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetGrpcProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetGrpcProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetGrpcProxyListCall) and [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetGrpcProxyPatchCall) -* [target http proxies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxy) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxyListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxyPatchCall) and [*set url map*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpProxySetUrlMapCall) -* [target https proxies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxy) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxyListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxyPatchCall), [*set quic override*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxySetQuicOverrideCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxySetSslCertificateCall), [*set ssl policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxySetSslPolicyCall) and [*set url map*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetHttpsProxySetUrlMapCall) -* [target instances](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetInstance) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetInstanceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetInstanceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetInstanceGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetInstanceInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetInstanceListCall) -* [target pools](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPool) - * [*add health check*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolAddHealthCheckCall), [*add instance*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolGetCall), [*get health*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolListCall), [*remove health check*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolRemoveHealthCheckCall), [*remove instance*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolRemoveInstanceCall) and [*set backup*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetPoolSetBackupCall) -* [target ssl proxies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxy) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxyListCall), [*set backend service*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxySetBackendServiceCall), [*set proxy header*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxySetProxyHeaderCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxySetSslCertificateCall) and [*set ssl policy*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetSslProxySetSslPolicyCall) -* [target tcp proxies](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxy) - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxyListCall), [*set backend service*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxySetBackendServiceCall) and [*set proxy header*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetTcpProxySetProxyHeaderCall) -* [target vpn gateways](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetVpnGateway) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetVpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetVpnGatewayInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::TargetVpnGatewayListCall) -* [url maps](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMap) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapInsertCall), [*invalidate cache*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapInvalidateCacheCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapListCall), [*patch*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapPatchCall), [*update*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::UrlMapValidateCall) -* [vpn gateways](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGateway) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayGetCall), [*get status*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayGetStatuCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnGatewayTestIamPermissionCall) -* [vpn tunnels](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnTunnel) - * [*aggregated list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnTunnelAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnTunnelDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnTunnelGetCall), [*insert*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnTunnelInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::VpnTunnelListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapPatchCall), [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionUrlMapValidateCall) +* [regions](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Region) + * [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RegionListCall) +* [reservations](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Reservation) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationListCall), [*resize*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationResizeCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ReservationTestIamPermissionCall) +* [resource policies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicy) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ResourcePolicyTestIamPermissionCall) +* [routers](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Router) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterGetCall), [*get nat mapping info*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterGetNatMappingInfoCall), [*get router status*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterGetRouterStatuCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterPatchCall), [*preview*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterPreviewCall) and [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouterUpdateCall) +* [routes](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Route) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouteDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouteGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouteInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::RouteListCall) +* [security policies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicy) + * [*add rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyAddRuleCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyGetCall), [*get rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyListCall), [*list preconfigured expression sets*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyListPreconfiguredExpressionSetCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyPatchRuleCall) and [*remove rule*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SecurityPolicyRemoveRuleCall) +* [snapshots](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Snapshot) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotGetIamPolicyCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotListCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SnapshotTestIamPermissionCall) +* [ssl certificates](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslCertificate) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslCertificateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslCertificateListCall) +* [ssl policies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicy) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicyListCall), [*list available features*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicyListAvailableFeatureCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SslPolicyPatchCall) +* [subnetworks](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Subnetwork) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkDeleteCall), [*expand ip cidr range*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkExpandIpCidrRangeCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkGetCall), [*get iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkListCall), [*list usable*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkListUsableCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkPatchCall), [*set iam policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkSetIamPolicyCall), [*set private ip google access*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkSetPrivateIpGoogleAccesCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::SubnetworkTestIamPermissionCall) +* [target grpc proxies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetGrpcProxy) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetGrpcProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetGrpcProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetGrpcProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetGrpcProxyListCall) and [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetGrpcProxyPatchCall) +* [target http proxies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxy) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxyListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxyPatchCall) and [*set url map*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpProxySetUrlMapCall) +* [target https proxies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxy) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxyListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxyPatchCall), [*set quic override*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxySetQuicOverrideCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxySetSslCertificateCall), [*set ssl policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxySetSslPolicyCall) and [*set url map*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetHttpsProxySetUrlMapCall) +* [target instances](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetInstance) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetInstanceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetInstanceDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetInstanceGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetInstanceInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetInstanceListCall) +* [target pools](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPool) + * [*add health check*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolAddHealthCheckCall), [*add instance*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolGetCall), [*get health*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolGetHealthCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolListCall), [*remove health check*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolRemoveHealthCheckCall), [*remove instance*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolRemoveInstanceCall) and [*set backup*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetPoolSetBackupCall) +* [target ssl proxies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxy) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxyListCall), [*set backend service*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxySetBackendServiceCall), [*set proxy header*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxySetProxyHeaderCall), [*set ssl certificates*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxySetSslCertificateCall) and [*set ssl policy*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetSslProxySetSslPolicyCall) +* [target tcp proxies](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxy) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxyGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxyInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxyListCall), [*set backend service*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxySetBackendServiceCall) and [*set proxy header*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetTcpProxySetProxyHeaderCall) +* [target vpn gateways](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetVpnGateway) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetVpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetVpnGatewayInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::TargetVpnGatewayListCall) +* [url maps](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMap) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapInsertCall), [*invalidate cache*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapInvalidateCacheCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapListCall), [*patch*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapPatchCall), [*update*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::UrlMapValidateCall) +* [vpn gateways](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGateway) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayGetCall), [*get status*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayGetStatuCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnGatewayTestIamPermissionCall) +* [vpn tunnels](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnTunnel) + * [*aggregated list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnTunnelAggregatedListCall), [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnTunnelDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnTunnelGetCall), [*insert*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnTunnelInsertCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::VpnTunnelListCall) * zone operations - * [*delete*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ZoneOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ZoneOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ZoneOperationWaitCall) -* [zones](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::Zone) - * [*get*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ZoneGetCall) and [*list*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/api::ZoneListCall) + * [*delete*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ZoneOperationGetCall), [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ZoneOperationListCall) and [*wait*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ZoneOperationWaitCall) +* [zones](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::Zone) + * [*get*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ZoneGetCall) and [*list*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/api::ZoneListCall) @@ -181,17 +181,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/Compute)** +* **[Hub](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/Compute)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::CallBuilder) -* **[Resources](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::CallBuilder) +* **[Resources](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Part)** + * **[Parts](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -533,9 +533,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-compute1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -604,17 +601,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Delegate), 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-compute1/2.0.4+20210316/google_compute1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::ResponseResult), 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")`. @@ -624,29 +621,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Delegate) to the -[Method Builder](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Delegate) to the +[Method Builder](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::CallBuilder) 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-compute1/2.0.4+20210316/google_compute1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Delegate) 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 [encodable](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::RequestValue) and -[decodable](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::RequestValue) and +[decodable](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-compute1/2.0.4+20210316/google_compute1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::Part) 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-compute1/2.0.4+20210316/google_compute1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::CallBuilder), 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-compute1/2.0.4+20210316/google_compute1/client::RequestValue) are moved +* [request values](https://docs.rs/google-compute1/2.0.5+20210316/google_compute1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/compute1/src/api.rs b/gen/compute1/src/api.rs index 2344e00f16..bb9ef6c996 100644 --- a/gen/compute1/src/api.rs +++ b/gen/compute1/src/api.rs @@ -143,7 +143,7 @@ impl<'a, > Compute<> { Compute { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://compute.googleapis.com/compute/v1/".to_string(), _root_url: "https://compute.googleapis.com/".to_string(), } @@ -391,7 +391,7 @@ impl<'a, > Compute<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/compute1/src/client.rs b/gen/compute1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/compute1/src/client.rs +++ b/gen/compute1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/compute1/src/lib.rs b/gen/compute1/src/lib.rs index 42e53bebbc..01335c43df 100644 --- a/gen/compute1/src/lib.rs +++ b/gen/compute1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *compute* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *compute* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *compute* *v1* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/reference/latest/). @@ -533,9 +533,6 @@ //! ```toml //! [dependencies] //! google-compute1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/consumersurveys2-cli/Cargo.toml b/gen/consumersurveys2-cli/Cargo.toml index 3f7b2d5e78..992444f608 100644 --- a/gen/consumersurveys2-cli/Cargo.toml +++ b/gen/consumersurveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-consumersurveys2-cli" -version = "2.0.4+20170407" +version = "2.0.5+20170407" authors = ["Sebastian Thiel "] description = "A complete library to interact with Consumer Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2-cli" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-consumersurveys2] path = "../consumersurveys2" -version = "2.0.4+20170407" +version = "2.0.5+20170407" diff --git a/gen/consumersurveys2-cli/README.md b/gen/consumersurveys2-cli/README.md index f84af044d8..3bcb005c61 100644 --- a/gen/consumersurveys2-cli/README.md +++ b/gen/consumersurveys2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Consumer Surveys* API at revision *20170407*. The CLI is at version *2.0.4*. +This documentation was generated from the *Consumer Surveys* API at revision *20170407*. The CLI is at version *2.0.5*. ```bash consumersurveys2 [options] diff --git a/gen/consumersurveys2-cli/mkdocs.yml b/gen/consumersurveys2-cli/mkdocs.yml index d022e5e3f3..4de6d35864 100644 --- a/gen/consumersurveys2-cli/mkdocs.yml +++ b/gen/consumersurveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Consumer Surveys v2.0.4+20170407 +site_name: Consumer Surveys v2.0.5+20170407 site_url: http://byron.github.io/google-apis-rs/google-consumersurveys2-cli site_description: A complete library to interact with Consumer Surveys (protocol v2) diff --git a/gen/consumersurveys2-cli/src/main.rs b/gen/consumersurveys2-cli/src/main.rs index c81a2bfa15..2a1375c64c 100644 --- a/gen/consumersurveys2-cli/src/main.rs +++ b/gen/consumersurveys2-cli/src/main.rs @@ -1248,7 +1248,7 @@ async fn main() { let mut app = App::new("consumersurveys2") .author("Sebastian Thiel ") - .version("2.0.4+20170407") + .version("2.0.5+20170407") .about("Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_consumersurveys2_cli") .arg(Arg::with_name("url") diff --git a/gen/consumersurveys2/Cargo.toml b/gen/consumersurveys2/Cargo.toml index ac42f6508c..78a73021dd 100644 --- a/gen/consumersurveys2/Cargo.toml +++ b/gen/consumersurveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-consumersurveys2" -version = "2.0.4+20170407" +version = "2.0.5+20170407" authors = ["Sebastian Thiel "] description = "A complete library to interact with Consumer Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2" -documentation = "https://docs.rs/google-consumersurveys2/2.0.4+20170407" +documentation = "https://docs.rs/google-consumersurveys2/2.0.5+20170407" license = "MIT" keywords = ["consumersurveys", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/consumersurveys2/README.md b/gen/consumersurveys2/README.md index 9043df7fa6..7d14626d40 100644 --- a/gen/consumersurveys2/README.md +++ b/gen/consumersurveys2/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-consumersurveys2` library allows access to all features of the *Google Consumer Surveys* service. -This documentation was generated from *Consumer Surveys* crate version *2.0.4+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Consumer Surveys* crate version *2.0.5+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/ConsumerSurveys) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/ConsumerSurveys) ... * mobileapppanels - * [*get*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::MobileapppanelGetCall), [*list*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::MobileapppanelListCall) and [*update*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::MobileapppanelUpdateCall) + * [*get*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::MobileapppanelGetCall), [*list*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::MobileapppanelListCall) and [*update*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::MobileapppanelUpdateCall) * results - * [*get*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::ResultGetCall) -* [surveys](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::Survey) - * [*delete*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyListCall), [*start*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::SurveyUpdateCall) + * [*get*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::ResultGetCall) +* [surveys](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::Survey) + * [*delete*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyListCall), [*start*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::SurveyUpdateCall) Download supported by ... -* [*get results*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/api::ResultGetCall) +* [*get results*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/api::ResultGetCall) @@ -28,17 +28,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/ConsumerSurveys)** +* **[Hub](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/ConsumerSurveys)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::CallBuilder) +* **[Resources](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Part)** + * **[Parts](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-consumersurveys2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Delegate), 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-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Delegate) to the +[Method Builder](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::CallBuilder) 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-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Delegate) 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 [encodable](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::RequestValue) and -[decodable](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::RequestValue) and +[decodable](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::Part) 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-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::CallBuilder), 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-consumersurveys2/2.0.4+20170407/google_consumersurveys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-consumersurveys2/2.0.5+20170407/google_consumersurveys2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/consumersurveys2/src/api.rs b/gen/consumersurveys2/src/api.rs index 35c03841d0..4eb0c19722 100644 --- a/gen/consumersurveys2/src/api.rs +++ b/gen/consumersurveys2/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > ConsumerSurveys<> { ConsumerSurveys { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/consumersurveys/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > ConsumerSurveys<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/consumersurveys2/src/client.rs b/gen/consumersurveys2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/consumersurveys2/src/client.rs +++ b/gen/consumersurveys2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/consumersurveys2/src/lib.rs b/gen/consumersurveys2/src/lib.rs index a12e46ebdc..a6e8326707 100644 --- a/gen/consumersurveys2/src/lib.rs +++ b/gen/consumersurveys2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Consumer Surveys* crate version *2.0.4+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Consumer Surveys* crate version *2.0.5+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2). //! # Features //! @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-consumersurveys2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/container1-cli/Cargo.toml b/gen/container1-cli/Cargo.toml index 8637b10071..47aad0d4cf 100644 --- a/gen/container1-cli/Cargo.toml +++ b/gen/container1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-container1-cli" -version = "2.0.4+20210314" +version = "2.0.5+20210314" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/container1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-container1] path = "../container1" -version = "2.0.4+20210314" +version = "2.0.5+20210314" diff --git a/gen/container1-cli/README.md b/gen/container1-cli/README.md index 86dd52a6a2..f104a0c981 100644 --- a/gen/container1-cli/README.md +++ b/gen/container1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Container* API at revision *20210314*. The CLI is at version *2.0.4*. +This documentation was generated from the *Container* API at revision *20210314*. The CLI is at version *2.0.5*. ```bash container1 [options] diff --git a/gen/container1-cli/mkdocs.yml b/gen/container1-cli/mkdocs.yml index 7c5de27271..0d4c59bf05 100644 --- a/gen/container1-cli/mkdocs.yml +++ b/gen/container1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container v2.0.4+20210314 +site_name: Container v2.0.5+20210314 site_url: http://byron.github.io/google-apis-rs/google-container1-cli site_description: A complete library to interact with Container (protocol v1) diff --git a/gen/container1-cli/src/main.rs b/gen/container1-cli/src/main.rs index 6fa0fb1fa7..85dc37b6ca 100644 --- a/gen/container1-cli/src/main.rs +++ b/gen/container1-cli/src/main.rs @@ -7842,7 +7842,7 @@ async fn main() { let mut app = App::new("container1") .author("Sebastian Thiel ") - .version("2.0.4+20210314") + .version("2.0.5+20210314") .about("Builds and manages container-based applications, powered by the open source Kubernetes technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_container1_cli") .arg(Arg::with_name("url") diff --git a/gen/container1/Cargo.toml b/gen/container1/Cargo.toml index cae86d6f9d..120c27763c 100644 --- a/gen/container1/Cargo.toml +++ b/gen/container1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-container1" -version = "2.0.4+20210314" +version = "2.0.5+20210314" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/container1" homepage = "https://cloud.google.com/container-engine/" -documentation = "https://docs.rs/google-container1/2.0.4+20210314" +documentation = "https://docs.rs/google-container1/2.0.5+20210314" license = "MIT" keywords = ["container", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/container1/README.md b/gen/container1/README.md index b5aa641a95..6d3c2a56a3 100644 --- a/gen/container1/README.md +++ b/gen/container1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-container1` library allows access to all features of the *Google Container* service. -This documentation was generated from *Container* crate version *2.0.4+20210314*, where *20210314* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Container* crate version *2.0.5+20210314*, where *20210314* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Container* *v1* API can be found at the [official documentation site](https://cloud.google.com/container-engine/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/2.0.4+20210314/google_container1/Container) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/2.0.5+20210314/google_container1/Container) ... * projects - * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectAggregatedUsableSubnetworkListCall), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterCompleteIpRotationCall), [*locations clusters create*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterCreateCall), [*locations clusters delete*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterDeleteCall), [*locations clusters get*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterGetCall), [*locations clusters get jwks*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterGetJwkCall), [*locations clusters list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterListCall), [*locations clusters node pools create*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolCreateCall), [*locations clusters node pools delete*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolDeleteCall), [*locations clusters node pools get*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolGetCall), [*locations clusters node pools list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolListCall), [*locations clusters node pools rollback*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolRollbackCall), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolSetAutoscalingCall), [*locations clusters node pools set management*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolSetManagementCall), [*locations clusters node pools set size*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolSetSizeCall), [*locations clusters node pools update*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterNodePoolUpdateCall), [*locations clusters set addons*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetAddonCall), [*locations clusters set legacy abac*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetLegacyAbacCall), [*locations clusters set locations*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetLocationCall), [*locations clusters set logging*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetLoggingCall), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetMaintenancePolicyCall), [*locations clusters set master auth*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetMasterAuthCall), [*locations clusters set monitoring*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetMonitoringCall), [*locations clusters set network policy*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetNetworkPolicyCall), [*locations clusters set resource labels*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterSetResourceLabelCall), [*locations clusters start ip rotation*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterStartIpRotationCall), [*locations clusters update*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterUpdateCall), [*locations clusters update master*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterUpdateMasterCall), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationClusterWellKnownGetOpenidConfigurationCall), [*locations get server config*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationGetServerConfigCall), [*locations operations cancel*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectLocationOperationListCall), [*zones clusters addons*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterAddonCall), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterCompleteIpRotationCall), [*zones clusters create*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterCreateCall), [*zones clusters delete*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterDeleteCall), [*zones clusters get*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterGetCall), [*zones clusters legacy abac*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterLegacyAbacCall), [*zones clusters list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterListCall), [*zones clusters locations*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterLocationCall), [*zones clusters logging*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterLoggingCall), [*zones clusters master*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterMasterCall), [*zones clusters monitoring*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterMonitoringCall), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolAutoscalingCall), [*zones clusters node pools create*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolCreateCall), [*zones clusters node pools delete*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolDeleteCall), [*zones clusters node pools get*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolGetCall), [*zones clusters node pools list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolListCall), [*zones clusters node pools rollback*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolRollbackCall), [*zones clusters node pools set management*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolSetManagementCall), [*zones clusters node pools set size*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolSetSizeCall), [*zones clusters node pools update*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterNodePoolUpdateCall), [*zones clusters resource labels*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterResourceLabelCall), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterSetMaintenancePolicyCall), [*zones clusters set master auth*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterSetMasterAuthCall), [*zones clusters set network policy*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterSetNetworkPolicyCall), [*zones clusters start ip rotation*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterStartIpRotationCall), [*zones clusters update*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneClusterUpdateCall), [*zones get serverconfig*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneGetServerconfigCall), [*zones operations cancel*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneOperationCancelCall), [*zones operations get*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneOperationGetCall) and [*zones operations list*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/api::ProjectZoneOperationListCall) + * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectAggregatedUsableSubnetworkListCall), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterCompleteIpRotationCall), [*locations clusters create*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterCreateCall), [*locations clusters delete*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterDeleteCall), [*locations clusters get*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterGetCall), [*locations clusters get jwks*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterGetJwkCall), [*locations clusters list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterListCall), [*locations clusters node pools create*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolCreateCall), [*locations clusters node pools delete*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolDeleteCall), [*locations clusters node pools get*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolGetCall), [*locations clusters node pools list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolListCall), [*locations clusters node pools rollback*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolRollbackCall), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolSetAutoscalingCall), [*locations clusters node pools set management*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolSetManagementCall), [*locations clusters node pools set size*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolSetSizeCall), [*locations clusters node pools update*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterNodePoolUpdateCall), [*locations clusters set addons*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetAddonCall), [*locations clusters set legacy abac*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetLegacyAbacCall), [*locations clusters set locations*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetLocationCall), [*locations clusters set logging*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetLoggingCall), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetMaintenancePolicyCall), [*locations clusters set master auth*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetMasterAuthCall), [*locations clusters set monitoring*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetMonitoringCall), [*locations clusters set network policy*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetNetworkPolicyCall), [*locations clusters set resource labels*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterSetResourceLabelCall), [*locations clusters start ip rotation*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterStartIpRotationCall), [*locations clusters update*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterUpdateCall), [*locations clusters update master*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterUpdateMasterCall), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationClusterWellKnownGetOpenidConfigurationCall), [*locations get server config*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationGetServerConfigCall), [*locations operations cancel*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectLocationOperationListCall), [*zones clusters addons*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterAddonCall), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterCompleteIpRotationCall), [*zones clusters create*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterCreateCall), [*zones clusters delete*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterDeleteCall), [*zones clusters get*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterGetCall), [*zones clusters legacy abac*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterLegacyAbacCall), [*zones clusters list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterListCall), [*zones clusters locations*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterLocationCall), [*zones clusters logging*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterLoggingCall), [*zones clusters master*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterMasterCall), [*zones clusters monitoring*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterMonitoringCall), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolAutoscalingCall), [*zones clusters node pools create*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolCreateCall), [*zones clusters node pools delete*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolDeleteCall), [*zones clusters node pools get*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolGetCall), [*zones clusters node pools list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolListCall), [*zones clusters node pools rollback*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolRollbackCall), [*zones clusters node pools set management*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolSetManagementCall), [*zones clusters node pools set size*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolSetSizeCall), [*zones clusters node pools update*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterNodePoolUpdateCall), [*zones clusters resource labels*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterResourceLabelCall), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterSetMaintenancePolicyCall), [*zones clusters set master auth*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterSetMasterAuthCall), [*zones clusters set network policy*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterSetNetworkPolicyCall), [*zones clusters start ip rotation*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterStartIpRotationCall), [*zones clusters update*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneClusterUpdateCall), [*zones get serverconfig*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneGetServerconfigCall), [*zones operations cancel*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneOperationCancelCall), [*zones operations get*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneOperationGetCall) and [*zones operations list*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/api::ProjectZoneOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-container1/2.0.4+20210314/google_container1/Container)** +* **[Hub](https://docs.rs/google-container1/2.0.5+20210314/google_container1/Container)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::CallBuilder) -* **[Resources](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::CallBuilder) +* **[Resources](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Part)** + * **[Parts](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -109,9 +109,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-container1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -175,17 +172,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::ResponseResult), 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")`. @@ -195,29 +192,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Delegate) to the -[Method Builder](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Delegate) to the +[Method Builder](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Delegate) 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 [encodable](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::RequestValue) and -[decodable](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::RequestValue) and +[decodable](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-container1/2.0.4+20210314/google_container1/client::RequestValue) are moved +* [request values](https://docs.rs/google-container1/2.0.5+20210314/google_container1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/container1/src/api.rs b/gen/container1/src/api.rs index c2079d0a1a..fb8e0e0e96 100644 --- a/gen/container1/src/api.rs +++ b/gen/container1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > Container<> { Container { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://container.googleapis.com/".to_string(), _root_url: "https://container.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > Container<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/container1/src/client.rs b/gen/container1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/container1/src/client.rs +++ b/gen/container1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs index 7f36261013..709ace98c0 100644 --- a/gen/container1/src/lib.rs +++ b/gen/container1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Container* crate version *2.0.4+20210314*, where *20210314* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Container* crate version *2.0.5+20210314*, where *20210314* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Container* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-engine/). @@ -109,9 +109,6 @@ //! ```toml //! [dependencies] //! google-container1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/containeranalysis1_beta1-cli/Cargo.toml b/gen/containeranalysis1_beta1-cli/Cargo.toml index be8c6221c4..17f2cd2c15 100644 --- a/gen/containeranalysis1_beta1-cli/Cargo.toml +++ b/gen/containeranalysis1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-containeranalysis1_beta1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/containeranalysis1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-containeranalysis1_beta1] path = "../containeranalysis1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/containeranalysis1_beta1-cli/README.md b/gen/containeranalysis1_beta1-cli/README.md index 2669fada57..d7fe040b55 100644 --- a/gen/containeranalysis1_beta1-cli/README.md +++ b/gen/containeranalysis1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Container Analysis* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Container Analysis* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash containeranalysis1-beta1 [options] diff --git a/gen/containeranalysis1_beta1-cli/mkdocs.yml b/gen/containeranalysis1_beta1-cli/mkdocs.yml index d69d41c324..6cd9404ef3 100644 --- a/gen/containeranalysis1_beta1-cli/mkdocs.yml +++ b/gen/containeranalysis1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container Analysis v2.0.4+20210326 +site_name: Container Analysis v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-containeranalysis1_beta1-cli site_description: A complete library to interact with Container Analysis (protocol v1beta1) diff --git a/gen/containeranalysis1_beta1-cli/src/main.rs b/gen/containeranalysis1_beta1-cli/src/main.rs index a72b39e4c1..dc9b5705c1 100644 --- a/gen/containeranalysis1_beta1-cli/src/main.rs +++ b/gen/containeranalysis1_beta1-cli/src/main.rs @@ -2755,7 +2755,7 @@ async fn main() { let mut app = App::new("containeranalysis1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_containeranalysis1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/containeranalysis1_beta1/Cargo.toml b/gen/containeranalysis1_beta1/Cargo.toml index dd937aab8a..6c005257fb 100644 --- a/gen/containeranalysis1_beta1/Cargo.toml +++ b/gen/containeranalysis1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-containeranalysis1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/containeranalysis1_beta1" homepage = "https://cloud.google.com/container-analysis/api/reference/rest/" -documentation = "https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326" +documentation = "https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326" license = "MIT" keywords = ["containeranalysis", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/containeranalysis1_beta1/README.md b/gen/containeranalysis1_beta1/README.md index dd781d8f34..be06f4ed0f 100644 --- a/gen/containeranalysis1_beta1/README.md +++ b/gen/containeranalysis1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-containeranalysis1_beta1` library allows access to all features of the *Google Container Analysis* service. -This documentation was generated from *Container Analysis* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Container Analysis* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Container Analysis* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/container-analysis/api/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/ContainerAnalysis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/ContainerAnalysis) ... * projects - * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceSetIamPolicyCall), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceTestIamPermissionCall), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigGetCall), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigListCall) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigUpdateCall) + * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceSetIamPolicyCall), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectOccurrenceTestIamPermissionCall), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigGetCall), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigListCall) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/api::ProjectScanConfigUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/ContainerAnalysis)** +* **[Hub](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/ContainerAnalysis)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-containeranalysis1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Delegate), 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-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::CallBuilder) 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-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::Part) 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-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::CallBuilder), 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-containeranalysis1_beta1/2.0.4+20210326/google_containeranalysis1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-containeranalysis1_beta1/2.0.5+20210326/google_containeranalysis1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/containeranalysis1_beta1/src/api.rs b/gen/containeranalysis1_beta1/src/api.rs index 476c46b275..aaabd13629 100644 --- a/gen/containeranalysis1_beta1/src/api.rs +++ b/gen/containeranalysis1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > ContainerAnalysis<> { ContainerAnalysis { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://containeranalysis.googleapis.com/".to_string(), _root_url: "https://containeranalysis.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > ContainerAnalysis<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/containeranalysis1_beta1/src/client.rs b/gen/containeranalysis1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/containeranalysis1_beta1/src/client.rs +++ b/gen/containeranalysis1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/containeranalysis1_beta1/src/lib.rs b/gen/containeranalysis1_beta1/src/lib.rs index 556258bd4c..35626dc4ca 100644 --- a/gen/containeranalysis1_beta1/src/lib.rs +++ b/gen/containeranalysis1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Container Analysis* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Container Analysis* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Container Analysis* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/container-analysis/api/reference/rest/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-containeranalysis1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/content2-cli/Cargo.toml b/gen/content2-cli/Cargo.toml index a4b0201a87..4fead2a6d6 100644 --- a/gen/content2-cli/Cargo.toml +++ b/gen/content2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-content2] path = "../content2" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/content2-cli/README.md b/gen/content2-cli/README.md index 25b12fec38..5f2c7351f8 100644 --- a/gen/content2-cli/README.md +++ b/gen/content2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Shopping Content* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Shopping Content* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash content2 [options] diff --git a/gen/content2-cli/mkdocs.yml b/gen/content2-cli/mkdocs.yml index 591c779206..630d0510de 100644 --- a/gen/content2-cli/mkdocs.yml +++ b/gen/content2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v2.0.4+20210325 +site_name: Shopping Content v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-content2-cli site_description: A complete library to interact with Shopping Content (protocol v2) diff --git a/gen/content2-cli/src/main.rs b/gen/content2-cli/src/main.rs index 2909dc2bed..00d0a897fa 100644 --- a/gen/content2-cli/src/main.rs +++ b/gen/content2-cli/src/main.rs @@ -9569,7 +9569,7 @@ async fn main() { let mut app = App::new("content2") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Manage your product listings and accounts for Google Shopping") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_content2_cli") .arg(Arg::with_name("url") diff --git a/gen/content2/Cargo.toml b/gen/content2/Cargo.toml index a4aebb45b2..b9f7bc7911 100644 --- a/gen/content2/Cargo.toml +++ b/gen/content2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2" homepage = "https://developers.google.com/shopping-content/v2/" -documentation = "https://docs.rs/google-content2/2.0.4+20210325" +documentation = "https://docs.rs/google-content2/2.0.5+20210325" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/content2/README.md b/gen/content2/README.md index 6a52d57e61..5b81561680 100644 --- a/gen/content2/README.md +++ b/gen/content2/README.md @@ -5,44 +5,44 @@ DO NOT EDIT ! --> The `google-content2` library allows access to all features of the *Google Shopping Content* service. -This documentation was generated from *Shopping Content* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Shopping Content* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Shopping Content* *v2* API can be found at the [official documentation site](https://developers.google.com/shopping-content/v2/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/2.0.4+20210325/google_content2/ShoppingContent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/2.0.5+20210325/google_content2/ShoppingContent) ... -* [accounts](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::Account) - * [*authinfo*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountAuthinfoCall), [*claimwebsite*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountClaimwebsiteCall), [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountDeleteCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountGetCall), [*insert*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountInsertCall), [*link*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountLinkCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountListCall) and [*update*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountUpdateCall) +* [accounts](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::Account) + * [*authinfo*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountAuthinfoCall), [*claimwebsite*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountClaimwebsiteCall), [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountDeleteCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountGetCall), [*insert*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountInsertCall), [*link*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountLinkCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountListCall) and [*update*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountUpdateCall) * accountstatuses - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccountstatuseListCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccountstatuseListCall) * accounttax - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccounttaxCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccounttaxGetCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccounttaxListCall) and [*update*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::AccounttaxUpdateCall) -* [datafeeds](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::Datafeed) - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedDeleteCall), [*fetchnow*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedFetchnowCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedGetCall), [*insert*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedInsertCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedListCall) and [*update*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedUpdateCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccounttaxCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccounttaxGetCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccounttaxListCall) and [*update*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::AccounttaxUpdateCall) +* [datafeeds](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::Datafeed) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedDeleteCall), [*fetchnow*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedFetchnowCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedGetCall), [*insert*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedInsertCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedListCall) and [*update*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedUpdateCall) * datafeedstatuses - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::DatafeedstatuseListCall) -* [inventory](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::Inventory) - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::InventoryCustombatchCall) and [*set*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::InventorySetCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::DatafeedstatuseListCall) +* [inventory](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::Inventory) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::InventoryCustombatchCall) and [*set*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::InventorySetCall) * liasettings - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingGetCall), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingGetaccessiblegmbaccountCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingListCall), [*listposdataproviders*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingListposdataproviderCall), [*requestgmbaccess*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingRequestgmbaccesCall), [*requestinventoryverification*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingRequestinventoryverificationCall), [*setinventoryverificationcontact*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingSetinventoryverificationcontactCall), [*setposdataprovider*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingSetposdataproviderCall) and [*update*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::LiasettingUpdateCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingGetCall), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingGetaccessiblegmbaccountCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingListCall), [*listposdataproviders*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingListposdataproviderCall), [*requestgmbaccess*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingRequestgmbaccesCall), [*requestinventoryverification*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingRequestinventoryverificationCall), [*setinventoryverificationcontact*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingSetinventoryverificationcontactCall), [*setposdataprovider*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingSetposdataproviderCall) and [*update*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::LiasettingUpdateCall) * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderinvoiceCreaterefundinvoiceCall) + * [*createchargeinvoice*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderinvoiceCreaterefundinvoiceCall) * orderreports - * [*listdisbursements*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderreportListdisbursementCall) and [*listtransactions*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderreportListtransactionCall) + * [*listdisbursements*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderreportListdisbursementCall) and [*listtransactions*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderreportListtransactionCall) * orderreturns - * [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderreturnListCall) -* [orders](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::Order) - * [*acknowledge*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderListCall), [*refund*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::OrderUpdateshipmentCall) + * [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderreturnListCall) +* [orders](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::Order) + * [*acknowledge*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderListCall), [*refund*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::OrderUpdateshipmentCall) * pos - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoDeleteCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoGetCall), [*insert*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoInsertCall), [*inventory*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoInventoryCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoListCall) and [*sale*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::PoSaleCall) -* [products](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::Product) - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductDeleteCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductGetCall), [*insert*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductInsertCall) and [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductListCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoDeleteCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoGetCall), [*insert*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoInsertCall), [*inventory*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoInventoryCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoListCall) and [*sale*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::PoSaleCall) +* [products](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::Product) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductCustombatchCall), [*delete*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductDeleteCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductGetCall), [*insert*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductInsertCall) and [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductListCall) * productstatuses - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ProductstatuseListCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductstatuseGetCall) and [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ProductstatuseListCall) * shippingsettings - * [*custombatch*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingGetCall), [*getsupportedcarriers*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingGetsupportedcarrierCall), [*getsupportedholidays*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingGetsupportedholidayCall), [*getsupportedpickupservices*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingGetsupportedpickupserviceCall), [*list*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingListCall) and [*update*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/api::ShippingsettingUpdateCall) + * [*custombatch*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingCustombatchCall), [*get*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingGetCall), [*getsupportedcarriers*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingGetsupportedcarrierCall), [*getsupportedholidays*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingGetsupportedholidayCall), [*getsupportedpickupservices*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingGetsupportedpickupserviceCall), [*list*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingListCall) and [*update*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/api::ShippingsettingUpdateCall) @@ -51,17 +51,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-content2/2.0.4+20210325/google_content2/ShoppingContent)** +* **[Hub](https://docs.rs/google-content2/2.0.5+20210325/google_content2/ShoppingContent)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::CallBuilder) -* **[Resources](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::CallBuilder) +* **[Resources](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Part)** + * **[Parts](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -113,9 +113,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-content2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -182,17 +179,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::ResponseResult), 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")`. @@ -202,29 +199,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Delegate) to the -[Method Builder](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Delegate) to the +[Method Builder](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Delegate) 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 [encodable](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::RequestValue) and -[decodable](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::RequestValue) and +[decodable](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-content2/2.0.4+20210325/google_content2/client::RequestValue) are moved +* [request values](https://docs.rs/google-content2/2.0.5+20210325/google_content2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/content2/src/api.rs b/gen/content2/src/api.rs index a8ec7166b4..9247f6d2d5 100644 --- a/gen/content2/src/api.rs +++ b/gen/content2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > ShoppingContent<> { ShoppingContent { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://shoppingcontent.googleapis.com/content/v2/".to_string(), _root_url: "https://shoppingcontent.googleapis.com/".to_string(), } @@ -174,7 +174,7 @@ impl<'a, > ShoppingContent<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/content2/src/client.rs b/gen/content2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/content2/src/client.rs +++ b/gen/content2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs index 3ced832970..b83367cb26 100644 --- a/gen/content2/src/lib.rs +++ b/gen/content2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Shopping Content* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Shopping Content* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Shopping Content* *v2* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content/v2/). @@ -113,9 +113,6 @@ //! ```toml //! [dependencies] //! google-content2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/content2_sandbox-cli/Cargo.toml b/gen/content2_sandbox-cli/Cargo.toml index c989bc518c..028099c769 100644 --- a/gen/content2_sandbox-cli/Cargo.toml +++ b/gen/content2_sandbox-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2_sandbox-cli" -version = "2.0.4+20181009" +version = "2.0.5+20181009" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2_sandbox-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-content2_sandbox] path = "../content2_sandbox" -version = "2.0.4+20181009" +version = "2.0.5+20181009" diff --git a/gen/content2_sandbox-cli/README.md b/gen/content2_sandbox-cli/README.md index 30bb504a83..81d2643c03 100644 --- a/gen/content2_sandbox-cli/README.md +++ b/gen/content2_sandbox-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Shopping Content* API at revision *20181009*. The CLI is at version *2.0.4*. +This documentation was generated from the *Shopping Content* API at revision *20181009*. The CLI is at version *2.0.5*. ```bash content2-sandbox [options] diff --git a/gen/content2_sandbox-cli/mkdocs.yml b/gen/content2_sandbox-cli/mkdocs.yml index f8dfc83c44..879b9a31af 100644 --- a/gen/content2_sandbox-cli/mkdocs.yml +++ b/gen/content2_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v2.0.4+20181009 +site_name: Shopping Content v2.0.5+20181009 site_url: http://byron.github.io/google-apis-rs/google-content2_sandbox-cli site_description: A complete library to interact with Shopping Content (protocol v2sandbox) diff --git a/gen/content2_sandbox-cli/src/main.rs b/gen/content2_sandbox-cli/src/main.rs index 61863d1b71..732b805e6a 100644 --- a/gen/content2_sandbox-cli/src/main.rs +++ b/gen/content2_sandbox-cli/src/main.rs @@ -3674,7 +3674,7 @@ async fn main() { let mut app = App::new("content2-sandbox") .author("Sebastian Thiel ") - .version("2.0.4+20181009") + .version("2.0.5+20181009") .about("Manages product items, inventory, and Merchant Center accounts for Google Shopping.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_content2_sandbox_cli") .arg(Arg::with_name("url") diff --git a/gen/content2_sandbox/Cargo.toml b/gen/content2_sandbox/Cargo.toml index 01d519ec18..71bcd4d348 100644 --- a/gen/content2_sandbox/Cargo.toml +++ b/gen/content2_sandbox/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2_sandbox" -version = "2.0.4+20181009" +version = "2.0.5+20181009" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2_sandbox" homepage = "https://developers.google.com/shopping-content" -documentation = "https://docs.rs/google-content2_sandbox/2.0.4+20181009" +documentation = "https://docs.rs/google-content2_sandbox/2.0.5+20181009" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/content2_sandbox/README.md b/gen/content2_sandbox/README.md index 4f093d23b2..71813a5cfa 100644 --- a/gen/content2_sandbox/README.md +++ b/gen/content2_sandbox/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-content2_sandbox` library allows access to all features of the *Google Shopping Content* service. -This documentation was generated from *Shopping Content* crate version *2.0.4+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Shopping Content* crate version *2.0.5+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Shopping Content* *v2_sandbox* API can be found at the [official documentation site](https://developers.google.com/shopping-content). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/ShoppingContent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/ShoppingContent) ... * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderinvoiceCreaterefundinvoiceCall) + * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderinvoiceCreaterefundinvoiceCall) * orderpayments - * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthapprovedCall), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthdeclinedCall), [*notifycharge*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderpaymentNotifychargeCall) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderpaymentNotifyrefundCall) + * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthapprovedCall), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthdeclinedCall), [*notifycharge*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderpaymentNotifychargeCall) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderpaymentNotifyrefundCall) * orderreturns - * [*get*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderreturnListCall) -* [orders](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::Order) - * [*acknowledge*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderListCall), [*refund*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/api::OrderUpdateshipmentCall) + * [*get*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderreturnListCall) +* [orders](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::Order) + * [*acknowledge*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderListCall), [*refund*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/api::OrderUpdateshipmentCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/ShoppingContent)** +* **[Hub](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/ShoppingContent)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::CallBuilder) -* **[Resources](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::CallBuilder) +* **[Resources](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Part)** + * **[Parts](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::CallBuilder)** +* **[Activities](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,9 +91,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-content2_sandbox = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -160,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::ResponseResult), 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")`. @@ -180,29 +177,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Delegate) to the -[Method Builder](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Delegate) to the +[Method Builder](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Delegate) 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 [encodable](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::RequestValue) and -[decodable](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::RequestValue) and +[decodable](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-content2_sandbox/2.0.4+20181009/google_content2_sandbox/client::RequestValue) are moved +* [request values](https://docs.rs/google-content2_sandbox/2.0.5+20181009/google_content2_sandbox/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/content2_sandbox/src/api.rs b/gen/content2_sandbox/src/api.rs index 52d4b1772c..4e2f3d5d94 100644 --- a/gen/content2_sandbox/src/api.rs +++ b/gen/content2_sandbox/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > ShoppingContent<> { ShoppingContent { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/content/v2sandbox/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > ShoppingContent<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/content2_sandbox/src/client.rs b/gen/content2_sandbox/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/content2_sandbox/src/client.rs +++ b/gen/content2_sandbox/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs index f5c6688632..b86ad49975 100644 --- a/gen/content2_sandbox/src/lib.rs +++ b/gen/content2_sandbox/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Shopping Content* crate version *2.0.4+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Shopping Content* crate version *2.0.5+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Shopping Content* *v2_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). @@ -91,9 +91,6 @@ //! ```toml //! [dependencies] //! google-content2_sandbox = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/coordinate1-cli/Cargo.toml b/gen/coordinate1-cli/Cargo.toml index 87bcfe3dde..f8b08529ec 100644 --- a/gen/coordinate1-cli/Cargo.toml +++ b/gen/coordinate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-coordinate1-cli" -version = "2.0.4+20150811" +version = "2.0.5+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/coordinate1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-coordinate1] path = "../coordinate1" -version = "2.0.4+20150811" +version = "2.0.5+20150811" diff --git a/gen/coordinate1-cli/README.md b/gen/coordinate1-cli/README.md index 1a243e3bc5..4c8d1c0db6 100644 --- a/gen/coordinate1-cli/README.md +++ b/gen/coordinate1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *2.0.4*. +This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *2.0.5*. ```bash coordinate1 [options] diff --git a/gen/coordinate1-cli/mkdocs.yml b/gen/coordinate1-cli/mkdocs.yml index 6123645b34..ab23ee3214 100644 --- a/gen/coordinate1-cli/mkdocs.yml +++ b/gen/coordinate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: coordinate v2.0.4+20150811 +site_name: coordinate v2.0.5+20150811 site_url: http://byron.github.io/google-apis-rs/google-coordinate1-cli site_description: A complete library to interact with coordinate (protocol v1) diff --git a/gen/coordinate1-cli/src/main.rs b/gen/coordinate1-cli/src/main.rs index f4637fa01d..3c6d880a5c 100644 --- a/gen/coordinate1-cli/src/main.rs +++ b/gen/coordinate1-cli/src/main.rs @@ -1552,7 +1552,7 @@ async fn main() { let mut app = App::new("coordinate1") .author("Sebastian Thiel ") - .version("2.0.4+20150811") + .version("2.0.5+20150811") .about("Lets you view and manage jobs in a Coordinate team.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_coordinate1_cli") .arg(Arg::with_name("url") diff --git a/gen/coordinate1/Cargo.toml b/gen/coordinate1/Cargo.toml index f56e8faf21..54b6ab9414 100644 --- a/gen/coordinate1/Cargo.toml +++ b/gen/coordinate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-coordinate1" -version = "2.0.4+20150811" +version = "2.0.5+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/coordinate1" homepage = "https://developers.google.com/coordinate/" -documentation = "https://docs.rs/google-coordinate1/2.0.4+20150811" +documentation = "https://docs.rs/google-coordinate1/2.0.5+20150811" license = "MIT" keywords = ["coordinate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/coordinate1/README.md b/gen/coordinate1/README.md index 8ec5d3aa5b..37ecb6688d 100644 --- a/gen/coordinate1/README.md +++ b/gen/coordinate1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-coordinate1` library allows access to all features of the *Google coordinate* service. -This documentation was generated from *coordinate* crate version *2.0.4+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *coordinate* crate version *2.0.5+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *coordinate* *v1* API can be found at the [official documentation site](https://developers.google.com/coordinate/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/Coordinate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/Coordinate) ... -* [custom field def](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::CustomFieldDef) - * [*list*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::CustomFieldDefListCall) -* [jobs](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::Job) - * [*get*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::JobGetCall), [*insert*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::JobInsertCall), [*list*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::JobListCall), [*patch*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::JobPatchCall) and [*update*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::JobUpdateCall) -* [location](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::Location) - * [*list*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::LocationListCall) -* [schedule](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::Schedule) - * [*get*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::ScheduleGetCall), [*patch*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::SchedulePatchCall) and [*update*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::ScheduleUpdateCall) -* [team](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::Team) - * [*list*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::TeamListCall) -* [worker](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::Worker) - * [*list*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/api::WorkerListCall) +* [custom field def](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::CustomFieldDef) + * [*list*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::CustomFieldDefListCall) +* [jobs](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::Job) + * [*get*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::JobGetCall), [*insert*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::JobInsertCall), [*list*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::JobListCall), [*patch*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::JobPatchCall) and [*update*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::JobUpdateCall) +* [location](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::Location) + * [*list*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::LocationListCall) +* [schedule](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::Schedule) + * [*get*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::ScheduleGetCall), [*patch*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::SchedulePatchCall) and [*update*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::ScheduleUpdateCall) +* [team](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::Team) + * [*list*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::TeamListCall) +* [worker](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::Worker) + * [*list*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/api::WorkerListCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/Coordinate)** +* **[Hub](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/Coordinate)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::CallBuilder) -* **[Resources](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::CallBuilder) +* **[Resources](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Part)** + * **[Parts](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -78,9 +78,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-coordinate1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -156,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -176,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Delegate) to the -[Method Builder](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Delegate) to the +[Method Builder](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Delegate) 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 [encodable](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::RequestValue) and -[decodable](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::RequestValue) and +[decodable](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-coordinate1/2.0.4+20150811/google_coordinate1/client::RequestValue) are moved +* [request values](https://docs.rs/google-coordinate1/2.0.5+20150811/google_coordinate1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/coordinate1/src/api.rs b/gen/coordinate1/src/api.rs index b91895c0e1..8f7fd74057 100644 --- a/gen/coordinate1/src/api.rs +++ b/gen/coordinate1/src/api.rs @@ -134,7 +134,7 @@ impl<'a, > Coordinate<> { Coordinate { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/coordinate/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -160,7 +160,7 @@ impl<'a, > Coordinate<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/coordinate1/src/client.rs b/gen/coordinate1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/coordinate1/src/client.rs +++ b/gen/coordinate1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/coordinate1/src/lib.rs b/gen/coordinate1/src/lib.rs index 8e20425e50..d346ce2d96 100644 --- a/gen/coordinate1/src/lib.rs +++ b/gen/coordinate1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *coordinate* crate version *2.0.4+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *coordinate* crate version *2.0.5+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *coordinate* *v1* API can be found at the //! [official documentation site](https://developers.google.com/coordinate/). @@ -78,9 +78,6 @@ //! ```toml //! [dependencies] //! google-coordinate1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/customsearch1-cli/Cargo.toml b/gen/customsearch1-cli/Cargo.toml index 970d0c0b48..463e828ca7 100644 --- a/gen/customsearch1-cli/Cargo.toml +++ b/gen/customsearch1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-customsearch1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with CustomSearch API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/customsearch1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-customsearch1] path = "../customsearch1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/customsearch1-cli/README.md b/gen/customsearch1-cli/README.md index cd00ac5e62..16ed1b2ddf 100644 --- a/gen/customsearch1-cli/README.md +++ b/gen/customsearch1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *CustomSearch API* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *CustomSearch API* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash customsearch1 [options] diff --git a/gen/customsearch1-cli/mkdocs.yml b/gen/customsearch1-cli/mkdocs.yml index 2d5b7f6317..48abdf2689 100644 --- a/gen/customsearch1-cli/mkdocs.yml +++ b/gen/customsearch1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CustomSearch API v2.0.4+20210330 +site_name: CustomSearch API v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-customsearch1-cli site_description: A complete library to interact with CustomSearch API (protocol v1) diff --git a/gen/customsearch1-cli/src/main.rs b/gen/customsearch1-cli/src/main.rs index 503a077770..40697d56e4 100644 --- a/gen/customsearch1-cli/src/main.rs +++ b/gen/customsearch1-cli/src/main.rs @@ -456,7 +456,7 @@ async fn main() { let mut app = App::new("customsearch1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Searches over a website or collection of websites") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_customsearch1_cli") .arg(Arg::with_name("folder") diff --git a/gen/customsearch1/Cargo.toml b/gen/customsearch1/Cargo.toml index bba0b9b1c5..fbaf46c75d 100644 --- a/gen/customsearch1/Cargo.toml +++ b/gen/customsearch1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-customsearch1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with CustomSearch API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/customsearch1" homepage = "https://developers.google.com/custom-search/v1/introduction" -documentation = "https://docs.rs/google-customsearch1/2.0.4+20210330" +documentation = "https://docs.rs/google-customsearch1/2.0.5+20210330" license = "MIT" keywords = ["customsearch", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/customsearch1/README.md b/gen/customsearch1/README.md index 2df0acdfbd..743bc0a02d 100644 --- a/gen/customsearch1/README.md +++ b/gen/customsearch1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-customsearch1` library allows access to all features of the *Google CustomSearch API* service. -This documentation was generated from *CustomSearch API* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *CustomSearch API* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *CustomSearch API* *v1* API can be found at the [official documentation site](https://developers.google.com/custom-search/v1/introduction). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/CustomSearchAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/CustomSearchAPI) ... * cse - * [*list*](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/api::CseListCall) and [*siterestrict list*](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/api::CseSiterestrictListCall) + * [*list*](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/api::CseListCall) and [*siterestrict list*](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/api::CseSiterestrictListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/CustomSearchAPI)** +* **[Hub](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/CustomSearchAPI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::CallBuilder) -* **[Resources](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::CallBuilder) +* **[Resources](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Part)** + * **[Parts](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-customsearch1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -158,17 +155,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::ResponseResult), 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")`. @@ -178,29 +175,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Delegate) to the -[Method Builder](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Delegate) to the +[Method Builder](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Delegate) 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 [encodable](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::RequestValue) and -[decodable](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::RequestValue) and +[decodable](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-customsearch1/2.0.4+20210330/google_customsearch1/client::RequestValue) are moved +* [request values](https://docs.rs/google-customsearch1/2.0.5+20210330/google_customsearch1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/customsearch1/src/api.rs b/gen/customsearch1/src/api.rs index e6983f7dda..e1d73e3b6c 100644 --- a/gen/customsearch1/src/api.rs +++ b/gen/customsearch1/src/api.rs @@ -123,7 +123,7 @@ impl<'a, > CustomSearchAPI<> { CustomSearchAPI { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://customsearch.googleapis.com/".to_string(), _root_url: "https://customsearch.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CustomSearchAPI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/customsearch1/src/client.rs b/gen/customsearch1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/customsearch1/src/client.rs +++ b/gen/customsearch1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/customsearch1/src/lib.rs b/gen/customsearch1/src/lib.rs index fae786aca1..89a438862b 100644 --- a/gen/customsearch1/src/lib.rs +++ b/gen/customsearch1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *CustomSearch API* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *CustomSearch API* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *CustomSearch API* *v1* API can be found at the //! [official documentation site](https://developers.google.com/custom-search/v1/introduction). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-customsearch1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datacatalog1_beta1-cli/Cargo.toml b/gen/datacatalog1_beta1-cli/Cargo.toml index 3fceed18da..bdf2687bf3 100644 --- a/gen/datacatalog1_beta1-cli/Cargo.toml +++ b/gen/datacatalog1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datacatalog1_beta1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datacatalog1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datacatalog1_beta1] path = "../datacatalog1_beta1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/datacatalog1_beta1-cli/README.md b/gen/datacatalog1_beta1-cli/README.md index 049cba6607..8ed977ca0a 100644 --- a/gen/datacatalog1_beta1-cli/README.md +++ b/gen/datacatalog1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Data Catalog* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Data Catalog* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash datacatalog1-beta1 [options] diff --git a/gen/datacatalog1_beta1-cli/mkdocs.yml b/gen/datacatalog1_beta1-cli/mkdocs.yml index 32a42d6916..e327cdbbc8 100644 --- a/gen/datacatalog1_beta1-cli/mkdocs.yml +++ b/gen/datacatalog1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Catalog v2.0.4+20210316 +site_name: Data Catalog v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-datacatalog1_beta1-cli site_description: A complete library to interact with Data Catalog (protocol v1beta1) diff --git a/gen/datacatalog1_beta1-cli/src/main.rs b/gen/datacatalog1_beta1-cli/src/main.rs index 92f9634635..9c75949cd1 100644 --- a/gen/datacatalog1_beta1-cli/src/main.rs +++ b/gen/datacatalog1_beta1-cli/src/main.rs @@ -5926,7 +5926,7 @@ async fn main() { let mut app = App::new("datacatalog1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("A fully managed and highly scalable data discovery and metadata management service. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datacatalog1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/datacatalog1_beta1/Cargo.toml b/gen/datacatalog1_beta1/Cargo.toml index 63a91d5a30..e67ada2cd7 100644 --- a/gen/datacatalog1_beta1/Cargo.toml +++ b/gen/datacatalog1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datacatalog1_beta1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datacatalog1_beta1" homepage = "https://cloud.google.com/data-catalog/docs/" -documentation = "https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316" +documentation = "https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316" license = "MIT" keywords = ["datacatalog", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datacatalog1_beta1/README.md b/gen/datacatalog1_beta1/README.md index 4f85e2a763..03446be63d 100644 --- a/gen/datacatalog1_beta1/README.md +++ b/gen/datacatalog1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-datacatalog1_beta1` library allows access to all features of the *Google Data Catalog* service. -This documentation was generated from *Data Catalog* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Data Catalog* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Data Catalog* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/data-catalog/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/DataCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/DataCatalog) ... * catalog - * [*search*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::CatalogSearchCall) + * [*search*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::CatalogSearchCall) * entries - * [*lookup*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::EntryLookupCall) + * [*lookup*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::EntryLookupCall) * projects - * [*locations entry groups create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyTestIamPermissionCall) + * [*locations entry groups create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/api::ProjectLocationTaxonomyTestIamPermissionCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/DataCatalog)** +* **[Hub](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/DataCatalog)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datacatalog1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -144,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Delegate), 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-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::CallBuilder) 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-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::Part) 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-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::CallBuilder), 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-datacatalog1_beta1/2.0.4+20210316/google_datacatalog1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datacatalog1_beta1/2.0.5+20210316/google_datacatalog1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datacatalog1_beta1/src/api.rs b/gen/datacatalog1_beta1/src/api.rs index 7218874c26..e838f71def 100644 --- a/gen/datacatalog1_beta1/src/api.rs +++ b/gen/datacatalog1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > DataCatalog<> { DataCatalog { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datacatalog.googleapis.com/".to_string(), _root_url: "https://datacatalog.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > DataCatalog<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datacatalog1_beta1/src/client.rs b/gen/datacatalog1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datacatalog1_beta1/src/client.rs +++ b/gen/datacatalog1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datacatalog1_beta1/src/lib.rs b/gen/datacatalog1_beta1/src/lib.rs index f89af25944..c1c6e36903 100644 --- a/gen/datacatalog1_beta1/src/lib.rs +++ b/gen/datacatalog1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Catalog* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Data Catalog* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Data Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-catalog/docs/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-datacatalog1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datafusion1-cli/Cargo.toml b/gen/datafusion1-cli/Cargo.toml index 667e8fd148..24174fa16a 100644 --- a/gen/datafusion1-cli/Cargo.toml +++ b/gen/datafusion1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datafusion1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datafusion1] path = "../datafusion1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/datafusion1-cli/README.md b/gen/datafusion1-cli/README.md index 4b30028658..f3fd9afe97 100644 --- a/gen/datafusion1-cli/README.md +++ b/gen/datafusion1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Data Fusion* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Data Fusion* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash datafusion1 [options] diff --git a/gen/datafusion1-cli/mkdocs.yml b/gen/datafusion1-cli/mkdocs.yml index 45aa81867a..9b1db3ef5d 100644 --- a/gen/datafusion1-cli/mkdocs.yml +++ b/gen/datafusion1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Fusion v2.0.4+20210322 +site_name: Data Fusion v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-datafusion1-cli site_description: A complete library to interact with Data Fusion (protocol v1) diff --git a/gen/datafusion1-cli/src/main.rs b/gen/datafusion1-cli/src/main.rs index 571e76a738..935fc6dd86 100644 --- a/gen/datafusion1-cli/src/main.rs +++ b/gen/datafusion1-cli/src/main.rs @@ -1704,7 +1704,7 @@ async fn main() { let mut app = App::new("datafusion1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datafusion1_cli") .arg(Arg::with_name("url") diff --git a/gen/datafusion1/Cargo.toml b/gen/datafusion1/Cargo.toml index c31230b14d..93324615fb 100644 --- a/gen/datafusion1/Cargo.toml +++ b/gen/datafusion1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datafusion1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1" homepage = "https://cloud.google.com/data-fusion/docs" -documentation = "https://docs.rs/google-datafusion1/2.0.4+20210322" +documentation = "https://docs.rs/google-datafusion1/2.0.5+20210322" license = "MIT" keywords = ["datafusion", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datafusion1/README.md b/gen/datafusion1/README.md index 56693ba9c5..4101d390d3 100644 --- a/gen/datafusion1/README.md +++ b/gen/datafusion1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datafusion1` library allows access to all features of the *Google Data Fusion* service. -This documentation was generated from *Data Fusion* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Data Fusion* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Data Fusion* *v1* API can be found at the [official documentation site](https://cloud.google.com/data-fusion/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/DataFusion) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/DataFusion) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations list*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationOperationListCall) and [*locations versions list*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/api::ProjectLocationVersionListCall) + * [*locations get*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations list*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationOperationListCall) and [*locations versions list*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/api::ProjectLocationVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/DataFusion)** +* **[Hub](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/DataFusion)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Part)** + * **[Parts](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datafusion1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Delegate), 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-datafusion1/2.0.4+20210322/google_datafusion1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::CallBuilder) 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-datafusion1/2.0.4+20210322/google_datafusion1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Delegate) 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 [encodable](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::RequestValue) and -[decodable](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::RequestValue) and +[decodable](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datafusion1/2.0.4+20210322/google_datafusion1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::Part) 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-datafusion1/2.0.4+20210322/google_datafusion1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::CallBuilder), 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-datafusion1/2.0.4+20210322/google_datafusion1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datafusion1/2.0.5+20210322/google_datafusion1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datafusion1/src/api.rs b/gen/datafusion1/src/api.rs index a8dd7a32f9..7b5e3eae51 100644 --- a/gen/datafusion1/src/api.rs +++ b/gen/datafusion1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > DataFusion<> { DataFusion { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datafusion.googleapis.com/".to_string(), _root_url: "https://datafusion.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > DataFusion<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datafusion1/src/client.rs b/gen/datafusion1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datafusion1/src/client.rs +++ b/gen/datafusion1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datafusion1/src/lib.rs b/gen/datafusion1/src/lib.rs index 3caa905094..16f2f877ce 100644 --- a/gen/datafusion1/src/lib.rs +++ b/gen/datafusion1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Fusion* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Data Fusion* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Data Fusion* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-datafusion1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datafusion1_beta1-cli/Cargo.toml b/gen/datafusion1_beta1-cli/Cargo.toml index bdceb0fc1d..e93da347f3 100644 --- a/gen/datafusion1_beta1-cli/Cargo.toml +++ b/gen/datafusion1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datafusion1_beta1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datafusion1_beta1] path = "../datafusion1_beta1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/datafusion1_beta1-cli/README.md b/gen/datafusion1_beta1-cli/README.md index e0ef634983..bc349a7980 100644 --- a/gen/datafusion1_beta1-cli/README.md +++ b/gen/datafusion1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Data Fusion* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Data Fusion* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash datafusion1-beta1 [options] diff --git a/gen/datafusion1_beta1-cli/mkdocs.yml b/gen/datafusion1_beta1-cli/mkdocs.yml index d0e623dba9..3770627366 100644 --- a/gen/datafusion1_beta1-cli/mkdocs.yml +++ b/gen/datafusion1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Fusion v2.0.4+20210322 +site_name: Data Fusion v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-datafusion1_beta1-cli site_description: A complete library to interact with Data Fusion (protocol v1beta1) diff --git a/gen/datafusion1_beta1-cli/src/main.rs b/gen/datafusion1_beta1-cli/src/main.rs index 588852dcf0..4fda0527b3 100644 --- a/gen/datafusion1_beta1-cli/src/main.rs +++ b/gen/datafusion1_beta1-cli/src/main.rs @@ -2249,7 +2249,7 @@ async fn main() { let mut app = App::new("datafusion1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datafusion1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/datafusion1_beta1/Cargo.toml b/gen/datafusion1_beta1/Cargo.toml index b552dc360e..00b284a97c 100644 --- a/gen/datafusion1_beta1/Cargo.toml +++ b/gen/datafusion1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datafusion1_beta1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1_beta1" homepage = "https://cloud.google.com/data-fusion/docs" -documentation = "https://docs.rs/google-datafusion1_beta1/2.0.4+20210322" +documentation = "https://docs.rs/google-datafusion1_beta1/2.0.5+20210322" license = "MIT" keywords = ["datafusion", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datafusion1_beta1/README.md b/gen/datafusion1_beta1/README.md index 969a981358..aba3e56978 100644 --- a/gen/datafusion1_beta1/README.md +++ b/gen/datafusion1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datafusion1_beta1` library allows access to all features of the *Google Data Fusion* service. -This documentation was generated from *Data Fusion* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Data Fusion* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Data Fusion* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/data-fusion/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/DataFusion) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/DataFusion) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/api::ProjectLocationVersionListCall) + * [*locations get*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/api::ProjectLocationVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/DataFusion)** +* **[Hub](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/DataFusion)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datafusion1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Delegate), 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-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::CallBuilder) 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-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::Part) 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-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::CallBuilder), 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-datafusion1_beta1/2.0.4+20210322/google_datafusion1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datafusion1_beta1/2.0.5+20210322/google_datafusion1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datafusion1_beta1/src/api.rs b/gen/datafusion1_beta1/src/api.rs index e634d503e2..14f6908589 100644 --- a/gen/datafusion1_beta1/src/api.rs +++ b/gen/datafusion1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > DataFusion<> { DataFusion { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datafusion.googleapis.com/".to_string(), _root_url: "https://datafusion.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > DataFusion<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datafusion1_beta1/src/client.rs b/gen/datafusion1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datafusion1_beta1/src/client.rs +++ b/gen/datafusion1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datafusion1_beta1/src/lib.rs b/gen/datafusion1_beta1/src/lib.rs index 4b408073fb..f629ff6e71 100644 --- a/gen/datafusion1_beta1/src/lib.rs +++ b/gen/datafusion1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Fusion* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Data Fusion* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Data Fusion* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-datafusion1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datalabeling1_beta1-cli/Cargo.toml b/gen/datalabeling1_beta1-cli/Cargo.toml index dcfc1b91ab..266206b952 100644 --- a/gen/datalabeling1_beta1-cli/Cargo.toml +++ b/gen/datalabeling1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datalabeling1_beta1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Labeling (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datalabeling1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datalabeling1_beta1] path = "../datalabeling1_beta1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/datalabeling1_beta1-cli/README.md b/gen/datalabeling1_beta1-cli/README.md index 2ae4b3f678..b0d05c26cb 100644 --- a/gen/datalabeling1_beta1-cli/README.md +++ b/gen/datalabeling1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Data Labeling* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Data Labeling* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash datalabeling1-beta1 [options] diff --git a/gen/datalabeling1_beta1-cli/mkdocs.yml b/gen/datalabeling1_beta1-cli/mkdocs.yml index 8c3cd37172..b5d6246e76 100644 --- a/gen/datalabeling1_beta1-cli/mkdocs.yml +++ b/gen/datalabeling1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Labeling v2.0.4+20210317 +site_name: Data Labeling v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-datalabeling1_beta1-cli site_description: A complete library to interact with Data Labeling (protocol v1beta1) diff --git a/gen/datalabeling1_beta1-cli/src/main.rs b/gen/datalabeling1_beta1-cli/src/main.rs index 6f489e5616..9ea665f62f 100644 --- a/gen/datalabeling1_beta1-cli/src/main.rs +++ b/gen/datalabeling1_beta1-cli/src/main.rs @@ -4573,7 +4573,7 @@ async fn main() { let mut app = App::new("datalabeling1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Public API for Google Cloud AI Data Labeling Service.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datalabeling1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/datalabeling1_beta1/Cargo.toml b/gen/datalabeling1_beta1/Cargo.toml index f3a8550e80..c449430132 100644 --- a/gen/datalabeling1_beta1/Cargo.toml +++ b/gen/datalabeling1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datalabeling1_beta1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Labeling (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datalabeling1_beta1" homepage = "https://cloud.google.com/data-labeling/docs/" -documentation = "https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317" +documentation = "https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317" license = "MIT" keywords = ["datalabeling", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datalabeling1_beta1/README.md b/gen/datalabeling1_beta1/README.md index 97db38dfdc..726e500251 100644 --- a/gen/datalabeling1_beta1/README.md +++ b/gen/datalabeling1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datalabeling1_beta1` library allows access to all features of the *Google Data Labeling* service. -This documentation was generated from *Data Labeling* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Data Labeling* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Data Labeling* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/data-labeling/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/DataLabeling) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/DataLabeling) ... * projects - * [*annotation spec sets create*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetCreateCall), [*annotation spec sets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetDeleteCall), [*annotation spec sets get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetGetCall), [*annotation spec sets list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetListCall), [*datasets annotated datasets data items get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemGetCall), [*datasets annotated datasets data items list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemListCall), [*datasets annotated datasets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDeleteCall), [*datasets annotated datasets examples get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleGetCall), [*datasets annotated datasets examples list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleListCall), [*datasets annotated datasets feedback threads delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadDeleteCall), [*datasets annotated datasets feedback threads feedback messages create*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageCreateCall), [*datasets annotated datasets feedback threads feedback messages delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageDeleteCall), [*datasets annotated datasets feedback threads feedback messages get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageGetCall), [*datasets annotated datasets feedback threads feedback messages list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageListCall), [*datasets annotated datasets feedback threads get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadGetCall), [*datasets annotated datasets feedback threads list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadListCall), [*datasets annotated datasets get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetGetCall), [*datasets annotated datasets list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetListCall), [*datasets create*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetCreateCall), [*datasets data items get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetDataItemGetCall), [*datasets data items list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetDataItemListCall), [*datasets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetDeleteCall), [*datasets evaluations example comparisons search*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetEvaluationExampleComparisonSearchCall), [*datasets evaluations get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetEvaluationGetCall), [*datasets export data*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetExportDataCall), [*datasets get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetGetCall), [*datasets image label*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetImageLabelCall), [*datasets import data*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetImportDataCall), [*datasets list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetListCall), [*datasets text label*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetTextLabelCall), [*datasets video label*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectDatasetVideoLabelCall), [*evaluation jobs create*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobCreateCall), [*evaluation jobs delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobDeleteCall), [*evaluation jobs get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobGetCall), [*evaluation jobs list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobListCall), [*evaluation jobs patch*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobPatchCall), [*evaluation jobs pause*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobPauseCall), [*evaluation jobs resume*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobResumeCall), [*evaluations search*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectEvaluationSearchCall), [*instructions create*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectInstructionCreateCall), [*instructions delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectInstructionDeleteCall), [*instructions get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectInstructionGetCall), [*instructions list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectInstructionListCall), [*operations cancel*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/api::ProjectOperationListCall) + * [*annotation spec sets create*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetCreateCall), [*annotation spec sets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetDeleteCall), [*annotation spec sets get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetGetCall), [*annotation spec sets list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetListCall), [*datasets annotated datasets data items get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemGetCall), [*datasets annotated datasets data items list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemListCall), [*datasets annotated datasets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDeleteCall), [*datasets annotated datasets examples get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleGetCall), [*datasets annotated datasets examples list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleListCall), [*datasets annotated datasets feedback threads delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadDeleteCall), [*datasets annotated datasets feedback threads feedback messages create*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageCreateCall), [*datasets annotated datasets feedback threads feedback messages delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageDeleteCall), [*datasets annotated datasets feedback threads feedback messages get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageGetCall), [*datasets annotated datasets feedback threads feedback messages list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageListCall), [*datasets annotated datasets feedback threads get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadGetCall), [*datasets annotated datasets feedback threads list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadListCall), [*datasets annotated datasets get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetGetCall), [*datasets annotated datasets list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetListCall), [*datasets create*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetCreateCall), [*datasets data items get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetDataItemGetCall), [*datasets data items list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetDataItemListCall), [*datasets delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetDeleteCall), [*datasets evaluations example comparisons search*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetEvaluationExampleComparisonSearchCall), [*datasets evaluations get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetEvaluationGetCall), [*datasets export data*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetExportDataCall), [*datasets get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetGetCall), [*datasets image label*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetImageLabelCall), [*datasets import data*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetImportDataCall), [*datasets list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetListCall), [*datasets text label*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetTextLabelCall), [*datasets video label*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectDatasetVideoLabelCall), [*evaluation jobs create*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobCreateCall), [*evaluation jobs delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobDeleteCall), [*evaluation jobs get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobGetCall), [*evaluation jobs list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobListCall), [*evaluation jobs patch*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobPatchCall), [*evaluation jobs pause*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobPauseCall), [*evaluation jobs resume*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationJobResumeCall), [*evaluations search*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectEvaluationSearchCall), [*instructions create*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectInstructionCreateCall), [*instructions delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectInstructionDeleteCall), [*instructions get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectInstructionGetCall), [*instructions list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectInstructionListCall), [*operations cancel*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/api::ProjectOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/DataLabeling)** +* **[Hub](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/DataLabeling)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -74,9 +74,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datalabeling1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Delegate), 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-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::CallBuilder) 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-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::Part) 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-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::CallBuilder), 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-datalabeling1_beta1/2.0.4+20210317/google_datalabeling1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datalabeling1_beta1/2.0.5+20210317/google_datalabeling1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datalabeling1_beta1/src/api.rs b/gen/datalabeling1_beta1/src/api.rs index 90e4a44c75..957a9b2a11 100644 --- a/gen/datalabeling1_beta1/src/api.rs +++ b/gen/datalabeling1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > DataLabeling<> { DataLabeling { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datalabeling.googleapis.com/".to_string(), _root_url: "https://datalabeling.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > DataLabeling<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datalabeling1_beta1/src/client.rs b/gen/datalabeling1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datalabeling1_beta1/src/client.rs +++ b/gen/datalabeling1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datalabeling1_beta1/src/lib.rs b/gen/datalabeling1_beta1/src/lib.rs index 10fdf79152..dcfa55f6db 100644 --- a/gen/datalabeling1_beta1/src/lib.rs +++ b/gen/datalabeling1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Labeling* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Data Labeling* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Data Labeling* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-labeling/docs/). @@ -74,9 +74,6 @@ //! ```toml //! [dependencies] //! google-datalabeling1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datamigration1-cli/Cargo.toml b/gen/datamigration1-cli/Cargo.toml index 22f3038cf0..e3d1f20262 100644 --- a/gen/datamigration1-cli/Cargo.toml +++ b/gen/datamigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datamigration1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Database Migration Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datamigration1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datamigration1] path = "../datamigration1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/datamigration1-cli/README.md b/gen/datamigration1-cli/README.md index 5e440b1d70..21191d8f90 100644 --- a/gen/datamigration1-cli/README.md +++ b/gen/datamigration1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Database Migration Service* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Database Migration Service* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash datamigration1 [options] diff --git a/gen/datamigration1-cli/mkdocs.yml b/gen/datamigration1-cli/mkdocs.yml index f8aa1c7b81..590a05fee7 100644 --- a/gen/datamigration1-cli/mkdocs.yml +++ b/gen/datamigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Database Migration Service v2.0.4+20210317 +site_name: Database Migration Service v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-datamigration1-cli site_description: A complete library to interact with Database Migration Service (protocol v1) diff --git a/gen/datamigration1-cli/src/main.rs b/gen/datamigration1-cli/src/main.rs index a645fe71f4..f64e2cdbf9 100644 --- a/gen/datamigration1-cli/src/main.rs +++ b/gen/datamigration1-cli/src/main.rs @@ -3229,7 +3229,7 @@ async fn main() { let mut app = App::new("datamigration1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Manage Cloud Database Migration Service resources on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datamigration1_cli") .arg(Arg::with_name("url") diff --git a/gen/datamigration1/Cargo.toml b/gen/datamigration1/Cargo.toml index 765b0daeae..6154f84345 100644 --- a/gen/datamigration1/Cargo.toml +++ b/gen/datamigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datamigration1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Database Migration Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datamigration1" homepage = "https://cloud.google.com/database-migration/" -documentation = "https://docs.rs/google-datamigration1/2.0.4+20210317" +documentation = "https://docs.rs/google-datamigration1/2.0.5+20210317" license = "MIT" keywords = ["datamigration", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datamigration1/README.md b/gen/datamigration1/README.md index 3863a7ff05..26285f4a3f 100644 --- a/gen/datamigration1/README.md +++ b/gen/datamigration1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datamigration1` library allows access to all features of the *Google Database Migration Service* service. -This documentation was generated from *Database Migration Service* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Database Migration Service* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Database Migration Service* *v1* API can be found at the [official documentation site](https://cloud.google.com/database-migration/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/DatabaseMigrationService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/DatabaseMigrationService) ... * projects - * [*locations connection profiles create*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles get*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles get iam policy*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileGetIamPolicyCall), [*locations connection profiles list*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfilePatchCall), [*locations connection profiles set iam policy*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileSetIamPolicyCall), [*locations connection profiles test iam permissions*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationConnectionProfileTestIamPermissionCall), [*locations get*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationListCall), [*locations migration jobs create*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobCreateCall), [*locations migration jobs delete*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobDeleteCall), [*locations migration jobs generate ssh script*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobGenerateSshScriptCall), [*locations migration jobs get*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobGetCall), [*locations migration jobs get iam policy*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobGetIamPolicyCall), [*locations migration jobs list*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobListCall), [*locations migration jobs patch*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobPatchCall), [*locations migration jobs promote*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobPromoteCall), [*locations migration jobs restart*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobRestartCall), [*locations migration jobs resume*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobResumeCall), [*locations migration jobs set iam policy*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobSetIamPolicyCall), [*locations migration jobs start*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobStartCall), [*locations migration jobs stop*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobStopCall), [*locations migration jobs test iam permissions*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobTestIamPermissionCall), [*locations migration jobs verify*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationMigrationJobVerifyCall), [*locations operations cancel*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/api::ProjectLocationOperationListCall) + * [*locations connection profiles create*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles get*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles get iam policy*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileGetIamPolicyCall), [*locations connection profiles list*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfilePatchCall), [*locations connection profiles set iam policy*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileSetIamPolicyCall), [*locations connection profiles test iam permissions*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationConnectionProfileTestIamPermissionCall), [*locations get*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationListCall), [*locations migration jobs create*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobCreateCall), [*locations migration jobs delete*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobDeleteCall), [*locations migration jobs generate ssh script*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobGenerateSshScriptCall), [*locations migration jobs get*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobGetCall), [*locations migration jobs get iam policy*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobGetIamPolicyCall), [*locations migration jobs list*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobListCall), [*locations migration jobs patch*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobPatchCall), [*locations migration jobs promote*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobPromoteCall), [*locations migration jobs restart*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobRestartCall), [*locations migration jobs resume*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobResumeCall), [*locations migration jobs set iam policy*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobSetIamPolicyCall), [*locations migration jobs start*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobStartCall), [*locations migration jobs stop*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobStopCall), [*locations migration jobs test iam permissions*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobTestIamPermissionCall), [*locations migration jobs verify*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationMigrationJobVerifyCall), [*locations operations cancel*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/DatabaseMigrationService)** +* **[Hub](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/DatabaseMigrationService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Part)** + * **[Parts](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datamigration1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -146,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Delegate), 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-datamigration1/2.0.4+20210317/google_datamigration1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -166,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::CallBuilder) 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-datamigration1/2.0.4+20210317/google_datamigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Delegate) 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 [encodable](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::RequestValue) and -[decodable](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::RequestValue) and +[decodable](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datamigration1/2.0.4+20210317/google_datamigration1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::Part) 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-datamigration1/2.0.4+20210317/google_datamigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::CallBuilder), 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-datamigration1/2.0.4+20210317/google_datamigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datamigration1/2.0.5+20210317/google_datamigration1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datamigration1/src/api.rs b/gen/datamigration1/src/api.rs index d3eaca114f..70e59f0b65 100644 --- a/gen/datamigration1/src/api.rs +++ b/gen/datamigration1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > DatabaseMigrationService<> { DatabaseMigrationService { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datamigration.googleapis.com/".to_string(), _root_url: "https://datamigration.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > DatabaseMigrationService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datamigration1/src/client.rs b/gen/datamigration1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datamigration1/src/client.rs +++ b/gen/datamigration1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datamigration1/src/lib.rs b/gen/datamigration1/src/lib.rs index 76ccc0304d..f25666e697 100644 --- a/gen/datamigration1/src/lib.rs +++ b/gen/datamigration1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Database Migration Service* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Database Migration Service* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Database Migration Service* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/database-migration/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-datamigration1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dataproc1-cli/Cargo.toml b/gen/dataproc1-cli/Cargo.toml index e1cb4a8652..acc9ec9246 100644 --- a/gen/dataproc1-cli/Cargo.toml +++ b/gen/dataproc1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dataproc1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dataproc1] path = "../dataproc1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/dataproc1-cli/README.md b/gen/dataproc1-cli/README.md index f5cd6f3d02..39d2d84a3a 100644 --- a/gen/dataproc1-cli/README.md +++ b/gen/dataproc1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dataproc* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dataproc* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash dataproc1 [options] diff --git a/gen/dataproc1-cli/mkdocs.yml b/gen/dataproc1-cli/mkdocs.yml index 53e0611aa0..eac2651376 100644 --- a/gen/dataproc1-cli/mkdocs.yml +++ b/gen/dataproc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dataproc v2.0.4+20210322 +site_name: Dataproc v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-dataproc1-cli site_description: A complete library to interact with Dataproc (protocol v1) diff --git a/gen/dataproc1-cli/src/main.rs b/gen/dataproc1-cli/src/main.rs index 83bb67e97a..9bd462e52c 100644 --- a/gen/dataproc1-cli/src/main.rs +++ b/gen/dataproc1-cli/src/main.rs @@ -8118,7 +8118,7 @@ async fn main() { let mut app = App::new("dataproc1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Manages Hadoop-based clusters and jobs on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dataproc1_cli") .arg(Arg::with_name("url") diff --git a/gen/dataproc1/Cargo.toml b/gen/dataproc1/Cargo.toml index 1467689f29..6531d46de8 100644 --- a/gen/dataproc1/Cargo.toml +++ b/gen/dataproc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dataproc1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1" homepage = "https://cloud.google.com/dataproc/" -documentation = "https://docs.rs/google-dataproc1/2.0.4+20210322" +documentation = "https://docs.rs/google-dataproc1/2.0.5+20210322" license = "MIT" keywords = ["dataproc", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dataproc1/README.md b/gen/dataproc1/README.md index 294d4a11b0..636efb354f 100644 --- a/gen/dataproc1/README.md +++ b/gen/dataproc1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dataproc1` library allows access to all features of the *Google Dataproc* service. -This documentation was generated from *Dataproc* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dataproc* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dataproc* *v1* API can be found at the [official documentation site](https://cloud.google.com/dataproc/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/Dataproc) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/Dataproc) ... * projects - * [*locations autoscaling policies create*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyCreateCall), [*locations autoscaling policies delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyDeleteCall), [*locations autoscaling policies get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetCall), [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetIamPolicyCall), [*locations autoscaling policies list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyListCall), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicySetIamPolicyCall), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyTestIamPermissionCall), [*locations autoscaling policies update*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyUpdateCall), [*locations workflow templates create*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateCreateCall), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateDeleteCall), [*locations workflow templates get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateGetCall), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateGetIamPolicyCall), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateCall), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateInlineCall), [*locations workflow templates list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateListCall), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateSetIamPolicyCall), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateTestIamPermissionCall), [*locations workflow templates update*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateUpdateCall), [*regions autoscaling policies create*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyCreateCall), [*regions autoscaling policies delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyDeleteCall), [*regions autoscaling policies get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetCall), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetIamPolicyCall), [*regions autoscaling policies list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyListCall), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicySetIamPolicyCall), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyTestIamPermissionCall), [*regions autoscaling policies update*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyUpdateCall), [*regions clusters create*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterCreateCall), [*regions clusters delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterDeleteCall), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterDiagnoseCall), [*regions clusters get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterGetCall), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterGetIamPolicyCall), [*regions clusters inject credentials*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterInjectCredentialCall), [*regions clusters list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterListCall), [*regions clusters patch*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterPatchCall), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterSetIamPolicyCall), [*regions clusters start*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterStartCall), [*regions clusters stop*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterStopCall), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionClusterTestIamPermissionCall), [*regions jobs cancel*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobCancelCall), [*regions jobs delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobDeleteCall), [*regions jobs get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobGetCall), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobGetIamPolicyCall), [*regions jobs list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobListCall), [*regions jobs patch*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobPatchCall), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobSetIamPolicyCall), [*regions jobs submit*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobSubmitCall), [*regions jobs submit as operation*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobSubmitAsOperationCall), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionJobTestIamPermissionCall), [*regions operations cancel*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationCancelCall), [*regions operations delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationDeleteCall), [*regions operations get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationGetCall), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationGetIamPolicyCall), [*regions operations list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationListCall), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationSetIamPolicyCall), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionOperationTestIamPermissionCall), [*regions workflow templates create*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateCreateCall), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateDeleteCall), [*regions workflow templates get*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateGetCall), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateGetIamPolicyCall), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateCall), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateInlineCall), [*regions workflow templates list*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateListCall), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateSetIamPolicyCall), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateTestIamPermissionCall) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateUpdateCall) + * [*locations autoscaling policies create*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyCreateCall), [*locations autoscaling policies delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyDeleteCall), [*locations autoscaling policies get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetCall), [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetIamPolicyCall), [*locations autoscaling policies list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyListCall), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicySetIamPolicyCall), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyTestIamPermissionCall), [*locations autoscaling policies update*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationAutoscalingPolicyUpdateCall), [*locations workflow templates create*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateCreateCall), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateDeleteCall), [*locations workflow templates get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateGetCall), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateGetIamPolicyCall), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateCall), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateInlineCall), [*locations workflow templates list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateListCall), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateSetIamPolicyCall), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateTestIamPermissionCall), [*locations workflow templates update*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectLocationWorkflowTemplateUpdateCall), [*regions autoscaling policies create*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyCreateCall), [*regions autoscaling policies delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyDeleteCall), [*regions autoscaling policies get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetCall), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetIamPolicyCall), [*regions autoscaling policies list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyListCall), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicySetIamPolicyCall), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyTestIamPermissionCall), [*regions autoscaling policies update*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionAutoscalingPolicyUpdateCall), [*regions clusters create*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterCreateCall), [*regions clusters delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterDeleteCall), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterDiagnoseCall), [*regions clusters get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterGetCall), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterGetIamPolicyCall), [*regions clusters inject credentials*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterInjectCredentialCall), [*regions clusters list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterListCall), [*regions clusters patch*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterPatchCall), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterSetIamPolicyCall), [*regions clusters start*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterStartCall), [*regions clusters stop*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterStopCall), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionClusterTestIamPermissionCall), [*regions jobs cancel*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobCancelCall), [*regions jobs delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobDeleteCall), [*regions jobs get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobGetCall), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobGetIamPolicyCall), [*regions jobs list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobListCall), [*regions jobs patch*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobPatchCall), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobSetIamPolicyCall), [*regions jobs submit*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobSubmitCall), [*regions jobs submit as operation*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobSubmitAsOperationCall), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionJobTestIamPermissionCall), [*regions operations cancel*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationCancelCall), [*regions operations delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationDeleteCall), [*regions operations get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationGetCall), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationGetIamPolicyCall), [*regions operations list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationListCall), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationSetIamPolicyCall), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionOperationTestIamPermissionCall), [*regions workflow templates create*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateCreateCall), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateDeleteCall), [*regions workflow templates get*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateGetCall), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateGetIamPolicyCall), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateCall), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateInlineCall), [*regions workflow templates list*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateListCall), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateSetIamPolicyCall), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateTestIamPermissionCall) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/api::ProjectRegionWorkflowTemplateUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/Dataproc)** +* **[Hub](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/Dataproc)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Part)** + * **[Parts](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -77,9 +77,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dataproc1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -145,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Delegate) 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 [encodable](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::RequestValue) and -[decodable](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::RequestValue) and +[decodable](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dataproc1/2.0.4+20210322/google_dataproc1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dataproc1/2.0.5+20210322/google_dataproc1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dataproc1/src/api.rs b/gen/dataproc1/src/api.rs index 1536f31569..ed484266c8 100644 --- a/gen/dataproc1/src/api.rs +++ b/gen/dataproc1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Dataproc<> { Dataproc { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dataproc.googleapis.com/".to_string(), _root_url: "https://dataproc.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Dataproc<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dataproc1/src/client.rs b/gen/dataproc1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dataproc1/src/client.rs +++ b/gen/dataproc1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dataproc1/src/lib.rs b/gen/dataproc1/src/lib.rs index f58dd3dcc0..a044d06bbf 100644 --- a/gen/dataproc1/src/lib.rs +++ b/gen/dataproc1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dataproc* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dataproc* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dataproc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc/). @@ -77,9 +77,6 @@ //! ```toml //! [dependencies] //! google-dataproc1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datastore1-cli/Cargo.toml b/gen/datastore1-cli/Cargo.toml index 25fb7333f0..53621c12cc 100644 --- a/gen/datastore1-cli/Cargo.toml +++ b/gen/datastore1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datastore1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datastore1] path = "../datastore1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/datastore1-cli/README.md b/gen/datastore1-cli/README.md index a1f9428e31..59bcafe393 100644 --- a/gen/datastore1-cli/README.md +++ b/gen/datastore1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *datastore* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *datastore* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash datastore1 [options] diff --git a/gen/datastore1-cli/mkdocs.yml b/gen/datastore1-cli/mkdocs.yml index 8578cd0250..0c1707f06b 100644 --- a/gen/datastore1-cli/mkdocs.yml +++ b/gen/datastore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v2.0.4+20210317 +site_name: datastore v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-datastore1-cli site_description: A complete library to interact with datastore (protocol v1) diff --git a/gen/datastore1-cli/src/main.rs b/gen/datastore1-cli/src/main.rs index 7c71456450..e6c414d3fe 100644 --- a/gen/datastore1-cli/src/main.rs +++ b/gen/datastore1-cli/src/main.rs @@ -1901,7 +1901,7 @@ async fn main() { let mut app = App::new("datastore1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datastore1_cli") .arg(Arg::with_name("url") diff --git a/gen/datastore1/Cargo.toml b/gen/datastore1/Cargo.toml index 35e8612fab..cfacdd04fb 100644 --- a/gen/datastore1/Cargo.toml +++ b/gen/datastore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1" homepage = "https://cloud.google.com/datastore/" -documentation = "https://docs.rs/google-datastore1/2.0.4+20210317" +documentation = "https://docs.rs/google-datastore1/2.0.5+20210317" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datastore1/README.md b/gen/datastore1/README.md index 42d5784731..1c8fd77032 100644 --- a/gen/datastore1/README.md +++ b/gen/datastore1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datastore1` library allows access to all features of the *Google datastore* service. -This documentation was generated from *datastore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *datastore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *datastore* *v1* API can be found at the [official documentation site](https://cloud.google.com/datastore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/Datastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/Datastore) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectCommitCall), [*export*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectExportCall), [*import*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectImportCall), [*indexes create*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectIndexeCreateCall), [*indexes delete*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectIndexeDeleteCall), [*indexes get*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectIndexeGetCall), [*indexes list*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectIndexeListCall), [*lookup*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectLookupCall), [*operations cancel*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectOperationListCall), [*reserve ids*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/api::ProjectRunQueryCall) + * [*allocate ids*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectCommitCall), [*export*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectExportCall), [*import*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectImportCall), [*indexes create*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectIndexeCreateCall), [*indexes delete*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectIndexeDeleteCall), [*indexes get*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectIndexeGetCall), [*indexes list*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectIndexeListCall), [*lookup*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectLookupCall), [*operations cancel*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectOperationListCall), [*reserve ids*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/api::ProjectRunQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/Datastore)** +* **[Hub](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/Datastore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Part)** + * **[Parts](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datastore1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Delegate), 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-datastore1/2.0.4+20210317/google_datastore1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::CallBuilder) 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-datastore1/2.0.4+20210317/google_datastore1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Delegate) 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 [encodable](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::RequestValue) and -[decodable](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::RequestValue) and +[decodable](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastore1/2.0.4+20210317/google_datastore1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::Part) 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-datastore1/2.0.4+20210317/google_datastore1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::CallBuilder), 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-datastore1/2.0.4+20210317/google_datastore1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastore1/2.0.5+20210317/google_datastore1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datastore1/src/api.rs b/gen/datastore1/src/api.rs index bf31c156a3..5931e45aeb 100644 --- a/gen/datastore1/src/api.rs +++ b/gen/datastore1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Datastore<> { Datastore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datastore.googleapis.com/".to_string(), _root_url: "https://datastore.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Datastore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datastore1/src/client.rs b/gen/datastore1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datastore1/src/client.rs +++ b/gen/datastore1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datastore1/src/lib.rs b/gen/datastore1/src/lib.rs index 9faad6f7cf..2edb4fc560 100644 --- a/gen/datastore1/src/lib.rs +++ b/gen/datastore1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *datastore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *datastore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *datastore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-datastore1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/datastore1_beta3-cli/Cargo.toml b/gen/datastore1_beta3-cli/Cargo.toml index 79cc2dc89c..025bbe836c 100644 --- a/gen/datastore1_beta3-cli/Cargo.toml +++ b/gen/datastore1_beta3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datastore1_beta3-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1_beta3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datastore1_beta3] path = "../datastore1_beta3" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/datastore1_beta3-cli/README.md b/gen/datastore1_beta3-cli/README.md index 95535a4f68..274d3f5699 100644 --- a/gen/datastore1_beta3-cli/README.md +++ b/gen/datastore1_beta3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *datastore* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *datastore* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash datastore1-beta3 [options] diff --git a/gen/datastore1_beta3-cli/mkdocs.yml b/gen/datastore1_beta3-cli/mkdocs.yml index 89010bef41..d9eadda6af 100644 --- a/gen/datastore1_beta3-cli/mkdocs.yml +++ b/gen/datastore1_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v2.0.4+20210317 +site_name: datastore v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-datastore1_beta3-cli site_description: A complete library to interact with datastore (protocol v1beta3) diff --git a/gen/datastore1_beta3-cli/src/main.rs b/gen/datastore1_beta3-cli/src/main.rs index 2bca0cd20e..2c6e59b515 100644 --- a/gen/datastore1_beta3-cli/src/main.rs +++ b/gen/datastore1_beta3-cli/src/main.rs @@ -972,7 +972,7 @@ async fn main() { let mut app = App::new("datastore1-beta3") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datastore1_beta3_cli") .arg(Arg::with_name("url") diff --git a/gen/datastore1_beta3/Cargo.toml b/gen/datastore1_beta3/Cargo.toml index 8818470878..057a38585c 100644 --- a/gen/datastore1_beta3/Cargo.toml +++ b/gen/datastore1_beta3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1_beta3" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1_beta3" homepage = "https://cloud.google.com/datastore/" -documentation = "https://docs.rs/google-datastore1_beta3/2.0.4+20210317" +documentation = "https://docs.rs/google-datastore1_beta3/2.0.5+20210317" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/datastore1_beta3/README.md b/gen/datastore1_beta3/README.md index 62e87d152c..8a7c90f8f6 100644 --- a/gen/datastore1_beta3/README.md +++ b/gen/datastore1_beta3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datastore1_beta3` library allows access to all features of the *Google datastore* service. -This documentation was generated from *datastore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *datastore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *datastore* *v1_beta3* API can be found at the [official documentation site](https://cloud.google.com/datastore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/Datastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/Datastore) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectCommitCall), [*lookup*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectLookupCall), [*reserve ids*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/api::ProjectRunQueryCall) + * [*allocate ids*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectCommitCall), [*lookup*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectLookupCall), [*reserve ids*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/api::ProjectRunQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/Datastore)** +* **[Hub](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/Datastore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::CallBuilder) +* **[Resources](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Part)** + * **[Parts](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-datastore1_beta3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Delegate), 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-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Delegate) to the +[Method Builder](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::CallBuilder) 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-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Delegate) 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 [encodable](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::RequestValue) and -[decodable](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::RequestValue) and +[decodable](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::Part) 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-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::CallBuilder), 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-datastore1_beta3/2.0.4+20210317/google_datastore1_beta3/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastore1_beta3/2.0.5+20210317/google_datastore1_beta3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datastore1_beta3/src/api.rs b/gen/datastore1_beta3/src/api.rs index 7b1d226094..d42d44a06e 100644 --- a/gen/datastore1_beta3/src/api.rs +++ b/gen/datastore1_beta3/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Datastore<> { Datastore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://datastore.googleapis.com/".to_string(), _root_url: "https://datastore.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Datastore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/datastore1_beta3/src/client.rs b/gen/datastore1_beta3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/datastore1_beta3/src/client.rs +++ b/gen/datastore1_beta3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/datastore1_beta3/src/lib.rs b/gen/datastore1_beta3/src/lib.rs index b8a33bffc6..67a1ada29d 100644 --- a/gen/datastore1_beta3/src/lib.rs +++ b/gen/datastore1_beta3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *datastore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *datastore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *datastore* *v1_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-datastore1_beta3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/deploymentmanager2-cli/Cargo.toml b/gen/deploymentmanager2-cli/Cargo.toml index 48b5e0824a..bce54d50cd 100644 --- a/gen/deploymentmanager2-cli/Cargo.toml +++ b/gen/deploymentmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2-cli" -version = "2.0.4+20210320" +version = "2.0.5+20210320" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-deploymentmanager2] path = "../deploymentmanager2" -version = "2.0.4+20210320" +version = "2.0.5+20210320" diff --git a/gen/deploymentmanager2-cli/README.md b/gen/deploymentmanager2-cli/README.md index b72bd43167..22b3a839c3 100644 --- a/gen/deploymentmanager2-cli/README.md +++ b/gen/deploymentmanager2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Deployment Manager* API at revision *20210320*. The CLI is at version *2.0.4*. +This documentation was generated from the *Deployment Manager* API at revision *20210320*. The CLI is at version *2.0.5*. ```bash deploymentmanager2 [options] diff --git a/gen/deploymentmanager2-cli/mkdocs.yml b/gen/deploymentmanager2-cli/mkdocs.yml index ad47ff1778..a0227a852c 100644 --- a/gen/deploymentmanager2-cli/mkdocs.yml +++ b/gen/deploymentmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v2.0.4+20210320 +site_name: Deployment Manager v2.0.5+20210320 site_url: http://byron.github.io/google-apis-rs/google-deploymentmanager2-cli site_description: A complete library to interact with Deployment Manager (protocol v2) diff --git a/gen/deploymentmanager2-cli/src/main.rs b/gen/deploymentmanager2-cli/src/main.rs index 386fd106e4..25d9fa489e 100644 --- a/gen/deploymentmanager2-cli/src/main.rs +++ b/gen/deploymentmanager2-cli/src/main.rs @@ -2129,7 +2129,7 @@ async fn main() { let mut app = App::new("deploymentmanager2") .author("Sebastian Thiel ") - .version("2.0.4+20210320") + .version("2.0.5+20210320") .about("The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_deploymentmanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/deploymentmanager2/Cargo.toml b/gen/deploymentmanager2/Cargo.toml index 19e922d986..b5f31ada28 100644 --- a/gen/deploymentmanager2/Cargo.toml +++ b/gen/deploymentmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2" -version = "2.0.4+20210320" +version = "2.0.5+20210320" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2" homepage = "https://cloud.google.com/deployment-manager" -documentation = "https://docs.rs/google-deploymentmanager2/2.0.4+20210320" +documentation = "https://docs.rs/google-deploymentmanager2/2.0.5+20210320" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/deploymentmanager2/README.md b/gen/deploymentmanager2/README.md index 68c324f6fa..6cde63e136 100644 --- a/gen/deploymentmanager2/README.md +++ b/gen/deploymentmanager2/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-deploymentmanager2` library allows access to all features of the *Google Deployment Manager* service. -This documentation was generated from *Deployment Manager* crate version *2.0.4+20210320*, where *20210320* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Deployment Manager* crate version *2.0.5+20210320*, where *20210320* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Deployment Manager* *v2* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/DeploymentManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/DeploymentManager) ... -* [deployments](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::Deployment) - * [*cancel preview*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::DeploymentUpdateCall) -* [manifests](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::Manifest) - * [*get*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::ManifestListCall) -* [operations](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::Operation) - * [*get*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::OperationListCall) -* [resources](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::Resource) - * [*get*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::ResourceListCall) -* [types](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::Type) - * [*list*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/api::TypeListCall) +* [deployments](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::Deployment) + * [*cancel preview*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::DeploymentUpdateCall) +* [manifests](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::Manifest) + * [*get*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::ManifestListCall) +* [operations](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::Operation) + * [*get*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::OperationListCall) +* [resources](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::Resource) + * [*get*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::ResourceListCall) +* [types](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::Type) + * [*list*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/api::TypeListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/DeploymentManager)** +* **[Hub](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/DeploymentManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::CallBuilder) +* **[Resources](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Part)** + * **[Parts](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -82,9 +82,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-deploymentmanager2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Delegate) to the +[Method Builder](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Delegate) 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 [encodable](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::RequestValue) and -[decodable](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::RequestValue) and +[decodable](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-deploymentmanager2/2.0.4+20210320/google_deploymentmanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-deploymentmanager2/2.0.5+20210320/google_deploymentmanager2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/deploymentmanager2/src/api.rs b/gen/deploymentmanager2/src/api.rs index a87b969fea..35255148ec 100644 --- a/gen/deploymentmanager2/src/api.rs +++ b/gen/deploymentmanager2/src/api.rs @@ -135,7 +135,7 @@ impl<'a, > DeploymentManager<> { DeploymentManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://deploymentmanager.googleapis.com/".to_string(), _root_url: "https://deploymentmanager.googleapis.com/".to_string(), } @@ -158,7 +158,7 @@ impl<'a, > DeploymentManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/deploymentmanager2/src/client.rs b/gen/deploymentmanager2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/deploymentmanager2/src/client.rs +++ b/gen/deploymentmanager2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/deploymentmanager2/src/lib.rs b/gen/deploymentmanager2/src/lib.rs index acc2982115..e3405ca9bc 100644 --- a/gen/deploymentmanager2/src/lib.rs +++ b/gen/deploymentmanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Deployment Manager* crate version *2.0.4+20210320*, where *20210320* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Deployment Manager* crate version *2.0.5+20210320*, where *20210320* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Deployment Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager). @@ -82,9 +82,6 @@ //! ```toml //! [dependencies] //! google-deploymentmanager2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/deploymentmanager2_beta2-cli/Cargo.toml b/gen/deploymentmanager2_beta2-cli/Cargo.toml index c484fd0843..cce01bd4ac 100644 --- a/gen/deploymentmanager2_beta2-cli/Cargo.toml +++ b/gen/deploymentmanager2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2_beta2-cli" -version = "2.0.4+20160201" +version = "2.0.5+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-deploymentmanager2_beta2] path = "../deploymentmanager2_beta2" -version = "2.0.4+20160201" +version = "2.0.5+20160201" diff --git a/gen/deploymentmanager2_beta2-cli/README.md b/gen/deploymentmanager2_beta2-cli/README.md index e7f6408509..23580aef00 100644 --- a/gen/deploymentmanager2_beta2-cli/README.md +++ b/gen/deploymentmanager2_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *2.0.4*. +This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *2.0.5*. ```bash deploymentmanager2-beta2 [options] diff --git a/gen/deploymentmanager2_beta2-cli/mkdocs.yml b/gen/deploymentmanager2_beta2-cli/mkdocs.yml index bc9996d8c9..d8de67d65d 100644 --- a/gen/deploymentmanager2_beta2-cli/mkdocs.yml +++ b/gen/deploymentmanager2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v2.0.4+20160201 +site_name: Deployment Manager v2.0.5+20160201 site_url: http://byron.github.io/google-apis-rs/google-deploymentmanager2_beta2-cli site_description: A complete library to interact with Deployment Manager (protocol v2beta2) diff --git a/gen/deploymentmanager2_beta2-cli/src/main.rs b/gen/deploymentmanager2_beta2-cli/src/main.rs index 62fd434f46..c12940e7d0 100644 --- a/gen/deploymentmanager2_beta2-cli/src/main.rs +++ b/gen/deploymentmanager2_beta2-cli/src/main.rs @@ -1460,7 +1460,7 @@ async fn main() { let mut app = App::new("deploymentmanager2-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20160201") + .version("2.0.5+20160201") .about("The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_deploymentmanager2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/deploymentmanager2_beta2/Cargo.toml b/gen/deploymentmanager2_beta2/Cargo.toml index c3261dd5ce..d456506686 100644 --- a/gen/deploymentmanager2_beta2/Cargo.toml +++ b/gen/deploymentmanager2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2_beta2" -version = "2.0.4+20160201" +version = "2.0.5+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201" +documentation = "https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/deploymentmanager2_beta2/README.md b/gen/deploymentmanager2_beta2/README.md index 8e70f7e725..ec6a702491 100644 --- a/gen/deploymentmanager2_beta2/README.md +++ b/gen/deploymentmanager2_beta2/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-deploymentmanager2_beta2` library allows access to all features of the *Google Deployment Manager* service. -This documentation was generated from *Deployment Manager* crate version *2.0.4+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Deployment Manager* crate version *2.0.5+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Deployment Manager* *v2_beta2* API can be found at the [official documentation site](https://developers.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/DeploymentManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/DeploymentManager) ... -* [deployments](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::Deployment) - * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::DeploymentPatchCall) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::DeploymentUpdateCall) -* [manifests](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::Manifest) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::ManifestListCall) -* [operations](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::Operation) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::OperationListCall) -* [resources](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::Resource) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::ResourceListCall) -* [types](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::Type) - * [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/api::TypeListCall) +* [deployments](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::Deployment) + * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::DeploymentPatchCall) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::DeploymentUpdateCall) +* [manifests](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::Manifest) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::ManifestListCall) +* [operations](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::Operation) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::OperationListCall) +* [resources](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::Resource) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::ResourceListCall) +* [types](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::Type) + * [*list*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/api::TypeListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/DeploymentManager)** +* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/DeploymentManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -77,9 +77,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-deploymentmanager2_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -148,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -168,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-deploymentmanager2_beta2/2.0.4+20160201/google_deploymentmanager2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-deploymentmanager2_beta2/2.0.5+20160201/google_deploymentmanager2_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/deploymentmanager2_beta2/src/api.rs b/gen/deploymentmanager2_beta2/src/api.rs index 15467cfc04..5bb1665101 100644 --- a/gen/deploymentmanager2_beta2/src/api.rs +++ b/gen/deploymentmanager2_beta2/src/api.rs @@ -135,7 +135,7 @@ impl<'a, > DeploymentManager<> { DeploymentManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/deploymentmanager/v2beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -158,7 +158,7 @@ impl<'a, > DeploymentManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/deploymentmanager2_beta2/src/client.rs b/gen/deploymentmanager2_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/deploymentmanager2_beta2/src/client.rs +++ b/gen/deploymentmanager2_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/deploymentmanager2_beta2/src/lib.rs b/gen/deploymentmanager2_beta2/src/lib.rs index f4db0a7f7f..46ee656b44 100644 --- a/gen/deploymentmanager2_beta2/src/lib.rs +++ b/gen/deploymentmanager2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Deployment Manager* crate version *2.0.4+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Deployment Manager* crate version *2.0.5+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Deployment Manager* *v2_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). @@ -77,9 +77,6 @@ //! ```toml //! [dependencies] //! google-deploymentmanager2_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dfareporting2d8-cli/Cargo.toml b/gen/dfareporting2d8-cli/Cargo.toml index 0bef04bdd5..f254ec2d5c 100644 --- a/gen/dfareporting2d8-cli/Cargo.toml +++ b/gen/dfareporting2d8-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d8-cli" -version = "2.0.4+20180830" +version = "2.0.5+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.8)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting2d8-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting2d8] path = "../dfareporting2d8" -version = "2.0.4+20180830" +version = "2.0.5+20180830" diff --git a/gen/dfareporting2d8-cli/README.md b/gen/dfareporting2d8-cli/README.md index 9ea120302d..8404c0d5d4 100644 --- a/gen/dfareporting2d8-cli/README.md +++ b/gen/dfareporting2d8-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *2.0.4*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *2.0.5*. ```bash dfareporting2d8 [options] diff --git a/gen/dfareporting2d8-cli/mkdocs.yml b/gen/dfareporting2d8-cli/mkdocs.yml index 1bb92790b0..a1d67bdfa6 100644 --- a/gen/dfareporting2d8-cli/mkdocs.yml +++ b/gen/dfareporting2d8-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v2.0.4+20180830 +site_name: dfareporting v2.0.5+20180830 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d8-cli site_description: A complete library to interact with dfareporting (protocol v2.8) diff --git a/gen/dfareporting2d8-cli/src/main.rs b/gen/dfareporting2d8-cli/src/main.rs index cb54a161cc..72b748e275 100644 --- a/gen/dfareporting2d8-cli/src/main.rs +++ b/gen/dfareporting2d8-cli/src/main.rs @@ -23751,7 +23751,7 @@ async fn main() { let mut app = App::new("dfareporting2d8") .author("Sebastian Thiel ") - .version("2.0.4+20180830") + .version("2.0.5+20180830") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d8_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d8/Cargo.toml b/gen/dfareporting2d8/Cargo.toml index cceacbe464..c3f51b0f03 100644 --- a/gen/dfareporting2d8/Cargo.toml +++ b/gen/dfareporting2d8/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting2d8" -version = "2.0.4+20180830" +version = "2.0.5+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.8)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting2d8" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting2d8/2.0.4+20180830" +documentation = "https://docs.rs/google-dfareporting2d8/2.0.5+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting2d8/README.md b/gen/dfareporting2d8/README.md index fdcd77a0f7..1fa91f93c8 100644 --- a/gen/dfareporting2d8/README.md +++ b/gen/dfareporting2d8/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting2d8` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *2.0.4+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *dfareporting* crate version *2.0.5+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *dfareporting* *v2d8* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Account) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Ad) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGroupUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Browser) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::City) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Country) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Creative) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::File) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::InventoryItemListCall) -* [landing pages](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPage) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPageDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPageListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LandingPageUpdateCall) -* [languages](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Language) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Metro) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::MetroListCall) -* [mobile carriers](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Order) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Project) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Region) - * [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Site) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Size) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::VideoFormatListCall) +* [account active ad summaries](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Account) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Ad) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGroupUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Browser) + * [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::City) + * [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Country) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Creative) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DimensionValueQueryCall) +* [directory site contacts](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySiteContact) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySiteContactListCall) +* [directory sites](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::File) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::InventoryItemListCall) +* [landing pages](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPage) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPageDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPageListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LandingPageUpdateCall) +* [languages](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Language) + * [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Metro) + * [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::MetroListCall) +* [mobile carriers](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Order) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Project) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Region) + * [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Site) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Size) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -200,9 +200,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dfareporting2d8 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -266,17 +263,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Delegate), 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-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::ResponseResult), 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")`. @@ -286,29 +283,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::CallBuilder) 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-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Delegate) 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 [encodable](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::Part) 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-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::CallBuilder), 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-dfareporting2d8/2.0.4+20180830/google_dfareporting2d8/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting2d8/2.0.5+20180830/google_dfareporting2d8/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d8/src/api.rs b/gen/dfareporting2d8/src/api.rs index ee97e9c188..db836b6996 100644 --- a/gen/dfareporting2d8/src/api.rs +++ b/gen/dfareporting2d8/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v2.8/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -314,7 +314,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -29712,7 +29712,6 @@ impl<'a> CreativeAssetInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/dfareporting2d8/src/client.rs b/gen/dfareporting2d8/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dfareporting2d8/src/client.rs +++ b/gen/dfareporting2d8/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dfareporting2d8/src/lib.rs b/gen/dfareporting2d8/src/lib.rs index d6739f1a4b..d859e7424e 100644 --- a/gen/dfareporting2d8/src/lib.rs +++ b/gen/dfareporting2d8/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *2.0.4+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *dfareporting* crate version *2.0.5+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *dfareporting* *v2d8* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -200,9 +200,6 @@ //! ```toml //! [dependencies] //! google-dfareporting2d8 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dfareporting3-cli/Cargo.toml b/gen/dfareporting3-cli/Cargo.toml index ce6041660d..ced443a515 100644 --- a/gen/dfareporting3-cli/Cargo.toml +++ b/gen/dfareporting3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3-cli" -version = "2.0.4+20180830" +version = "2.0.5+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3] path = "../dfareporting3" -version = "2.0.4+20180830" +version = "2.0.5+20180830" diff --git a/gen/dfareporting3-cli/README.md b/gen/dfareporting3-cli/README.md index a880666500..28c050c645 100644 --- a/gen/dfareporting3-cli/README.md +++ b/gen/dfareporting3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *2.0.4*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *2.0.5*. ```bash dfareporting3 [options] diff --git a/gen/dfareporting3-cli/mkdocs.yml b/gen/dfareporting3-cli/mkdocs.yml index e04aa305b7..c46eda881c 100644 --- a/gen/dfareporting3-cli/mkdocs.yml +++ b/gen/dfareporting3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v2.0.4+20180830 +site_name: dfareporting v2.0.5+20180830 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3-cli site_description: A complete library to interact with dfareporting (protocol v3.0) diff --git a/gen/dfareporting3-cli/src/main.rs b/gen/dfareporting3-cli/src/main.rs index 9ff764b3ef..5e1058091c 100644 --- a/gen/dfareporting3-cli/src/main.rs +++ b/gen/dfareporting3-cli/src/main.rs @@ -23680,7 +23680,7 @@ async fn main() { let mut app = App::new("dfareporting3") .author("Sebastian Thiel ") - .version("2.0.4+20180830") + .version("2.0.5+20180830") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3/Cargo.toml b/gen/dfareporting3/Cargo.toml index ef51adedd0..830391a844 100644 --- a/gen/dfareporting3/Cargo.toml +++ b/gen/dfareporting3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3" -version = "2.0.4+20180830" +version = "2.0.5+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3/2.0.4+20180830" +documentation = "https://docs.rs/google-dfareporting3/2.0.5+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3/README.md b/gen/dfareporting3/README.md index 673af0f870..acc014e971 100644 --- a/gen/dfareporting3/README.md +++ b/gen/dfareporting3/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting3` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *2.0.4+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *dfareporting* crate version *2.0.5+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *dfareporting* *v3* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Account) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Account) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::City) - * [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Country) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::File) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Language) - * [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::MetroListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Order) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Project) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Region) - * [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Site) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Size) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::City) + * [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Country) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DimensionValueQueryCall) +* [directory site contacts](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySiteContact) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySiteContactListCall) +* [directory sites](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::File) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Language) + * [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::MetroListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Order) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Project) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Region) + * [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Site) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Size) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -200,9 +200,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dfareporting3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -266,17 +263,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Delegate), 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-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::ResponseResult), 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")`. @@ -286,29 +283,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::CallBuilder) 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-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Delegate) 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 [encodable](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3/2.0.4+20180830/google_dfareporting3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::Part) 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-dfareporting3/2.0.4+20180830/google_dfareporting3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::CallBuilder), 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-dfareporting3/2.0.4+20180830/google_dfareporting3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3/2.0.5+20180830/google_dfareporting3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3/src/api.rs b/gen/dfareporting3/src/api.rs index a5609e0823..19b369d02c 100644 --- a/gen/dfareporting3/src/api.rs +++ b/gen/dfareporting3/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.0/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -314,7 +314,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -31179,7 +31179,6 @@ impl<'a> CreativeAssetInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/dfareporting3/src/client.rs b/gen/dfareporting3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dfareporting3/src/client.rs +++ b/gen/dfareporting3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dfareporting3/src/lib.rs b/gen/dfareporting3/src/lib.rs index 539d16f905..552e26a4ba 100644 --- a/gen/dfareporting3/src/lib.rs +++ b/gen/dfareporting3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *2.0.4+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *dfareporting* crate version *2.0.5+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *dfareporting* *v3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -200,9 +200,6 @@ //! ```toml //! [dependencies] //! google-dfareporting3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dfareporting3d2-cli/Cargo.toml b/gen/dfareporting3d2-cli/Cargo.toml index c5c745b4ff..f52e85e45c 100644 --- a/gen/dfareporting3d2-cli/Cargo.toml +++ b/gen/dfareporting3d2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d2-cli" -version = "2.0.4+20190531" +version = "2.0.5+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d2] path = "../dfareporting3d2" -version = "2.0.4+20190531" +version = "2.0.5+20190531" diff --git a/gen/dfareporting3d2-cli/README.md b/gen/dfareporting3d2-cli/README.md index 0afa4cb687..2627d3a04b 100644 --- a/gen/dfareporting3d2-cli/README.md +++ b/gen/dfareporting3d2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20190531*. The CLI is at version *2.0.4*. +This documentation was generated from the *dfareporting* API at revision *20190531*. The CLI is at version *2.0.5*. ```bash dfareporting3d2 [options] diff --git a/gen/dfareporting3d2-cli/mkdocs.yml b/gen/dfareporting3d2-cli/mkdocs.yml index 1703f7e8d3..071534bf26 100644 --- a/gen/dfareporting3d2-cli/mkdocs.yml +++ b/gen/dfareporting3d2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v2.0.4+20190531 +site_name: dfareporting v2.0.5+20190531 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d2-cli site_description: A complete library to interact with dfareporting (protocol v3.2) diff --git a/gen/dfareporting3d2-cli/src/main.rs b/gen/dfareporting3d2-cli/src/main.rs index 194a00685f..444f380bd7 100644 --- a/gen/dfareporting3d2-cli/src/main.rs +++ b/gen/dfareporting3d2-cli/src/main.rs @@ -23870,7 +23870,7 @@ async fn main() { let mut app = App::new("dfareporting3d2") .author("Sebastian Thiel ") - .version("2.0.4+20190531") + .version("2.0.5+20190531") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d2_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d2/Cargo.toml b/gen/dfareporting3d2/Cargo.toml index 0bfc057154..ccd3d4321d 100644 --- a/gen/dfareporting3d2/Cargo.toml +++ b/gen/dfareporting3d2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d2" -version = "2.0.4+20190531" +version = "2.0.5+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d2" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d2/2.0.4+20190531" +documentation = "https://docs.rs/google-dfareporting3d2/2.0.5+20190531" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3d2/README.md b/gen/dfareporting3d2/README.md index 49dc1719e3..4b46fbb3e3 100644 --- a/gen/dfareporting3d2/README.md +++ b/gen/dfareporting3d2/README.md @@ -5,146 +5,146 @@ DO NOT EDIT ! --> The `google-dfareporting3d2` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *2.0.4+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *dfareporting* crate version *2.0.5+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *dfareporting* *v3d2* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::City) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::File) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::City) + * [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DimensionValueQueryCall) +* [directory site contacts](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySiteContact) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySiteContactListCall) +* [directory sites](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::File) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/api::ReportFileGetCall) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -202,9 +202,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dfareporting3d2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -268,17 +265,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Delegate), 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-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::ResponseResult), 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")`. @@ -288,29 +285,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::CallBuilder) 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-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Delegate) 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 [encodable](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::Part) 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-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::CallBuilder), 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-dfareporting3d2/2.0.4+20190531/google_dfareporting3d2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d2/2.0.5+20190531/google_dfareporting3d2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d2/src/api.rs b/gen/dfareporting3d2/src/api.rs index 952fe4ebf3..91b720289a 100644 --- a/gen/dfareporting3d2/src/api.rs +++ b/gen/dfareporting3d2/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -317,7 +317,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -31381,7 +31381,6 @@ impl<'a> CreativeAssetInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/dfareporting3d2/src/client.rs b/gen/dfareporting3d2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dfareporting3d2/src/client.rs +++ b/gen/dfareporting3d2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dfareporting3d2/src/lib.rs b/gen/dfareporting3d2/src/lib.rs index e3c24fc7ea..9573a5d540 100644 --- a/gen/dfareporting3d2/src/lib.rs +++ b/gen/dfareporting3d2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *2.0.4+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *dfareporting* crate version *2.0.5+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *dfareporting* *v3d2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -202,9 +202,6 @@ //! ```toml //! [dependencies] //! google-dfareporting3d2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dfareporting3d3-cli/Cargo.toml b/gen/dfareporting3d3-cli/Cargo.toml index 8ee587d21b..6f09f02ad1 100644 --- a/gen/dfareporting3d3-cli/Cargo.toml +++ b/gen/dfareporting3d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d3-cli" -version = "2.0.4+20210210" +version = "2.0.5+20210210" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d3] path = "../dfareporting3d3" -version = "2.0.4+20210210" +version = "2.0.5+20210210" diff --git a/gen/dfareporting3d3-cli/README.md b/gen/dfareporting3d3-cli/README.md index 337b0a7f73..c87adf97f6 100644 --- a/gen/dfareporting3d3-cli/README.md +++ b/gen/dfareporting3d3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dfareporting* API at revision *20210210*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dfareporting* API at revision *20210210*. The CLI is at version *2.0.5*. ```bash dfareporting3d3 [options] diff --git a/gen/dfareporting3d3-cli/mkdocs.yml b/gen/dfareporting3d3-cli/mkdocs.yml index 1f4ae2c143..659036d0b2 100644 --- a/gen/dfareporting3d3-cli/mkdocs.yml +++ b/gen/dfareporting3d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v2.0.4+20210210 +site_name: Dfareporting v2.0.5+20210210 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d3-cli site_description: A complete library to interact with Dfareporting (protocol v3.3) diff --git a/gen/dfareporting3d3-cli/src/main.rs b/gen/dfareporting3d3-cli/src/main.rs index 8dedac6959..56a1e2db3c 100644 --- a/gen/dfareporting3d3-cli/src/main.rs +++ b/gen/dfareporting3d3-cli/src/main.rs @@ -23697,7 +23697,7 @@ async fn main() { let mut app = App::new("dfareporting3d3") .author("Sebastian Thiel ") - .version("2.0.4+20210210") + .version("2.0.5+20210210") .about("Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d3_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d3/Cargo.toml b/gen/dfareporting3d3/Cargo.toml index 4fb62dfad5..ccaacaa09f 100644 --- a/gen/dfareporting3d3/Cargo.toml +++ b/gen/dfareporting3d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d3" -version = "2.0.4+20210210" +version = "2.0.5+20210210" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d3" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d3/2.0.4+20210210" +documentation = "https://docs.rs/google-dfareporting3d3/2.0.5+20210210" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3d3/README.md b/gen/dfareporting3d3/README.md index 1db383a5fb..08ce329f42 100644 --- a/gen/dfareporting3d3/README.md +++ b/gen/dfareporting3d3/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting3d3` library allows access to all features of the *Google Dfareporting* service. -This documentation was generated from *Dfareporting* crate version *2.0.4+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dfareporting* crate version *2.0.5+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dfareporting* *v3d3* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::City) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::File) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::City) + * [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DimensionValueQueryCall) +* [directory sites](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::File) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -200,9 +200,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dfareporting3d3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -266,17 +263,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Delegate), 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-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::ResponseResult), 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")`. @@ -286,29 +283,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::CallBuilder) 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-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Delegate) 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 [encodable](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::Part) 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-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::CallBuilder), 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-dfareporting3d3/2.0.4+20210210/google_dfareporting3d3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d3/2.0.5+20210210/google_dfareporting3d3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d3/src/api.rs b/gen/dfareporting3d3/src/api.rs index 89a39a1ff9..07a2fab588 100644 --- a/gen/dfareporting3d3/src/api.rs +++ b/gen/dfareporting3d3/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dfareporting.googleapis.com/dfareporting/v3.3/".to_string(), _root_url: "https://dfareporting.googleapis.com/".to_string(), } @@ -314,7 +314,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting3d3/src/client.rs b/gen/dfareporting3d3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dfareporting3d3/src/client.rs +++ b/gen/dfareporting3d3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dfareporting3d3/src/lib.rs b/gen/dfareporting3d3/src/lib.rs index e62873049c..92f414d323 100644 --- a/gen/dfareporting3d3/src/lib.rs +++ b/gen/dfareporting3d3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dfareporting* crate version *2.0.4+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dfareporting* crate version *2.0.5+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dfareporting* *v3d3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -200,9 +200,6 @@ //! ```toml //! [dependencies] //! google-dfareporting3d3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dfareporting3d4-cli/Cargo.toml b/gen/dfareporting3d4-cli/Cargo.toml index f855d3d990..af391ce6ea 100644 --- a/gen/dfareporting3d4-cli/Cargo.toml +++ b/gen/dfareporting3d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d4-cli" -version = "2.0.4+20210210" +version = "2.0.5+20210210" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d4] path = "../dfareporting3d4" -version = "2.0.4+20210210" +version = "2.0.5+20210210" diff --git a/gen/dfareporting3d4-cli/README.md b/gen/dfareporting3d4-cli/README.md index 4bd430695f..0ed25e345b 100644 --- a/gen/dfareporting3d4-cli/README.md +++ b/gen/dfareporting3d4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dfareporting* API at revision *20210210*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dfareporting* API at revision *20210210*. The CLI is at version *2.0.5*. ```bash dfareporting3d4 [options] diff --git a/gen/dfareporting3d4-cli/mkdocs.yml b/gen/dfareporting3d4-cli/mkdocs.yml index 187ea15895..19de4786f4 100644 --- a/gen/dfareporting3d4-cli/mkdocs.yml +++ b/gen/dfareporting3d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v2.0.4+20210210 +site_name: Dfareporting v2.0.5+20210210 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d4-cli site_description: A complete library to interact with Dfareporting (protocol v3.4) diff --git a/gen/dfareporting3d4-cli/src/main.rs b/gen/dfareporting3d4-cli/src/main.rs index 2eb24c24fa..470c63f755 100644 --- a/gen/dfareporting3d4-cli/src/main.rs +++ b/gen/dfareporting3d4-cli/src/main.rs @@ -24047,7 +24047,7 @@ async fn main() { let mut app = App::new("dfareporting3d4") .author("Sebastian Thiel ") - .version("2.0.4+20210210") + .version("2.0.5+20210210") .about("Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d4_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d4/Cargo.toml b/gen/dfareporting3d4/Cargo.toml index 90aa41d0c5..fb342d5b09 100644 --- a/gen/dfareporting3d4/Cargo.toml +++ b/gen/dfareporting3d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d4" -version = "2.0.4+20210210" +version = "2.0.5+20210210" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d4/2.0.4+20210210" +documentation = "https://docs.rs/google-dfareporting3d4/2.0.5+20210210" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dfareporting3d4/README.md b/gen/dfareporting3d4/README.md index 9d8885527d..e70a66f94c 100644 --- a/gen/dfareporting3d4/README.md +++ b/gen/dfareporting3d4/README.md @@ -5,146 +5,146 @@ DO NOT EDIT ! --> The `google-dfareporting3d4` library allows access to all features of the *Google Dfareporting* service. -This documentation was generated from *Dfareporting* crate version *2.0.4+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dfareporting* crate version *2.0.5+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dfareporting* *v3d4* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::City) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeUpdateCall) -* [custom events](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CustomEvent) - * [*batchinsert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CustomEventBatchinsertCall) -* [dimension values](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::File) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::City) + * [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeUpdateCall) +* [custom events](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CustomEvent) + * [*batchinsert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CustomEventBatchinsertCall) +* [dimension values](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DimensionValueQueryCall) +* [directory sites](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::File) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/api::ReportFileGetCall) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -202,9 +202,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dfareporting3d4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -268,17 +265,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Delegate), 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-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::ResponseResult), 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")`. @@ -288,29 +285,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::CallBuilder) 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-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Delegate) 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 [encodable](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::Part) 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-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::CallBuilder), 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-dfareporting3d4/2.0.4+20210210/google_dfareporting3d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d4/2.0.5+20210210/google_dfareporting3d4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d4/src/api.rs b/gen/dfareporting3d4/src/api.rs index 370244e0d0..cb8c75bff9 100644 --- a/gen/dfareporting3d4/src/api.rs +++ b/gen/dfareporting3d4/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dfareporting.googleapis.com/dfareporting/v3.4/".to_string(), _root_url: "https://dfareporting.googleapis.com/".to_string(), } @@ -317,7 +317,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting3d4/src/client.rs b/gen/dfareporting3d4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dfareporting3d4/src/client.rs +++ b/gen/dfareporting3d4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dfareporting3d4/src/lib.rs b/gen/dfareporting3d4/src/lib.rs index f26ea104b2..3a143983ef 100644 --- a/gen/dfareporting3d4/src/lib.rs +++ b/gen/dfareporting3d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dfareporting* crate version *2.0.4+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dfareporting* crate version *2.0.5+20210210*, where *20210210* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dfareporting* *v3d4* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -202,9 +202,6 @@ //! ```toml //! [dependencies] //! google-dfareporting3d4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dialogflow2-cli/Cargo.toml b/gen/dialogflow2-cli/Cargo.toml index ef34fd722b..be5caacabb 100644 --- a/gen/dialogflow2-cli/Cargo.toml +++ b/gen/dialogflow2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow2-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dialogflow2] path = "../dialogflow2" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/dialogflow2-cli/README.md b/gen/dialogflow2-cli/README.md index 1334e346b9..d35d502cf5 100644 --- a/gen/dialogflow2-cli/README.md +++ b/gen/dialogflow2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash dialogflow2 [options] diff --git a/gen/dialogflow2-cli/mkdocs.yml b/gen/dialogflow2-cli/mkdocs.yml index 5ceb7e1191..a324ac2bd6 100644 --- a/gen/dialogflow2-cli/mkdocs.yml +++ b/gen/dialogflow2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v2.0.4+20210329 +site_name: Dialogflow v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-dialogflow2-cli site_description: A complete library to interact with Dialogflow (protocol v2) diff --git a/gen/dialogflow2-cli/src/main.rs b/gen/dialogflow2-cli/src/main.rs index 876d2ffd34..b1dba256f7 100644 --- a/gen/dialogflow2-cli/src/main.rs +++ b/gen/dialogflow2-cli/src/main.rs @@ -18774,7 +18774,7 @@ async fn main() { let mut app = App::new("dialogflow2") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dialogflow2_cli") .arg(Arg::with_name("url") diff --git a/gen/dialogflow2/Cargo.toml b/gen/dialogflow2/Cargo.toml index 96010cb93f..1712a008a6 100644 --- a/gen/dialogflow2/Cargo.toml +++ b/gen/dialogflow2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow2/2.0.4+20210329" +documentation = "https://docs.rs/google-dialogflow2/2.0.5+20210329" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dialogflow2/README.md b/gen/dialogflow2/README.md index 2cab3af1cb..9abd174294 100644 --- a/gen/dialogflow2/README.md +++ b/gen/dialogflow2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dialogflow2` library allows access to all features of the *Google Dialogflow* service. -This documentation was generated from *Dialogflow* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dialogflow* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dialogflow* *v2* API can be found at the [official documentation site](https://cloud.google.com/dialogflow/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/Dialogflow) ... * projects - * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEntityTypePatchCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentListCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAgentUpdateFulfillmentCall), [*answer records list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectAnswerRecordPatchCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationProfilePatchCall), [*conversations complete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationListCall), [*conversations messages list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*delete agent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations answer records list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationProfilePatchCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationListCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations delete agent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationDeleteAgentCall), [*locations get agent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBasePatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/api::ProjectSetAgentCall) + * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEntityTypePatchCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentListCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAgentUpdateFulfillmentCall), [*answer records list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectAnswerRecordPatchCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationProfilePatchCall), [*conversations complete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationListCall), [*conversations messages list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*delete agent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations answer records list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationProfilePatchCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationListCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations delete agent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationDeleteAgentCall), [*locations get agent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationKnowledgeBasePatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/api::ProjectSetAgentCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/Dialogflow)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,9 +99,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dialogflow2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -168,17 +165,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Delegate), 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-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::ResponseResult), 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")`. @@ -188,29 +185,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::CallBuilder) 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-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Delegate) 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 [encodable](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::RequestValue) and +[decodable](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2/2.0.4+20210329/google_dialogflow2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::Part) 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-dialogflow2/2.0.4+20210329/google_dialogflow2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::CallBuilder), 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-dialogflow2/2.0.4+20210329/google_dialogflow2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow2/2.0.5+20210329/google_dialogflow2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dialogflow2/src/api.rs b/gen/dialogflow2/src/api.rs index d04d80b5b9..4783c363df 100644 --- a/gen/dialogflow2/src/api.rs +++ b/gen/dialogflow2/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > Dialogflow<> { Dialogflow { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Dialogflow<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dialogflow2/src/client.rs b/gen/dialogflow2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dialogflow2/src/client.rs +++ b/gen/dialogflow2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dialogflow2/src/lib.rs b/gen/dialogflow2/src/lib.rs index 65d3cf5c83..20d7ace7d2 100644 --- a/gen/dialogflow2/src/lib.rs +++ b/gen/dialogflow2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dialogflow* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dialogflow* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dialogflow* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -99,9 +99,6 @@ //! ```toml //! [dependencies] //! google-dialogflow2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dialogflow2_beta1-cli/Cargo.toml b/gen/dialogflow2_beta1-cli/Cargo.toml index 6db25460b5..cdf07e7940 100644 --- a/gen/dialogflow2_beta1-cli/Cargo.toml +++ b/gen/dialogflow2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow2_beta1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dialogflow2_beta1] path = "../dialogflow2_beta1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/dialogflow2_beta1-cli/README.md b/gen/dialogflow2_beta1-cli/README.md index 33e430e43b..cbfa38c434 100644 --- a/gen/dialogflow2_beta1-cli/README.md +++ b/gen/dialogflow2_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash dialogflow2-beta1 [options] diff --git a/gen/dialogflow2_beta1-cli/mkdocs.yml b/gen/dialogflow2_beta1-cli/mkdocs.yml index 2474d072cc..2e69fb0a5a 100644 --- a/gen/dialogflow2_beta1-cli/mkdocs.yml +++ b/gen/dialogflow2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v2.0.4+20210329 +site_name: Dialogflow v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-dialogflow2_beta1-cli site_description: A complete library to interact with Dialogflow (protocol v2beta1) diff --git a/gen/dialogflow2_beta1-cli/src/main.rs b/gen/dialogflow2_beta1-cli/src/main.rs index cb17c42b07..8213f2d557 100644 --- a/gen/dialogflow2_beta1-cli/src/main.rs +++ b/gen/dialogflow2_beta1-cli/src/main.rs @@ -19893,7 +19893,7 @@ async fn main() { let mut app = App::new("dialogflow2-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dialogflow2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/dialogflow2_beta1/Cargo.toml b/gen/dialogflow2_beta1/Cargo.toml index 2f85e38dee..32f7efc909 100644 --- a/gen/dialogflow2_beta1/Cargo.toml +++ b/gen/dialogflow2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2_beta1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2_beta1" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329" +documentation = "https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dialogflow2_beta1/README.md b/gen/dialogflow2_beta1/README.md index 9710bead8d..573617c65c 100644 --- a/gen/dialogflow2_beta1/README.md +++ b/gen/dialogflow2_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dialogflow2_beta1` library allows access to all features of the *Google Dialogflow* service. -This documentation was generated from *Dialogflow* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dialogflow* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dialogflow* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/dialogflow/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/Dialogflow) ... * projects - * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypePatchCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentListCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAgentUpdateFulfillmentCall), [*answer records get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordGetCall), [*answer records list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordPatchCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationProfilePatchCall), [*conversations complete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationListCall), [*conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationMessageBatchCreateCall), [*conversations messages list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions compile*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionCompileCall), [*conversations participants suggestions list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionListCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations answer records get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordGetCall), [*locations answer records list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfilePatchCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationListCall), [*locations conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationMessageBatchCreateCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationDeleteAgentCall), [*locations get agent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBasePatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/api::ProjectSetAgentCall) + * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEntityTypePatchCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentListCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAgentUpdateFulfillmentCall), [*answer records get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordGetCall), [*answer records list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectAnswerRecordPatchCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationProfilePatchCall), [*conversations complete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationListCall), [*conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationMessageBatchCreateCall), [*conversations messages list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions compile*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionCompileCall), [*conversations participants suggestions list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionListCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations answer records get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordGetCall), [*locations answer records list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationProfilePatchCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationListCall), [*locations conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationMessageBatchCreateCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationDeleteAgentCall), [*locations get agent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBasePatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/api::ProjectSetAgentCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/Dialogflow)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,9 +101,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dialogflow2_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -170,17 +167,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Delegate), 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-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -190,29 +187,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::CallBuilder) 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-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::Part) 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-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::CallBuilder), 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-dialogflow2_beta1/2.0.4+20210329/google_dialogflow2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow2_beta1/2.0.5+20210329/google_dialogflow2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dialogflow2_beta1/src/api.rs b/gen/dialogflow2_beta1/src/api.rs index 15c826e6dd..c9b8bf68b0 100644 --- a/gen/dialogflow2_beta1/src/api.rs +++ b/gen/dialogflow2_beta1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > Dialogflow<> { Dialogflow { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Dialogflow<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dialogflow2_beta1/src/client.rs b/gen/dialogflow2_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dialogflow2_beta1/src/client.rs +++ b/gen/dialogflow2_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dialogflow2_beta1/src/lib.rs b/gen/dialogflow2_beta1/src/lib.rs index 9a45ca83d7..4bf94a6f63 100644 --- a/gen/dialogflow2_beta1/src/lib.rs +++ b/gen/dialogflow2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dialogflow* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dialogflow* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dialogflow* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -101,9 +101,6 @@ //! ```toml //! [dependencies] //! google-dialogflow2_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dialogflow3-cli/Cargo.toml b/gen/dialogflow3-cli/Cargo.toml index 1433f0ab9a..a5ae46a9d7 100644 --- a/gen/dialogflow3-cli/Cargo.toml +++ b/gen/dialogflow3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow3-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dialogflow3] path = "../dialogflow3" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/dialogflow3-cli/README.md b/gen/dialogflow3-cli/README.md index 9ab25c4be4..6538efc6b8 100644 --- a/gen/dialogflow3-cli/README.md +++ b/gen/dialogflow3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dialogflow* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash dialogflow3 [options] diff --git a/gen/dialogflow3-cli/mkdocs.yml b/gen/dialogflow3-cli/mkdocs.yml index 3aac19c481..e19d8e96e2 100644 --- a/gen/dialogflow3-cli/mkdocs.yml +++ b/gen/dialogflow3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v2.0.4+20210329 +site_name: Dialogflow v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-dialogflow3-cli site_description: A complete library to interact with Dialogflow (protocol v3) diff --git a/gen/dialogflow3-cli/src/main.rs b/gen/dialogflow3-cli/src/main.rs index ea2f67b56b..e5d9f4d292 100644 --- a/gen/dialogflow3-cli/src/main.rs +++ b/gen/dialogflow3-cli/src/main.rs @@ -10291,7 +10291,7 @@ async fn main() { let mut app = App::new("dialogflow3") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dialogflow3_cli") .arg(Arg::with_name("url") diff --git a/gen/dialogflow3/Cargo.toml b/gen/dialogflow3/Cargo.toml index 297a0d4dc4..161c85020d 100644 --- a/gen/dialogflow3/Cargo.toml +++ b/gen/dialogflow3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow3" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow3" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow3/2.0.4+20210329" +documentation = "https://docs.rs/google-dialogflow3/2.0.5+20210329" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dialogflow3/README.md b/gen/dialogflow3/README.md index 9f7d987491..ae81aba009 100644 --- a/gen/dialogflow3/README.md +++ b/gen/dialogflow3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dialogflow3` library allows access to all features of the *Google Dialogflow* service. -This documentation was generated from *Dialogflow* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dialogflow* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dialogflow* *v3* API can be found at the [official documentation site](https://cloud.google.com/dialogflow/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/Dialogflow) ... * projects - * [*locations agents create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentCreateCall), [*locations agents delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentDeleteCall), [*locations agents entity types create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agents entity types delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agents entity types get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeGetCall), [*locations agents entity types list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeListCall), [*locations agents entity types patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypePatchCall), [*locations agents environments create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agents environments delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agents environments experiments create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentCreateCall), [*locations agents environments experiments delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentDeleteCall), [*locations agents environments experiments get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentGetCall), [*locations agents environments experiments list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentListCall), [*locations agents environments experiments patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentPatchCall), [*locations agents environments experiments start*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStartCall), [*locations agents environments experiments stop*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStopCall), [*locations agents environments get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentGetCall), [*locations agents environments list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentListCall), [*locations agents environments lookup environment history*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall), [*locations agents environments patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agents environments sessions detect intent*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionDetectIntentCall), [*locations agents environments sessions entity types create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall), [*locations agents environments sessions entity types delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall), [*locations agents environments sessions entity types get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeGetCall), [*locations agents environments sessions entity types list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeListCall), [*locations agents environments sessions entity types patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypePatchCall), [*locations agents environments sessions fulfill intent*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionFulfillIntentCall), [*locations agents environments sessions match intent*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionMatchIntentCall), [*locations agents export*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentExportCall), [*locations agents flows create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowCreateCall), [*locations agents flows delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowDeleteCall), [*locations agents flows get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowGetCall), [*locations agents flows get validation result*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowGetValidationResultCall), [*locations agents flows list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowListCall), [*locations agents flows pages create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageCreateCall), [*locations agents flows pages delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageDeleteCall), [*locations agents flows pages get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageGetCall), [*locations agents flows pages list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageListCall), [*locations agents flows pages patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPagePatchCall), [*locations agents flows patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPatchCall), [*locations agents flows train*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTrainCall), [*locations agents flows transition route groups create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupCreateCall), [*locations agents flows transition route groups delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupDeleteCall), [*locations agents flows transition route groups get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupGetCall), [*locations agents flows transition route groups list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupListCall), [*locations agents flows transition route groups patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupPatchCall), [*locations agents flows validate*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowValidateCall), [*locations agents flows versions create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionCreateCall), [*locations agents flows versions delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionDeleteCall), [*locations agents flows versions get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionGetCall), [*locations agents flows versions list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionListCall), [*locations agents flows versions load*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionLoadCall), [*locations agents flows versions patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionPatchCall), [*locations agents get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentGetCall), [*locations agents get validation result*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentGetValidationResultCall), [*locations agents intents create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentIntentCreateCall), [*locations agents intents delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentIntentDeleteCall), [*locations agents intents get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentIntentGetCall), [*locations agents intents list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentIntentListCall), [*locations agents intents patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentIntentPatchCall), [*locations agents list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentListCall), [*locations agents patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentPatchCall), [*locations agents restore*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentRestoreCall), [*locations agents sessions detect intent*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agents sessions entity types create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agents sessions entity types delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agents sessions entity types get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agents sessions entity types list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agents sessions entity types patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agents sessions fulfill intent*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionFulfillIntentCall), [*locations agents sessions match intent*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentSessionMatchIntentCall), [*locations agents test cases batch delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchDeleteCall), [*locations agents test cases batch run*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchRunCall), [*locations agents test cases calculate coverage*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseCalculateCoverageCall), [*locations agents test cases create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseCreateCall), [*locations agents test cases export*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseExportCall), [*locations agents test cases get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseGetCall), [*locations agents test cases import*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseImportCall), [*locations agents test cases list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseListCall), [*locations agents test cases patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCasePatchCall), [*locations agents test cases results get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseResultGetCall), [*locations agents test cases results list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseResultListCall), [*locations agents test cases run*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseRunCall), [*locations agents validate*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentValidateCall), [*locations agents webhooks create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookCreateCall), [*locations agents webhooks delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookDeleteCall), [*locations agents webhooks get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookGetCall), [*locations agents webhooks list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookListCall), [*locations agents webhooks patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookPatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationOperationListCall), [*locations security settings create*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingCreateCall), [*locations security settings delete*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingDeleteCall), [*locations security settings get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingGetCall), [*locations security settings list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingListCall), [*locations security settings patch*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingPatchCall), [*operations cancel*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/api::ProjectOperationListCall) + * [*locations agents create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentCreateCall), [*locations agents delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentDeleteCall), [*locations agents entity types create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agents entity types delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agents entity types get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeGetCall), [*locations agents entity types list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypeListCall), [*locations agents entity types patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEntityTypePatchCall), [*locations agents environments create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agents environments delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agents environments experiments create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentCreateCall), [*locations agents environments experiments delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentDeleteCall), [*locations agents environments experiments get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentGetCall), [*locations agents environments experiments list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentListCall), [*locations agents environments experiments patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentPatchCall), [*locations agents environments experiments start*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStartCall), [*locations agents environments experiments stop*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStopCall), [*locations agents environments get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentGetCall), [*locations agents environments list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentListCall), [*locations agents environments lookup environment history*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall), [*locations agents environments patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agents environments sessions detect intent*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionDetectIntentCall), [*locations agents environments sessions entity types create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall), [*locations agents environments sessions entity types delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall), [*locations agents environments sessions entity types get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeGetCall), [*locations agents environments sessions entity types list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeListCall), [*locations agents environments sessions entity types patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypePatchCall), [*locations agents environments sessions fulfill intent*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionFulfillIntentCall), [*locations agents environments sessions match intent*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionMatchIntentCall), [*locations agents export*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentExportCall), [*locations agents flows create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowCreateCall), [*locations agents flows delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowDeleteCall), [*locations agents flows get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowGetCall), [*locations agents flows get validation result*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowGetValidationResultCall), [*locations agents flows list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowListCall), [*locations agents flows pages create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageCreateCall), [*locations agents flows pages delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageDeleteCall), [*locations agents flows pages get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageGetCall), [*locations agents flows pages list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPageListCall), [*locations agents flows pages patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPagePatchCall), [*locations agents flows patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowPatchCall), [*locations agents flows train*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTrainCall), [*locations agents flows transition route groups create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupCreateCall), [*locations agents flows transition route groups delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupDeleteCall), [*locations agents flows transition route groups get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupGetCall), [*locations agents flows transition route groups list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupListCall), [*locations agents flows transition route groups patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupPatchCall), [*locations agents flows validate*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowValidateCall), [*locations agents flows versions create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionCreateCall), [*locations agents flows versions delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionDeleteCall), [*locations agents flows versions get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionGetCall), [*locations agents flows versions list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionListCall), [*locations agents flows versions load*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionLoadCall), [*locations agents flows versions patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentFlowVersionPatchCall), [*locations agents get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentGetCall), [*locations agents get validation result*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentGetValidationResultCall), [*locations agents intents create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentIntentCreateCall), [*locations agents intents delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentIntentDeleteCall), [*locations agents intents get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentIntentGetCall), [*locations agents intents list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentIntentListCall), [*locations agents intents patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentIntentPatchCall), [*locations agents list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentListCall), [*locations agents patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentPatchCall), [*locations agents restore*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentRestoreCall), [*locations agents sessions detect intent*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agents sessions entity types create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agents sessions entity types delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agents sessions entity types get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agents sessions entity types list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agents sessions entity types patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agents sessions fulfill intent*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionFulfillIntentCall), [*locations agents sessions match intent*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentSessionMatchIntentCall), [*locations agents test cases batch delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchDeleteCall), [*locations agents test cases batch run*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchRunCall), [*locations agents test cases calculate coverage*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseCalculateCoverageCall), [*locations agents test cases create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseCreateCall), [*locations agents test cases export*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseExportCall), [*locations agents test cases get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseGetCall), [*locations agents test cases import*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseImportCall), [*locations agents test cases list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseListCall), [*locations agents test cases patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCasePatchCall), [*locations agents test cases results get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseResultGetCall), [*locations agents test cases results list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseResultListCall), [*locations agents test cases run*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentTestCaseRunCall), [*locations agents validate*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentValidateCall), [*locations agents webhooks create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookCreateCall), [*locations agents webhooks delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookDeleteCall), [*locations agents webhooks get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookGetCall), [*locations agents webhooks list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookListCall), [*locations agents webhooks patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationAgentWebhookPatchCall), [*locations operations cancel*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationOperationListCall), [*locations security settings create*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingCreateCall), [*locations security settings delete*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingDeleteCall), [*locations security settings get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingGetCall), [*locations security settings list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingListCall), [*locations security settings patch*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectLocationSecuritySettingPatchCall), [*operations cancel*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/api::ProjectOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/Dialogflow)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::CallBuilder) +* **[Resources](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -79,9 +79,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dialogflow3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Delegate), 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-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Delegate) to the +[Method Builder](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::CallBuilder) 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-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Delegate) 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 [encodable](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::RequestValue) and +[decodable](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow3/2.0.4+20210329/google_dialogflow3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::Part) 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-dialogflow3/2.0.4+20210329/google_dialogflow3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::CallBuilder), 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-dialogflow3/2.0.4+20210329/google_dialogflow3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow3/2.0.5+20210329/google_dialogflow3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dialogflow3/src/api.rs b/gen/dialogflow3/src/api.rs index bfb061cadd..b809b49d77 100644 --- a/gen/dialogflow3/src/api.rs +++ b/gen/dialogflow3/src/api.rs @@ -119,7 +119,7 @@ impl<'a, > Dialogflow<> { Dialogflow { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Dialogflow<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dialogflow3/src/client.rs b/gen/dialogflow3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dialogflow3/src/client.rs +++ b/gen/dialogflow3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dialogflow3/src/lib.rs b/gen/dialogflow3/src/lib.rs index a6bb1c918a..c866291db6 100644 --- a/gen/dialogflow3/src/lib.rs +++ b/gen/dialogflow3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dialogflow* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dialogflow* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dialogflow* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -79,9 +79,6 @@ //! ```toml //! [dependencies] //! google-dialogflow3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/digitalassetlinks1-cli/Cargo.toml b/gen/digitalassetlinks1-cli/Cargo.toml index dafc1575a8..65735c2c04 100644 --- a/gen/digitalassetlinks1-cli/Cargo.toml +++ b/gen/digitalassetlinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-digitalassetlinks1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with digitalassetlinks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/digitalassetlinks1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-digitalassetlinks1] path = "../digitalassetlinks1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/digitalassetlinks1-cli/README.md b/gen/digitalassetlinks1-cli/README.md index 60e13307e7..e837d67fc8 100644 --- a/gen/digitalassetlinks1-cli/README.md +++ b/gen/digitalassetlinks1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *digitalassetlinks* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *digitalassetlinks* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash digitalassetlinks1 [options] diff --git a/gen/digitalassetlinks1-cli/mkdocs.yml b/gen/digitalassetlinks1-cli/mkdocs.yml index 8cbc345a83..52853dc286 100644 --- a/gen/digitalassetlinks1-cli/mkdocs.yml +++ b/gen/digitalassetlinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: digitalassetlinks v2.0.4+20210322 +site_name: digitalassetlinks v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-digitalassetlinks1-cli site_description: A complete library to interact with digitalassetlinks (protocol v1) diff --git a/gen/digitalassetlinks1-cli/src/main.rs b/gen/digitalassetlinks1-cli/src/main.rs index 332bf165b3..985b449e0d 100644 --- a/gen/digitalassetlinks1-cli/src/main.rs +++ b/gen/digitalassetlinks1-cli/src/main.rs @@ -314,7 +314,7 @@ async fn main() { let mut app = App::new("digitalassetlinks1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Discovers relationships between online assets such as websites or mobile apps.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_digitalassetlinks1_cli") .arg(Arg::with_name("folder") diff --git a/gen/digitalassetlinks1/Cargo.toml b/gen/digitalassetlinks1/Cargo.toml index 1a3fb1bb70..f54d370574 100644 --- a/gen/digitalassetlinks1/Cargo.toml +++ b/gen/digitalassetlinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-digitalassetlinks1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with digitalassetlinks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/digitalassetlinks1" homepage = "https://developers.google.com/digital-asset-links/" -documentation = "https://docs.rs/google-digitalassetlinks1/2.0.4+20210322" +documentation = "https://docs.rs/google-digitalassetlinks1/2.0.5+20210322" license = "MIT" keywords = ["digitalassetlinks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/digitalassetlinks1/README.md b/gen/digitalassetlinks1/README.md index dd83108725..101cf71b6c 100644 --- a/gen/digitalassetlinks1/README.md +++ b/gen/digitalassetlinks1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-digitalassetlinks1` library allows access to all features of the *Google digitalassetlinks* service. -This documentation was generated from *digitalassetlinks* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *digitalassetlinks* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *digitalassetlinks* *v1* API can be found at the [official documentation site](https://developers.google.com/digital-asset-links/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/Digitalassetlinks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/Digitalassetlinks) ... * assetlinks - * [*check*](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/api::AssetlinkCheckCall) -* [statements](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/api::Statement) - * [*list*](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/api::StatementListCall) + * [*check*](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/api::AssetlinkCheckCall) +* [statements](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/api::Statement) + * [*list*](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/api::StatementListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/Digitalassetlinks)** +* **[Hub](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/Digitalassetlinks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Part)** + * **[Parts](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-digitalassetlinks1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Delegate), 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-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::CallBuilder) 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-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Delegate) 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 [encodable](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::RequestValue) and -[decodable](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::RequestValue) and +[decodable](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::Part) 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-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::CallBuilder), 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-digitalassetlinks1/2.0.4+20210322/google_digitalassetlinks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-digitalassetlinks1/2.0.5+20210322/google_digitalassetlinks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/digitalassetlinks1/src/api.rs b/gen/digitalassetlinks1/src/api.rs index f9c92c491c..de571c7aae 100644 --- a/gen/digitalassetlinks1/src/api.rs +++ b/gen/digitalassetlinks1/src/api.rs @@ -99,7 +99,7 @@ impl<'a, > Digitalassetlinks<> { Digitalassetlinks { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://digitalassetlinks.googleapis.com/".to_string(), _root_url: "https://digitalassetlinks.googleapis.com/".to_string(), } @@ -113,7 +113,7 @@ impl<'a, > Digitalassetlinks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/digitalassetlinks1/src/client.rs b/gen/digitalassetlinks1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/digitalassetlinks1/src/client.rs +++ b/gen/digitalassetlinks1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/digitalassetlinks1/src/lib.rs b/gen/digitalassetlinks1/src/lib.rs index 6ee19b721e..d1cd24a63b 100644 --- a/gen/digitalassetlinks1/src/lib.rs +++ b/gen/digitalassetlinks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *digitalassetlinks* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *digitalassetlinks* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *digitalassetlinks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/digital-asset-links/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-digitalassetlinks1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/discovery1-cli/Cargo.toml b/gen/discovery1-cli/Cargo.toml index fc75d38a04..b9d9905096 100644 --- a/gen/discovery1-cli/Cargo.toml +++ b/gen/discovery1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-discovery1-cli" -version = "2.0.4+20200806" +version = "2.0.5+20200806" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/discovery1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-discovery1] path = "../discovery1" -version = "2.0.4+20200806" +version = "2.0.5+20200806" diff --git a/gen/discovery1-cli/README.md b/gen/discovery1-cli/README.md index 630811df89..6f7ef2b8f2 100644 --- a/gen/discovery1-cli/README.md +++ b/gen/discovery1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *discovery* API at revision *20200806*. The CLI is at version *2.0.4*. +This documentation was generated from the *discovery* API at revision *20200806*. The CLI is at version *2.0.5*. ```bash discovery1 [options] diff --git a/gen/discovery1-cli/mkdocs.yml b/gen/discovery1-cli/mkdocs.yml index dae5f84ca9..4d6cbf50e9 100644 --- a/gen/discovery1-cli/mkdocs.yml +++ b/gen/discovery1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: discovery v2.0.4+20200806 +site_name: discovery v2.0.5+20200806 site_url: http://byron.github.io/google-apis-rs/google-discovery1-cli site_description: A complete library to interact with discovery (protocol v1) diff --git a/gen/discovery1-cli/src/main.rs b/gen/discovery1-cli/src/main.rs index f4ccee9c25..6ce7784276 100644 --- a/gen/discovery1-cli/src/main.rs +++ b/gen/discovery1-cli/src/main.rs @@ -284,7 +284,7 @@ async fn main() { let mut app = App::new("discovery1") .author("Sebastian Thiel ") - .version("2.0.4+20200806") + .version("2.0.5+20200806") .about("Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_discovery1_cli") .arg(Arg::with_name("folder") diff --git a/gen/discovery1/Cargo.toml b/gen/discovery1/Cargo.toml index dc76b24348..0878a54951 100644 --- a/gen/discovery1/Cargo.toml +++ b/gen/discovery1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-discovery1" -version = "2.0.4+20200806" +version = "2.0.5+20200806" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/discovery1" homepage = "https://developers.google.com/discovery/" -documentation = "https://docs.rs/google-discovery1/2.0.4+20200806" +documentation = "https://docs.rs/google-discovery1/2.0.5+20200806" license = "MIT" keywords = ["discovery", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/discovery1/README.md b/gen/discovery1/README.md index b7b082bd32..dea0a4ac23 100644 --- a/gen/discovery1/README.md +++ b/gen/discovery1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-discovery1` library allows access to all features of the *Google discovery* service. -This documentation was generated from *discovery* crate version *2.0.4+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *discovery* crate version *2.0.5+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *discovery* *v1* API can be found at the [official documentation site](https://developers.google.com/discovery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/Discovery) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/Discovery) ... * apis - * [*get rest*](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/api::ApiGetRestCall) and [*list*](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/api::ApiListCall) + * [*get rest*](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/api::ApiGetRestCall) and [*list*](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/api::ApiListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/Discovery)** +* **[Hub](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/Discovery)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::CallBuilder) -* **[Resources](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::CallBuilder) +* **[Resources](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Part)** + * **[Parts](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-discovery1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -126,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Delegate) to the -[Method Builder](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Delegate) to the +[Method Builder](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Delegate) 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 [encodable](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::RequestValue) and -[decodable](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::RequestValue) and +[decodable](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-discovery1/2.0.4+20200806/google_discovery1/client::RequestValue) are moved +* [request values](https://docs.rs/google-discovery1/2.0.5+20200806/google_discovery1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/discovery1/src/api.rs b/gen/discovery1/src/api.rs index 1fb7d25b81..f959b52f16 100644 --- a/gen/discovery1/src/api.rs +++ b/gen/discovery1/src/api.rs @@ -92,7 +92,7 @@ impl<'a, > Discovery<> { Discovery { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/discovery/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -103,7 +103,7 @@ impl<'a, > Discovery<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/discovery1/src/client.rs b/gen/discovery1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/discovery1/src/client.rs +++ b/gen/discovery1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/discovery1/src/lib.rs b/gen/discovery1/src/lib.rs index 5de6433330..e5fb14b1e2 100644 --- a/gen/discovery1/src/lib.rs +++ b/gen/discovery1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *discovery* crate version *2.0.4+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *discovery* crate version *2.0.5+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *discovery* *v1* API can be found at the //! [official documentation site](https://developers.google.com/discovery/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-discovery1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/displayvideo1-cli/Cargo.toml b/gen/displayvideo1-cli/Cargo.toml index 6644c7bcb5..58b6661da0 100644 --- a/gen/displayvideo1-cli/Cargo.toml +++ b/gen/displayvideo1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-displayvideo1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Display Video (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/displayvideo1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-displayvideo1] path = "../displayvideo1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/displayvideo1-cli/README.md b/gen/displayvideo1-cli/README.md index e92567b23a..7917240486 100644 --- a/gen/displayvideo1-cli/README.md +++ b/gen/displayvideo1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Display Video* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Display Video* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash displayvideo1 [options] diff --git a/gen/displayvideo1-cli/mkdocs.yml b/gen/displayvideo1-cli/mkdocs.yml index a59c7fcd92..84c8e110f0 100644 --- a/gen/displayvideo1-cli/mkdocs.yml +++ b/gen/displayvideo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Display Video v2.0.4+20210325 +site_name: Display Video v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-displayvideo1-cli site_description: A complete library to interact with Display Video (protocol v1) diff --git a/gen/displayvideo1-cli/src/main.rs b/gen/displayvideo1-cli/src/main.rs index 34615b6b6a..21d96f7de8 100644 --- a/gen/displayvideo1-cli/src/main.rs +++ b/gen/displayvideo1-cli/src/main.rs @@ -14200,7 +14200,7 @@ async fn main() { let mut app = App::new("displayvideo1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Display & Video 360 API allows users to manage and create campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_displayvideo1_cli") .arg(Arg::with_name("url") diff --git a/gen/displayvideo1/Cargo.toml b/gen/displayvideo1/Cargo.toml index 8833630e5a..8ae52e4786 100644 --- a/gen/displayvideo1/Cargo.toml +++ b/gen/displayvideo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-displayvideo1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Display Video (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/displayvideo1" homepage = "https://developers.google.com/display-video/" -documentation = "https://docs.rs/google-displayvideo1/2.0.4+20210325" +documentation = "https://docs.rs/google-displayvideo1/2.0.5+20210325" license = "MIT" keywords = ["displayvideo", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/displayvideo1/README.md b/gen/displayvideo1/README.md index 78362fd0b5..194fc6b2e1 100644 --- a/gen/displayvideo1/README.md +++ b/gen/displayvideo1/README.md @@ -5,51 +5,51 @@ DO NOT EDIT ! --> The `google-displayvideo1` library allows access to all features of the *Google Display Video* service. -This documentation was generated from *Display Video* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Display Video* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Display Video* *v1* API can be found at the [official documentation site](https://developers.google.com/display-video/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/DisplayVideo) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/DisplayVideo) ... -* [advertisers](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::Advertiser) - * [*assets upload*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall), [*audit*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserAuditCall), [*bulk edit advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall), [*bulk list advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserBulkListAdvertiserAssignedTargetingOptionCall), [*campaigns bulk list campaign assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall), [*campaigns create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignCreateCall), [*campaigns delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignDeleteCall), [*campaigns get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignGetCall), [*campaigns list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignListCall), [*campaigns patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignPatchCall), [*campaigns targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall), [*campaigns targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall), [*channels create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserChannelSiteReplaceCall), [*create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCreateCall), [*creatives create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCreativeCreateCall), [*creatives delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCreativeDeleteCall), [*creatives get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCreativeGetCall), [*creatives list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCreativeListCall), [*creatives patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserCreativePatchCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserGetCall), [*insertion orders bulk list insertion order assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall), [*insertion orders create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderCreateCall), [*insertion orders delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderDeleteCall), [*insertion orders get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderGetCall), [*insertion orders list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderListCall), [*insertion orders patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderPatchCall), [*insertion orders targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall), [*insertion orders targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall), [*line items bulk edit line item assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall), [*line items bulk list line item assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall), [*line items create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemCreateCall), [*line items delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemDeleteCall), [*line items generate default*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemGenerateDefaultCall), [*line items get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemGetCall), [*line items list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemListCall), [*line items patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemPatchCall), [*line items targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall), [*line items targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall), [*line items targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall), [*line items targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall), [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserListCall), [*location lists assigned locations bulk edit*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationBulkEditCall), [*location lists assigned locations create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationCreateCall), [*location lists assigned locations delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationDeleteCall), [*location lists assigned locations list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationListCall), [*location lists create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListCreateCall), [*location lists get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListGetCall), [*location lists list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListListCall), [*location lists patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserLocationListPatchCall), [*manual triggers activate*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserManualTriggerActivateCall), [*manual triggers create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserManualTriggerCreateCall), [*manual triggers deactivate*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserManualTriggerDeactivateCall), [*manual triggers get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserManualTriggerGetCall), [*manual triggers list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserManualTriggerListCall), [*manual triggers patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserManualTriggerPatchCall), [*negative keyword lists create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListCreateCall), [*negative keyword lists delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListDeleteCall), [*negative keyword lists get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListGetCall), [*negative keyword lists list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListListCall), [*negative keyword lists negative keywords bulk edit*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall), [*negative keyword lists negative keywords create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordCreateCall), [*negative keyword lists negative keywords delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordDeleteCall), [*negative keyword lists negative keywords list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordListCall), [*negative keyword lists negative keywords replace*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordReplaceCall), [*negative keyword lists patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListPatchCall), [*patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserPatchCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionListCall) -* [combined audiences](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CombinedAudience) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CombinedAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CombinedAudienceListCall) -* [custom bidding algorithms](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CustomBiddingAlgorithm) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CustomBiddingAlgorithmGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CustomBiddingAlgorithmListCall) -* [custom lists](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CustomList) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CustomListGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::CustomListListCall) -* [first and third party audiences](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::FirstAndThirdPartyAudience) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::FirstAndThirdPartyAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::FirstAndThirdPartyAudienceListCall) -* [floodlight groups](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::FloodlightGroup) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::FloodlightGroupGetCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::FloodlightGroupPatchCall) -* [google audiences](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::GoogleAudience) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::GoogleAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::GoogleAudienceListCall) -* [inventory source groups](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroup) - * [*assigned inventory sources bulk edit*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceBulkEditCall), [*assigned inventory sources create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceCreateCall), [*assigned inventory sources delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceDeleteCall), [*assigned inventory sources list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceListCall), [*create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupCreateCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupListCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGroupPatchCall) -* [inventory sources](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySource) - * [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::InventorySourceListCall) +* [advertisers](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::Advertiser) + * [*assets upload*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall), [*audit*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserAuditCall), [*bulk edit advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall), [*bulk list advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserBulkListAdvertiserAssignedTargetingOptionCall), [*campaigns bulk list campaign assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall), [*campaigns create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignCreateCall), [*campaigns delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignDeleteCall), [*campaigns get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignGetCall), [*campaigns list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignListCall), [*campaigns patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignPatchCall), [*campaigns targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall), [*campaigns targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall), [*channels create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserChannelSiteReplaceCall), [*create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCreateCall), [*creatives create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCreativeCreateCall), [*creatives delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCreativeDeleteCall), [*creatives get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCreativeGetCall), [*creatives list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCreativeListCall), [*creatives patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserCreativePatchCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserGetCall), [*insertion orders bulk list insertion order assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall), [*insertion orders create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderCreateCall), [*insertion orders delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderDeleteCall), [*insertion orders get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderGetCall), [*insertion orders list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderListCall), [*insertion orders patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderPatchCall), [*insertion orders targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall), [*insertion orders targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall), [*line items bulk edit line item assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall), [*line items bulk list line item assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall), [*line items create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemCreateCall), [*line items delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemDeleteCall), [*line items generate default*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemGenerateDefaultCall), [*line items get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemGetCall), [*line items list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemListCall), [*line items patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemPatchCall), [*line items targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall), [*line items targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall), [*line items targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall), [*line items targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall), [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserListCall), [*location lists assigned locations bulk edit*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationBulkEditCall), [*location lists assigned locations create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationCreateCall), [*location lists assigned locations delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationDeleteCall), [*location lists assigned locations list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListAssignedLocationListCall), [*location lists create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListCreateCall), [*location lists get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListGetCall), [*location lists list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListListCall), [*location lists patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserLocationListPatchCall), [*manual triggers activate*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserManualTriggerActivateCall), [*manual triggers create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserManualTriggerCreateCall), [*manual triggers deactivate*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserManualTriggerDeactivateCall), [*manual triggers get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserManualTriggerGetCall), [*manual triggers list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserManualTriggerListCall), [*manual triggers patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserManualTriggerPatchCall), [*negative keyword lists create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListCreateCall), [*negative keyword lists delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListDeleteCall), [*negative keyword lists get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListGetCall), [*negative keyword lists list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListListCall), [*negative keyword lists negative keywords bulk edit*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall), [*negative keyword lists negative keywords create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordCreateCall), [*negative keyword lists negative keywords delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordDeleteCall), [*negative keyword lists negative keywords list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordListCall), [*negative keyword lists negative keywords replace*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordReplaceCall), [*negative keyword lists patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserNegativeKeywordListPatchCall), [*patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserPatchCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionListCall) +* [combined audiences](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CombinedAudience) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CombinedAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CombinedAudienceListCall) +* [custom bidding algorithms](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CustomBiddingAlgorithm) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CustomBiddingAlgorithmGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CustomBiddingAlgorithmListCall) +* [custom lists](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CustomList) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CustomListGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::CustomListListCall) +* [first and third party audiences](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::FirstAndThirdPartyAudience) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::FirstAndThirdPartyAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::FirstAndThirdPartyAudienceListCall) +* [floodlight groups](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::FloodlightGroup) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::FloodlightGroupGetCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::FloodlightGroupPatchCall) +* [google audiences](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::GoogleAudience) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::GoogleAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::GoogleAudienceListCall) +* [inventory source groups](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroup) + * [*assigned inventory sources bulk edit*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceBulkEditCall), [*assigned inventory sources create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceCreateCall), [*assigned inventory sources delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceDeleteCall), [*assigned inventory sources list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceListCall), [*create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupCreateCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupListCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGroupPatchCall) +* [inventory sources](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySource) + * [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceGetCall) and [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::InventorySourceListCall) * media - * [*download*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::MediaDownloadCall) -* [partners](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::Partner) - * [*bulk edit partner assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerBulkEditPartnerAssignedTargetingOptionCall), [*channels create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerChannelSiteReplaceCall), [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerListCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionListCall) + * [*download*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::MediaDownloadCall) +* [partners](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::Partner) + * [*bulk edit partner assigned targeting options*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerBulkEditPartnerAssignedTargetingOptionCall), [*channels create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerChannelSiteReplaceCall), [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerListCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionListCall) * sdfdownloadtasks - * [*create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::SdfdownloadtaskCreateCall) and [*operations get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::SdfdownloadtaskOperationGetCall) + * [*create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::SdfdownloadtaskCreateCall) and [*operations get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::SdfdownloadtaskOperationGetCall) * targeting types - * [*targeting options get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionGetCall), [*targeting options list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionListCall) and [*targeting options search*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionSearchCall) -* [users](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::User) - * [*bulk edit assigned user roles*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::UserBulkEditAssignedUserRoleCall), [*create*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::UserCreateCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::UserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::UserGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::UserListCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::UserPatchCall) + * [*targeting options get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionGetCall), [*targeting options list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionListCall) and [*targeting options search*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::TargetingTypeTargetingOptionSearchCall) +* [users](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::User) + * [*bulk edit assigned user roles*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::UserBulkEditAssignedUserRoleCall), [*create*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::UserCreateCall), [*delete*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::UserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::UserGetCall), [*list*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::UserListCall) and [*patch*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::UserPatchCall) Upload supported by ... -* [*assets upload advertisers*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall) +* [*assets upload advertisers*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::AdvertiserAssetUploadCall) Download supported by ... -* [*download media*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/api::MediaDownloadCall) @@ -57,17 +57,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/DisplayVideo)** +* **[Hub](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/DisplayVideo)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::CallBuilder) -* **[Resources](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::CallBuilder) +* **[Resources](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Part)** + * **[Parts](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -176,9 +176,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-displayvideo1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -242,17 +239,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Delegate), 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-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::ResponseResult), 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")`. @@ -262,29 +259,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Delegate) to the -[Method Builder](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Delegate) to the +[Method Builder](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::CallBuilder) 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-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Delegate) 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 [encodable](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::RequestValue) and -[decodable](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::RequestValue) and +[decodable](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-displayvideo1/2.0.4+20210325/google_displayvideo1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::Part) 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-displayvideo1/2.0.4+20210325/google_displayvideo1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::CallBuilder), 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-displayvideo1/2.0.4+20210325/google_displayvideo1/client::RequestValue) are moved +* [request values](https://docs.rs/google-displayvideo1/2.0.5+20210325/google_displayvideo1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/displayvideo1/src/api.rs b/gen/displayvideo1/src/api.rs index f651ae6a7d..d7525e6b78 100644 --- a/gen/displayvideo1/src/api.rs +++ b/gen/displayvideo1/src/api.rs @@ -130,7 +130,7 @@ impl<'a, > DisplayVideo<> { DisplayVideo { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://displayvideo.googleapis.com/".to_string(), _root_url: "https://displayvideo.googleapis.com/".to_string(), } @@ -180,7 +180,7 @@ impl<'a, > DisplayVideo<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/displayvideo1/src/client.rs b/gen/displayvideo1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/displayvideo1/src/client.rs +++ b/gen/displayvideo1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/displayvideo1/src/lib.rs b/gen/displayvideo1/src/lib.rs index 41a23100d8..70fca9dbb0 100644 --- a/gen/displayvideo1/src/lib.rs +++ b/gen/displayvideo1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Display Video* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Display Video* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Display Video* *v1* API can be found at the //! [official documentation site](https://developers.google.com/display-video/). @@ -176,9 +176,6 @@ //! ```toml //! [dependencies] //! google-displayvideo1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dlp2-cli/Cargo.toml b/gen/dlp2-cli/Cargo.toml index 4e911057bd..107aeb5191 100644 --- a/gen/dlp2-cli/Cargo.toml +++ b/gen/dlp2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dlp2-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dlp2] path = "../dlp2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/dlp2-cli/README.md b/gen/dlp2-cli/README.md index 962ead4b51..5f6dca579b 100644 --- a/gen/dlp2-cli/README.md +++ b/gen/dlp2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *DLP* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *DLP* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash dlp2 [options] diff --git a/gen/dlp2-cli/mkdocs.yml b/gen/dlp2-cli/mkdocs.yml index ca90e01c5a..17680ee063 100644 --- a/gen/dlp2-cli/mkdocs.yml +++ b/gen/dlp2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v2.0.4+20210326 +site_name: DLP v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-dlp2-cli site_description: A complete library to interact with DLP (protocol v2) diff --git a/gen/dlp2-cli/src/main.rs b/gen/dlp2-cli/src/main.rs index 69dba97e49..0e43d85412 100644 --- a/gen/dlp2-cli/src/main.rs +++ b/gen/dlp2-cli/src/main.rs @@ -10711,7 +10711,7 @@ async fn main() { let mut app = App::new("dlp2") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dlp2_cli") .arg(Arg::with_name("url") diff --git a/gen/dlp2/Cargo.toml b/gen/dlp2/Cargo.toml index b4ce24c9a3..cd0565ff79 100644 --- a/gen/dlp2/Cargo.toml +++ b/gen/dlp2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2" homepage = "https://cloud.google.com/dlp/docs/" -documentation = "https://docs.rs/google-dlp2/2.0.4+20210326" +documentation = "https://docs.rs/google-dlp2/2.0.5+20210326" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dlp2/README.md b/gen/dlp2/README.md index b8ed951931..cb9226afcd 100644 --- a/gen/dlp2/README.md +++ b/gen/dlp2/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-dlp2` library allows access to all features of the *Google DLP* service. -This documentation was generated from *DLP* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *DLP* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *DLP* *v2* API can be found at the [official documentation site](https://cloud.google.com/dlp/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/DLP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/DLP) ... * info types - * [*list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::InfoTypeListCall) + * [*list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::InfoTypeListCall) * locations - * [*info types list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::LocationInfoTypeListCall) + * [*info types list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::LocationInfoTypeListCall) * organizations - * [*deidentify templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationDeidentifyTemplatePatchCall), [*inspect templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationInspectTemplatePatchCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplatePatchCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationDlpJobListCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationInspectTemplatePatchCall), [*locations job triggers create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationJobTriggerGetCall), [*locations job triggers list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::OrganizationStoredInfoTypePatchCall) + * [*deidentify templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationDeidentifyTemplatePatchCall), [*inspect templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationInspectTemplatePatchCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationDeidentifyTemplatePatchCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationDlpJobListCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationInspectTemplatePatchCall), [*locations job triggers create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationJobTriggerGetCall), [*locations job triggers list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::OrganizationStoredInfoTypePatchCall) * projects - * [*content deidentify*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectContentDeidentifyCall), [*content inspect*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectContentInspectCall), [*content reidentify*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectContentReidentifyCall), [*deidentify templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDeidentifyTemplatePatchCall), [*dlp jobs cancel*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDlpJobCancelCall), [*dlp jobs create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDlpJobCreateCall), [*dlp jobs delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDlpJobDeleteCall), [*dlp jobs get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDlpJobGetCall), [*dlp jobs list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectDlpJobListCall), [*image redact*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectImageRedactCall), [*inspect templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectInspectTemplatePatchCall), [*job triggers activate*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectJobTriggerActivateCall), [*job triggers create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectJobTriggerCreateCall), [*job triggers delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectJobTriggerDeleteCall), [*job triggers get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectJobTriggerGetCall), [*job triggers list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectJobTriggerListCall), [*job triggers patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectJobTriggerPatchCall), [*locations content deidentify*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationContentDeidentifyCall), [*locations content inspect*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationContentInspectCall), [*locations content reidentify*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationContentReidentifyCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplatePatchCall), [*locations dlp jobs cancel*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobCancelCall), [*locations dlp jobs create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobCreateCall), [*locations dlp jobs delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobDeleteCall), [*locations dlp jobs finish*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobFinishCall), [*locations dlp jobs get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobGetCall), [*locations dlp jobs hybrid inspect*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobHybridInspectCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationDlpJobListCall), [*locations image redact*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationImageRedactCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationInspectTemplatePatchCall), [*locations job triggers activate*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerActivateCall), [*locations job triggers create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerGetCall), [*locations job triggers hybrid inspect*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerHybridInspectCall), [*locations job triggers list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/api::ProjectStoredInfoTypePatchCall) + * [*content deidentify*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectContentDeidentifyCall), [*content inspect*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectContentInspectCall), [*content reidentify*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectContentReidentifyCall), [*deidentify templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDeidentifyTemplatePatchCall), [*dlp jobs cancel*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDlpJobCancelCall), [*dlp jobs create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDlpJobCreateCall), [*dlp jobs delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDlpJobDeleteCall), [*dlp jobs get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDlpJobGetCall), [*dlp jobs list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectDlpJobListCall), [*image redact*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectImageRedactCall), [*inspect templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectInspectTemplatePatchCall), [*job triggers activate*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectJobTriggerActivateCall), [*job triggers create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectJobTriggerCreateCall), [*job triggers delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectJobTriggerDeleteCall), [*job triggers get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectJobTriggerGetCall), [*job triggers list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectJobTriggerListCall), [*job triggers patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectJobTriggerPatchCall), [*locations content deidentify*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationContentDeidentifyCall), [*locations content inspect*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationContentInspectCall), [*locations content reidentify*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationContentReidentifyCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDeidentifyTemplatePatchCall), [*locations dlp jobs cancel*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobCancelCall), [*locations dlp jobs create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobCreateCall), [*locations dlp jobs delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobDeleteCall), [*locations dlp jobs finish*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobFinishCall), [*locations dlp jobs get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobGetCall), [*locations dlp jobs hybrid inspect*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobHybridInspectCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationDlpJobListCall), [*locations image redact*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationImageRedactCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationInspectTemplatePatchCall), [*locations job triggers activate*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerActivateCall), [*locations job triggers create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerGetCall), [*locations job triggers hybrid inspect*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerHybridInspectCall), [*locations job triggers list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/api::ProjectStoredInfoTypePatchCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/DLP)** +* **[Hub](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/DLP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Part)** + * **[Parts](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -89,9 +89,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dlp2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -157,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Delegate), 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-dlp2/2.0.4+20210326/google_dlp2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -177,29 +174,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::CallBuilder) 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-dlp2/2.0.4+20210326/google_dlp2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Delegate) 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 [encodable](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::RequestValue) and -[decodable](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::RequestValue) and +[decodable](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dlp2/2.0.4+20210326/google_dlp2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::Part) 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-dlp2/2.0.4+20210326/google_dlp2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::CallBuilder), 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-dlp2/2.0.4+20210326/google_dlp2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dlp2/2.0.5+20210326/google_dlp2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dlp2/src/api.rs b/gen/dlp2/src/api.rs index fb8bfef3e1..dc965071a3 100644 --- a/gen/dlp2/src/api.rs +++ b/gen/dlp2/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > DLP<> { DLP { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dlp.googleapis.com/".to_string(), _root_url: "https://dlp.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > DLP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dlp2/src/client.rs b/gen/dlp2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dlp2/src/client.rs +++ b/gen/dlp2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dlp2/src/lib.rs b/gen/dlp2/src/lib.rs index 7f96ae030f..57a50e7952 100644 --- a/gen/dlp2/src/lib.rs +++ b/gen/dlp2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DLP* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *DLP* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *DLP* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). @@ -89,9 +89,6 @@ //! ```toml //! [dependencies] //! google-dlp2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dlp2_beta1-cli/Cargo.toml b/gen/dlp2_beta1-cli/Cargo.toml index bbca4965bd..47386f9e9e 100644 --- a/gen/dlp2_beta1-cli/Cargo.toml +++ b/gen/dlp2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dlp2_beta1-cli" -version = "2.0.4+20171205" +version = "2.0.5+20171205" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dlp2_beta1] path = "../dlp2_beta1" -version = "2.0.4+20171205" +version = "2.0.5+20171205" diff --git a/gen/dlp2_beta1-cli/README.md b/gen/dlp2_beta1-cli/README.md index b035f28d42..5c97a58ac6 100644 --- a/gen/dlp2_beta1-cli/README.md +++ b/gen/dlp2_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *DLP* API at revision *20171205*. The CLI is at version *2.0.4*. +This documentation was generated from the *DLP* API at revision *20171205*. The CLI is at version *2.0.5*. ```bash dlp2-beta1 [options] diff --git a/gen/dlp2_beta1-cli/mkdocs.yml b/gen/dlp2_beta1-cli/mkdocs.yml index 28e87c9ada..d1d0d5f1fc 100644 --- a/gen/dlp2_beta1-cli/mkdocs.yml +++ b/gen/dlp2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v2.0.4+20171205 +site_name: DLP v2.0.5+20171205 site_url: http://byron.github.io/google-apis-rs/google-dlp2_beta1-cli site_description: A complete library to interact with DLP (protocol v2beta1) diff --git a/gen/dlp2_beta1-cli/src/main.rs b/gen/dlp2_beta1-cli/src/main.rs index 4ddf900a47..d394e70846 100644 --- a/gen/dlp2_beta1-cli/src/main.rs +++ b/gen/dlp2_beta1-cli/src/main.rs @@ -1724,7 +1724,7 @@ async fn main() { let mut app = App::new("dlp2-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20171205") + .version("2.0.5+20171205") .about("The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dlp2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/dlp2_beta1/Cargo.toml b/gen/dlp2_beta1/Cargo.toml index d5d80af3b9..deb1e71db1 100644 --- a/gen/dlp2_beta1/Cargo.toml +++ b/gen/dlp2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2_beta1" -version = "2.0.4+20171205" +version = "2.0.5+20171205" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2_beta1" homepage = "https://cloud.google.com/dlp/docs/" -documentation = "https://docs.rs/google-dlp2_beta1/2.0.4+20171205" +documentation = "https://docs.rs/google-dlp2_beta1/2.0.5+20171205" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dlp2_beta1/README.md b/gen/dlp2_beta1/README.md index cc0d6dd86f..771c797d8f 100644 --- a/gen/dlp2_beta1/README.md +++ b/gen/dlp2_beta1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-dlp2_beta1` library allows access to all features of the *Google DLP* service. -This documentation was generated from *DLP* crate version *2.0.4+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *DLP* crate version *2.0.5+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *DLP* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/dlp/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/DLP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/DLP) ... * content - * [*deidentify*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::ContentDeidentifyCall), [*inspect*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::ContentInspectCall) and [*redact*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::ContentRedactCall) + * [*deidentify*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::ContentDeidentifyCall), [*inspect*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::ContentInspectCall) and [*redact*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::ContentRedactCall) * data source - * [*analyze*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::DataSourceAnalyzeCall) + * [*analyze*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::DataSourceAnalyzeCall) * inspect - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::InspectOperationCancelCall), [*operations create*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::InspectOperationCreateCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::InspectOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::InspectOperationGetCall), [*operations list*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::InspectOperationListCall) and [*results findings list*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::InspectResultFindingListCall) + * [*operations cancel*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::InspectOperationCancelCall), [*operations create*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::InspectOperationCreateCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::InspectOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::InspectOperationGetCall), [*operations list*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::InspectOperationListCall) and [*results findings list*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::InspectResultFindingListCall) * risk analysis - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::RiskAnalysiOperationCancelCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::RiskAnalysiOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::RiskAnalysiOperationGetCall) and [*operations list*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::RiskAnalysiOperationListCall) + * [*operations cancel*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::RiskAnalysiOperationCancelCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::RiskAnalysiOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::RiskAnalysiOperationGetCall) and [*operations list*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::RiskAnalysiOperationListCall) * root categories - * [*info types list*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::RootCategoryInfoTypeListCall) and [*list*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/api::RootCategoryListCall) + * [*info types list*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::RootCategoryInfoTypeListCall) and [*list*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/api::RootCategoryListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/DLP)** +* **[Hub](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/DLP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dlp2_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Delegate), 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-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::CallBuilder) 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-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::Part) 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-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::CallBuilder), 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-dlp2_beta1/2.0.4+20171205/google_dlp2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dlp2_beta1/2.0.5+20171205/google_dlp2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dlp2_beta1/src/api.rs b/gen/dlp2_beta1/src/api.rs index fe76d82658..64e375c698 100644 --- a/gen/dlp2_beta1/src/api.rs +++ b/gen/dlp2_beta1/src/api.rs @@ -114,7 +114,7 @@ impl<'a, > DLP<> { DLP { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dlp.googleapis.com/".to_string(), _root_url: "https://dlp.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > DLP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dlp2_beta1/src/client.rs b/gen/dlp2_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dlp2_beta1/src/client.rs +++ b/gen/dlp2_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dlp2_beta1/src/lib.rs b/gen/dlp2_beta1/src/lib.rs index 4ecc053dd0..8729f46a35 100644 --- a/gen/dlp2_beta1/src/lib.rs +++ b/gen/dlp2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DLP* crate version *2.0.4+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *DLP* crate version *2.0.5+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *DLP* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-dlp2_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/dns1-cli/Cargo.toml b/gen/dns1-cli/Cargo.toml index 5c1204adbb..b3785c7182 100644 --- a/gen/dns1-cli/Cargo.toml +++ b/gen/dns1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dns1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dns1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dns1] path = "../dns1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/dns1-cli/README.md b/gen/dns1-cli/README.md index e5b487e98f..f07517c1ec 100644 --- a/gen/dns1-cli/README.md +++ b/gen/dns1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dns* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dns* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash dns1 [options] diff --git a/gen/dns1-cli/mkdocs.yml b/gen/dns1-cli/mkdocs.yml index 1401eb89f1..be99f6c848 100644 --- a/gen/dns1-cli/mkdocs.yml +++ b/gen/dns1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dns v2.0.4+20210319 +site_name: Dns v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-dns1-cli site_description: A complete library to interact with Dns (protocol v1) diff --git a/gen/dns1-cli/src/main.rs b/gen/dns1-cli/src/main.rs index d09671a145..58ff4a16e6 100644 --- a/gen/dns1-cli/src/main.rs +++ b/gen/dns1-cli/src/main.rs @@ -2863,7 +2863,7 @@ async fn main() { let mut app = App::new("dns1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dns1_cli") .arg(Arg::with_name("url") diff --git a/gen/dns1/Cargo.toml b/gen/dns1/Cargo.toml index 806d5e506f..9df75bce3b 100644 --- a/gen/dns1/Cargo.toml +++ b/gen/dns1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dns1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dns1" homepage = "https://cloud.google.com/dns/docs" -documentation = "https://docs.rs/google-dns1/2.0.4+20210319" +documentation = "https://docs.rs/google-dns1/2.0.5+20210319" license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/dns1/README.md b/gen/dns1/README.md index e3d339ab54..769415eb5a 100644 --- a/gen/dns1/README.md +++ b/gen/dns1/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-dns1` library allows access to all features of the *Google Dns* service. -This documentation was generated from *Dns* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dns* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dns* *v1* API can be found at the [official documentation site](https://cloud.google.com/dns/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/Dns) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/Dns) ... -* [changes](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::Change) - * [*create*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ChangeListCall) -* [dns keys](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::DnsKey) - * [*get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::DnsKeyListCall) +* [changes](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::Change) + * [*create*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ChangeListCall) +* [dns keys](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::DnsKey) + * [*get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::DnsKeyListCall) * managed zone operations - * [*get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneOperationListCall) -* [managed zones](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZone) - * [*create*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ManagedZoneUpdateCall) -* [policies](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::Policy) - * [*create*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::PolicyGetCall), [*list*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::PolicyListCall), [*patch*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::PolicyUpdateCall) -* [projects](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::Project) - * [*get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ProjectGetCall), [*managed zones rrsets create*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ProjectManagedZoneRrsetCreateCall), [*managed zones rrsets delete*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ProjectManagedZoneRrsetDeleteCall), [*managed zones rrsets get*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ProjectManagedZoneRrsetGetCall) and [*managed zones rrsets patch*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ProjectManagedZoneRrsetPatchCall) -* [resource record sets](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ResourceRecordSet) - * [*list*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/api::ResourceRecordSetListCall) + * [*get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneOperationListCall) +* [managed zones](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZone) + * [*create*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ManagedZoneUpdateCall) +* [policies](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::Policy) + * [*create*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::PolicyGetCall), [*list*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::PolicyListCall), [*patch*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::PolicyUpdateCall) +* [projects](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::Project) + * [*get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ProjectGetCall), [*managed zones rrsets create*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ProjectManagedZoneRrsetCreateCall), [*managed zones rrsets delete*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ProjectManagedZoneRrsetDeleteCall), [*managed zones rrsets get*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ProjectManagedZoneRrsetGetCall) and [*managed zones rrsets patch*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ProjectManagedZoneRrsetPatchCall) +* [resource record sets](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ResourceRecordSet) + * [*list*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/api::ResourceRecordSetListCall) @@ -35,17 +35,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/Dns)** +* **[Hub](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/Dns)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Part)** + * **[Parts](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -81,9 +81,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-dns1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -146,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -166,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Delegate) 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 [encodable](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::RequestValue) and -[decodable](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::RequestValue) and +[decodable](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dns1/2.0.4+20210319/google_dns1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dns1/2.0.5+20210319/google_dns1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dns1/src/api.rs b/gen/dns1/src/api.rs index 12d7f58579..b315042689 100644 --- a/gen/dns1/src/api.rs +++ b/gen/dns1/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > Dns<> { Dns { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://dns.googleapis.com/".to_string(), _root_url: "https://dns.googleapis.com/".to_string(), } @@ -158,7 +158,7 @@ impl<'a, > Dns<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dns1/src/client.rs b/gen/dns1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/dns1/src/client.rs +++ b/gen/dns1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/dns1/src/lib.rs b/gen/dns1/src/lib.rs index cb41cabea8..d8ac64c2ab 100644 --- a/gen/dns1/src/lib.rs +++ b/gen/dns1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dns* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dns* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dns* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dns/docs). @@ -81,9 +81,6 @@ //! ```toml //! [dependencies] //! google-dns1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/docs1-cli/Cargo.toml b/gen/docs1-cli/Cargo.toml deleted file mode 100644 index f324c02803..0000000000 --- a/gen/docs1-cli/Cargo.toml +++ /dev/null @@ -1,40 +0,0 @@ -# DO NOT EDIT ! -# This file was generated automatically from 'src/mako/Cargo.toml.mako' -# DO NOT EDIT ! -[package] - -name = "google-docs1-cli" -version = "2.0.4+20210323" -authors = ["Sebastian Thiel "] -description = "A complete library to interact with Docs (protocol v1)" -repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/docs1-cli" -homepage = "https://developers.google.com/docs/" -documentation = "http://byron.github.io/google-apis-rs/google_docs1_cli" -license = "MIT" -keywords = ["docs", "google", "cli"] -autobins = false -edition = "2018" - -[[bin]] -name = "docs1" -path = "src/main.rs" - -[dependencies] -hyper-rustls = "^0.22" -mime = "^ 0.2.0" -serde = "^ 1.0" -serde_json = "^ 1.0" -serde_derive = "^ 1.0" -yup-oauth2 = "^ 5.0" -itertools = "^ 0.10" -strsim = "^0.5" -clap = "^2.0" -hyper = { version = "0.14", features = ["full"] } -tokio = { version = "^ 1.0", features = ["full"] } - - - - -[dependencies.google-docs1] -path = "../docs1" -version = "2.0.4+20210323" diff --git a/gen/docs1-cli/LICENSE.md b/gen/docs1-cli/LICENSE.md deleted file mode 100644 index d2306e20eb..0000000000 --- a/gen/docs1-cli/LICENSE.md +++ /dev/null @@ -1,30 +0,0 @@ - -The MIT License (MIT) -===================== - -Copyright © `2015-2020` `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/docs1-cli/README.md b/gen/docs1-cli/README.md deleted file mode 100644 index 261134caa8..0000000000 --- a/gen/docs1-cli/README.md +++ /dev/null @@ -1,107 +0,0 @@ - -The `docs1` command-line interface *(CLI)* allows to use most features of the *Google Docs* 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 *Docs* API can be found at the -[official documentation site](https://developers.google.com/docs/). - -# Installation and Source Code - -Install the command-line interface with cargo using: - -```bash -cargo install google-docs1-cli -``` - -Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/docs1-cli). - -# Usage - -This documentation was generated from the *Docs* API at revision *20210323*. The CLI is at version *2.0.4*. - -```bash -docs1 [options] - documents - batch-update (-r )... [-p ]... [-o ] - create (-r )... [-p ]... [-o ] - get [-p ]... [-o ] - docs1 --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] - -``` - -# Configuration - -The program will store all persistent data in the `~/.google-service-cli` directory in *JSON* files prefixed with `docs1-`. 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/docs1-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/docs1-secret.json`, assuming that the required *docs* 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 errors using the `Debug` representation to standard error. - -You may consider redirecting standard error into a file for ease of use, e.g. `docs1 --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/docs1-cli/mkdocs.yml b/gen/docs1-cli/mkdocs.yml deleted file mode 100644 index 317100f7cb..0000000000 --- a/gen/docs1-cli/mkdocs.yml +++ /dev/null @@ -1,19 +0,0 @@ -site_name: Docs v2.0.4+20210323 -site_url: http://byron.github.io/google-apis-rs/google-docs1-cli -site_description: A complete library to interact with Docs (protocol v1) - -repo_url: https://github.com/Byron/google-apis-rs/tree/main/gen/docs1-cli - -docs_dir: docs -site_dir: build_html - -pages: -- ['index.md', 'Home'] -- ['documents_batch-update.md', 'Documents', 'Batch Update'] -- ['documents_create.md', 'Documents', 'Create'] -- ['documents_get.md', 'Documents', 'Get'] - -theme: readthedocs - -copyright: Copyright © 2015-2020, `Sebastian Thiel` - diff --git a/gen/docs1-cli/src/client.rs b/gen/docs1-cli/src/client.rs deleted file mode 100644 index 10f4a3b8c9..0000000000 --- a/gen/docs1-cli/src/client.rs +++ /dev/null @@ -1,748 +0,0 @@ -// COPY OF 'src/rust/cli/client.rs' -// DO NOT EDIT -use clap::{App, SubCommand}; -use mime::Mime; -use oauth2::{ApplicationSecret, ConsoleApplicationSecret}; -use serde_json as json; -use serde_json::value::Value; - -use std::env; -use std::error::Error as StdError; -use std::fmt; -use std::fs; -use std::io; -use std::io::{stdout, Read, Write}; -use std::path::{Path, PathBuf}; -use std::str::FromStr; -use std::string::ToString; - -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); - } - } - json::value::Value::Array(ref mut arr) => { - let mut i = 0; - while i < arr.len() { - if arr[i].is_null() { - arr.remove(i); - } else { - remove_json_null_values(&mut arr[i]); - i += 1; - } - } - } - _ => {} - } -} - -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 // This seems to be lost during the async conversion - } -} - -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>(m: &'a mut json::Map, k: &str) -> &'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.is_empty() { - 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.is_empty() { - 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 && 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.is_empty() { - 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.is_empty() { - 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.is_empty()); - - 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(); - (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) - .truncate(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, - } -} - -#[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(), - }; - writeln!(f, "Parameter '{}' is unknown.{}", 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 { - issue.fmt(f)?; - } - Ok(()) - } -} - -impl InvalidOptionsError { - pub fn single(err: CLIError, exit_code: i32) -> InvalidOptionsError { - InvalidOptionsError { - issues: vec![err], - 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.is_empty() { - return Err(CLIError::Configuration(ConfigurationError::DirectoryUnset)); - } - - let expanded_config_dir = if trdir.as_bytes()[0] == b'~' { - match env::var("HOME") - .ok() - .or_else(|| 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) - .truncate(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/docs1-cli/src/main.rs b/gen/docs1-cli/src/main.rs deleted file mode 100644 index 7ec9406539..0000000000 --- a/gen/docs1-cli/src/main.rs +++ /dev/null @@ -1,563 +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)] - -extern crate tokio; - -#[macro_use] -extern crate clap; -extern crate yup_oauth2 as oauth2; - -use std::env; -use std::io::{self, Write}; -use clap::{App, SubCommand, Arg}; - -use google_docs1::{api, Error}; - -mod client; - -use client::{InvalidOptionsError, CLIError, 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 serde_json as json; -use clap::ArgMatches; - -enum DoitError { - IoError(String, io::Error), - ApiError(Error), -} - -struct Engine<'n> { - opt: ArgMatches<'n>, - hub: api::Docs, - gp: Vec<&'static str>, - gpm: Vec<(&'static str, &'static str)>, -} - - -impl<'n> Engine<'n> { - async fn _documents_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()[..] { - "write-control.required-revision-id" => Some(("writeControl.requiredRevisionId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "write-control.target-revision-id" => Some(("writeControl.targetRevisionId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - _ => { - let suggestion = FieldCursor::did_you_mean(key, &vec!["required-revision-id", "target-revision-id", "write-control"]); - 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::BatchUpdateDocumentRequest = json::value::from_value(object).unwrap(); - let mut call = self.hub.documents().batch_update(request, opt.value_of("document-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().await, - _ => 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(()) - } - } - } - } - - async fn _documents_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()[..] { - "document-id" => Some(("documentId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.background.color.color.rgb-color.blue" => Some(("documentStyle.background.color.color.rgbColor.blue", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.background.color.color.rgb-color.green" => Some(("documentStyle.background.color.color.rgbColor.green", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.background.color.color.rgb-color.red" => Some(("documentStyle.background.color.color.rgbColor.red", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.default-footer-id" => Some(("documentStyle.defaultFooterId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.default-header-id" => Some(("documentStyle.defaultHeaderId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.even-page-footer-id" => Some(("documentStyle.evenPageFooterId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.even-page-header-id" => Some(("documentStyle.evenPageHeaderId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.first-page-footer-id" => Some(("documentStyle.firstPageFooterId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.first-page-header-id" => Some(("documentStyle.firstPageHeaderId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.margin-bottom.magnitude" => Some(("documentStyle.marginBottom.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.margin-bottom.unit" => Some(("documentStyle.marginBottom.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.margin-footer.magnitude" => Some(("documentStyle.marginFooter.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.margin-footer.unit" => Some(("documentStyle.marginFooter.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.margin-header.magnitude" => Some(("documentStyle.marginHeader.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.margin-header.unit" => Some(("documentStyle.marginHeader.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.margin-left.magnitude" => Some(("documentStyle.marginLeft.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.margin-left.unit" => Some(("documentStyle.marginLeft.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.margin-right.magnitude" => Some(("documentStyle.marginRight.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.margin-right.unit" => Some(("documentStyle.marginRight.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.margin-top.magnitude" => Some(("documentStyle.marginTop.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.margin-top.unit" => Some(("documentStyle.marginTop.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.page-number-start" => Some(("documentStyle.pageNumberStart", JsonTypeInfo { jtype: JsonType::Int, ctype: ComplexType::Pod })), - "document-style.page-size.height.magnitude" => Some(("documentStyle.pageSize.height.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.page-size.height.unit" => Some(("documentStyle.pageSize.height.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.page-size.width.magnitude" => Some(("documentStyle.pageSize.width.magnitude", JsonTypeInfo { jtype: JsonType::Float, ctype: ComplexType::Pod })), - "document-style.page-size.width.unit" => Some(("documentStyle.pageSize.width.unit", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "document-style.use-custom-header-footer-margins" => Some(("documentStyle.useCustomHeaderFooterMargins", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })), - "document-style.use-even-page-header-footer" => Some(("documentStyle.useEvenPageHeaderFooter", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })), - "document-style.use-first-page-header-footer" => Some(("documentStyle.useFirstPageHeaderFooter", JsonTypeInfo { jtype: JsonType::Boolean, ctype: ComplexType::Pod })), - "revision-id" => Some(("revisionId", JsonTypeInfo { jtype: JsonType::String, ctype: ComplexType::Pod })), - "suggestions-view-mode" => Some(("suggestionsViewMode", 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!["background", "blue", "color", "default-footer-id", "default-header-id", "document-id", "document-style", "even-page-footer-id", "even-page-header-id", "first-page-footer-id", "first-page-header-id", "green", "height", "magnitude", "margin-bottom", "margin-footer", "margin-header", "margin-left", "margin-right", "margin-top", "page-number-start", "page-size", "red", "revision-id", "rgb-color", "suggestions-view-mode", "title", "unit", "use-custom-header-footer-margins", "use-even-page-header-footer", "use-first-page-header-footer", "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::Document = json::value::from_value(object).unwrap(); - let mut call = self.hub.documents().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().await, - _ => 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(()) - } - } - } - } - - async fn _documents_get(&self, opt: &ArgMatches<'n>, dry_run: bool, err: &mut InvalidOptionsError) - -> Result<(), DoitError> { - let mut call = self.hub.documents().get(opt.value_of("document-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 { - "suggestions-view-mode" => { - call = call.suggestions_view_mode(value.unwrap_or("")); - }, - _ => { - 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.extend(["suggestions-view-mode"].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().await, - _ => 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(()) - } - } - } - } - - async 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() { - ("documents", Some(opt)) => { - match opt.subcommand() { - ("batch-update", Some(opt)) => { - call_result = self._documents_batch_update(opt, dry_run, &mut err).await; - }, - ("create", Some(opt)) => { - call_result = self._documents_create(opt, dry_run, &mut err).await; - }, - ("get", Some(opt)) => { - call_result = self._documents_get(opt, dry_run, &mut err).await; - }, - _ => { - err.issues.push(CLIError::MissingMethodError("documents".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 - async fn new(opt: ArgMatches<'n>) -> Result, InvalidOptionsError> { - let (config_dir, secret) = { - let config_dir = match client::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 client::application_secret_from_directory(&config_dir, "docs1-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 = yup_oauth2::InstalledFlowAuthenticator::builder( - secret, - yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, - ).persist_tokens_to_disk(format!("{}/docs1", config_dir)).build().await.unwrap(); - - let client = hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()); - let engine = Engine { - opt: opt, - hub: api::Docs::new(client, auth), - gp: vec!["$-xgafv", "access-token", "alt", "callback", "fields", "key", "oauth-token", "pretty-print", "quota-user", "upload-type", "upload-protocol"], - gpm: vec![ - ("$-xgafv", "$.xgafv"), - ("access-token", "access_token"), - ("oauth-token", "oauth_token"), - ("pretty-print", "prettyPrint"), - ("quota-user", "quotaUser"), - ("upload-type", "uploadType"), - ("upload-protocol", "upload_protocol"), - ] - }; - - match engine._doit(true).await { - Err(Some(err)) => Err(err), - Err(None) => Ok(engine), - Ok(_) => unreachable!(), - } - } - - async fn doit(&self) -> Result<(), DoitError> { - match self._doit(false).await { - Ok(res) => res, - Err(_) => unreachable!(), - } - } -} - -#[tokio::main] -async fn main() { - let mut exit_status = 0i32; - let arg_data = [ - ("documents", "methods: 'batch-update', 'create' and 'get'", vec![ - ("batch-update", - Some(r##"Applies one or more updates to the document. 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 document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document 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_docs1_cli/documents_batch-update", - vec![ - (Some(r##"document-id"##), - None, - Some(r##"The ID of the document to update."##), - 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 blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document."##), - "Details at http://byron.github.io/google-apis-rs/google_docs1_cli/documents_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 document."##), - "Details at http://byron.github.io/google-apis-rs/google_docs1_cli/documents_get", - vec![ - (Some(r##"document-id"##), - None, - Some(r##"The ID of the document 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("docs1") - .author("Sebastian Thiel ") - .version("2.0.4+20210323") - .about("Reads and writes Google Docs documents.") - .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_docs1_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("Debug print all errors") - .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).await { - Err(err) => { - exit_status = err.exit_code; - writeln!(io::stderr(), "{}", err).ok(); - }, - Ok(engine) => { - if let Err(doit_err) = engine.doit().await { - 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); -} diff --git a/gen/docs1/Cargo.toml b/gen/docs1/Cargo.toml deleted file mode 100644 index 78d7aa6f58..0000000000 --- a/gen/docs1/Cargo.toml +++ /dev/null @@ -1,31 +0,0 @@ -# DO NOT EDIT ! -# This file was generated automatically from 'src/mako/Cargo.toml.mako' -# DO NOT EDIT ! -[package] - -name = "google-docs1" -version = "2.0.4+20210323" -authors = ["Sebastian Thiel "] -description = "A complete library to interact with Docs (protocol v1)" -repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/docs1" -homepage = "https://developers.google.com/docs/" -documentation = "https://docs.rs/google-docs1/2.0.4+20210323" -license = "MIT" -keywords = ["docs", "google", "protocol", "web", "api"] -autobins = false -edition = "2018" - - -[dependencies] -hyper-rustls = "^0.22" -mime = "^ 0.2.0" -serde = "^ 1.0" -serde_json = "^ 1.0" -serde_derive = "^ 1.0" -yup-oauth2 = "^ 5.0" -itertools = "^ 0.10" -hyper = "^ 0.14" -url = "= 1.7" - - - diff --git a/gen/docs1/LICENSE.md b/gen/docs1/LICENSE.md deleted file mode 100644 index d2306e20eb..0000000000 --- a/gen/docs1/LICENSE.md +++ /dev/null @@ -1,30 +0,0 @@ - -The MIT License (MIT) -===================== - -Copyright © `2015-2020` `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/docs1/README.md b/gen/docs1/README.md deleted file mode 100644 index d7b7641310..0000000000 --- a/gen/docs1/README.md +++ /dev/null @@ -1,192 +0,0 @@ - -The `google-docs1` library allows access to all features of the *Google Docs* service. - -This documentation was generated from *Docs* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. - -Everything else about the *Docs* *v1* API can be found at the -[official documentation site](https://developers.google.com/docs/). -# Features - -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/Docs) ... - -* [documents](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/api::Document) - * [*batch update*](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/api::DocumentBatchUpdateCall), [*create*](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/api::DocumentCreateCall) and [*get*](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/api::DocumentGetCall) - - - - -# Structure of this Library - -The API is structured into the following primary items: - -* **[Hub](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/Docs)** - * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::CallBuilder) -* **[Resources](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::Resource)** - * primary types that you can apply *Activities* to - * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::Part)** - * a collection of properties - * never directly used in *Activities* -* **[Activities](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::CallBuilder)** - * 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().await -``` - -Or specifically ... - -```ignore -let r = hub.documents().batch_update(...).doit().await -let r = hub.documents().create(...).doit().await -let r = hub.documents().get(...).doit().await -``` - -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-docs1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. -hyper = "^0.14" -hyper-rustls = "^0.22" -serde = "^1.0" -serde_json = "^1.0" -yup-oauth2 = "^5.0" -``` - -## A complete example - -```Rust -extern crate hyper; -extern crate hyper_rustls; -extern crate yup_oauth2 as oauth2; -extern crate google_docs1 as docs1; -use docs1::api::BatchUpdateDocumentRequest; -use docs1::{Result, Error}; -use std::default::Default; -use oauth2; -use docs1::Docs; - -// Get an ApplicationSecret instance by some means. It contains the `client_id` and -// `client_secret`, among other things. -let secret: oauth2::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 = yup_oauth2::InstalledFlowAuthenticator::builder( - secret, - yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, - ).build().await.unwrap(); -let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -// As the method needs a request, you would usually fill it with the desired information -// into the respective structure. Some of the parts shown here might not be applicable ! -// Values shown here are possibly random and not representative ! -let mut req = BatchUpdateDocumentRequest::default(); - -// You can configure optional 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.documents().batch_update(req, "documentId") - .doit().await; - -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::Io(_) - |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-docs1/2.0.4+20210323/google_docs1/client::Result) enumeration as return value of -the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::Delegate), 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-docs1/2.0.4+20210323/google_docs1/client::Result), should be -read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::ResponseResult), 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-docs1/2.0.4+20210323/google_docs1/client::Delegate) to the -[Method Builder](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::CallBuilder) 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-docs1/2.0.4+20210323/google_docs1/client::Delegate) 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 [encodable](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::RequestValue) and -[decodable](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses -are valid. -Most optionals are are considered [Parts](https://docs.rs/google-docs1/2.0.4+20210323/google_docs1/client::Part) 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-docs1/2.0.4+20210323/google_docs1/client::CallBuilder), 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-docs1/2.0.4+20210323/google_docs1/client::RequestValue) 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 **docs1** 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/main/LICENSE.md diff --git a/gen/docs1/src/api.rs b/gen/docs1/src/api.rs deleted file mode 100644 index e300b31b7a..0000000000 --- a/gen/docs1/src/api.rs +++ /dev/null @@ -1,4358 +0,0 @@ -use std::collections::HashMap; -use std::cell::RefCell; -use std::default::Default; -use std::collections::BTreeMap; -use serde_json as json; -use std::io; -use std::fs; -use std::mem; -use std::thread::sleep; - -use crate::client; - -// ############## -// 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 { - /// See, create, and edit all Google Docs documents you have access to - Document, - - /// View your Google Docs documents - DocumentReadonly, - - /// See, edit, create, and delete all of your Google Drive files - Drive, - - /// See, edit, create, and delete only the specific Google Drive files you use with this app - DriveFile, - - /// See and download all your Google Drive files - DriveReadonly, -} - -impl AsRef for Scope { - fn as_ref(&self) -> &str { - match *self { - Scope::Document => "https://www.googleapis.com/auth/documents", - Scope::DocumentReadonly => "https://www.googleapis.com/auth/documents.readonly", - Scope::Drive => "https://www.googleapis.com/auth/drive", - Scope::DriveFile => "https://www.googleapis.com/auth/drive.file", - Scope::DriveReadonly => "https://www.googleapis.com/auth/drive.readonly", - } - } -} - -impl Default for Scope { - fn default() -> Scope { - Scope::DocumentReadonly - } -} - - - -// ######## -// HUB ### -// ###### - -/// Central instance to access all Docs related resource activities -/// -/// # Examples -/// -/// Instantiate a new hub -/// -/// ```test_harness,no_run -/// extern crate hyper; -/// extern crate hyper_rustls; -/// extern crate yup_oauth2 as oauth2; -/// extern crate google_docs1 as docs1; -/// use docs1::api::BatchUpdateDocumentRequest; -/// use docs1::{Result, Error}; -/// # async fn dox() { -/// use std::default::Default; -/// use oauth2; -/// use docs1::Docs; -/// -/// // Get an ApplicationSecret instance by some means. It contains the `client_id` and -/// // `client_secret`, among other things. -/// let secret: oauth2::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 = yup_oauth2::InstalledFlowAuthenticator::builder( -/// secret, -/// yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, -/// ).build().await.unwrap(); -/// let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -/// // As the method needs a request, you would usually fill it with the desired information -/// // into the respective structure. Some of the parts shown here might not be applicable ! -/// // Values shown here are possibly random and not representative ! -/// let mut req = BatchUpdateDocumentRequest::default(); -/// -/// // You can configure optional 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.documents().batch_update(req, "documentId") -/// .doit().await; -/// -/// 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::Io(_) -/// |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 Docs<> { - client: hyper::Client, hyper::body::Body>, - auth: oauth2::authenticator::Authenticator>, - _user_agent: String, - _base_url: String, - _root_url: String, -} - -impl<'a, > client::Hub for Docs<> {} - -impl<'a, > Docs<> { - - pub fn new(client: hyper::Client, hyper::body::Body>, authenticator: oauth2::authenticator::Authenticator>) -> Docs<> { - Docs { - client, - auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), - _base_url: "https://docs.googleapis.com/".to_string(), - _root_url: "https://docs.googleapis.com/".to_string(), - } - } - - pub fn documents(&'a self) -> DocumentMethods<'a> { - DocumentMethods { hub: &self } - } - - /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. - /// - /// Returns the previously set user-agent. - pub fn user_agent(&mut self, agent_name: String) -> String { - mem::replace(&mut self._user_agent, agent_name) - } - - /// Set the base url to use in all requests to the server. - /// It defaults to `https://docs.googleapis.com/`. - /// - /// Returns the previously set base url. - pub fn base_url(&mut self, new_base_url: String) -> String { - mem::replace(&mut self._base_url, new_base_url) - } - - /// Set the root url to use in all requests to the server. - /// It defaults to `https://docs.googleapis.com/`. - /// - /// Returns the previously set root url. - pub fn root_url(&mut self, new_root_url: String) -> String { - mem::replace(&mut self._root_url, new_root_url) - } -} - - -// ############ -// SCHEMAS ### -// ########## -/// A ParagraphElement representing a spot in the text that is dynamically replaced with content that can change over time, like a page number. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct AutoText { - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. An AutoText may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this AutoText, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this AutoText. - #[serde(rename="textStyle")] - pub text_style: Option, - /// The type of this auto text. - #[serde(rename="type")] - pub type_: Option, -} - -impl client::Part for AutoText {} - - -/// Represents the background of a document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Background { - /// The background color. - pub color: Option, -} - -impl client::Part for Background {} - - -/// A mask that indicates which of the fields on the base Background have been changed in this suggestion. For any field set to true, the Backgound has a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct BackgroundSuggestionState { - /// Indicates whether the current background color has been modified in this suggestion. - #[serde(rename="backgroundColorSuggested")] - pub background_color_suggested: Option, -} - -impl client::Part for BackgroundSuggestionState {} - - -/// Request message for BatchUpdateDocument. -/// -/// # 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 documents](DocumentBatchUpdateCall) (request) -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct BatchUpdateDocumentRequest { - /// A list of updates to apply to the document. - pub requests: Option>, - /// Provides control over how write requests are executed. - #[serde(rename="writeControl")] - pub write_control: Option, -} - -impl client::RequestValue for BatchUpdateDocumentRequest {} - - -/// Response message from a BatchUpdateDocument request. -/// -/// # 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 documents](DocumentBatchUpdateCall) (response) -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct BatchUpdateDocumentResponse { - /// The ID of the document to which the updates were applied to. - #[serde(rename="documentId")] - pub document_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>, - /// The updated write control after applying the request. - #[serde(rename="writeControl")] - pub write_control: Option, -} - -impl client::ResponseResult for BatchUpdateDocumentResponse {} - - -/// The document body. The body typically contains the full document contents except for headers, footers and footnotes. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Body { - /// The contents of the body. The indexes for the body's content begin at zero. - pub content: Option>, -} - -impl client::Part for Body {} - - -/// Describes the bullet of a paragraph. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Bullet { - /// The ID of the list this paragraph belongs to. - #[serde(rename="listId")] - pub list_id: Option, - /// The nesting level of this paragraph in the list. - #[serde(rename="nestingLevel")] - pub nesting_level: Option, - /// The paragraph specific text style applied to this bullet. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for Bullet {} - - -/// A mask that indicates which of the fields on the base Bullet have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct BulletSuggestionState { - /// Indicates if there was a suggested change to the list_id. - #[serde(rename="listIdSuggested")] - pub list_id_suggested: Option, - /// Indicates if there was a suggested change to the nesting_level. - #[serde(rename="nestingLevelSuggested")] - pub nesting_level_suggested: Option, - /// A mask that indicates which of the fields in text style have been changed in this suggestion. - #[serde(rename="textStyleSuggestionState")] - pub text_style_suggestion_state: Option, -} - -impl client::Part for BulletSuggestionState {} - - -/// A solid color. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Color { - /// The RGB color value. - #[serde(rename="rgbColor")] - pub rgb_color: Option, -} - -impl client::Part for Color {} - - -/// A ParagraphElement representing a column break. A column break makes the subsequent text start at the top of the next 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 ColumnBreak { - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A ColumnBreak may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this ColumnBreak, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this ColumnBreak. Similar to text content, like text runs and footnote references, the text style of a column break can affect content layout as well as the styling of text inserted adjacent to it. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for ColumnBreak {} - - -/// Creates a Footer. The new footer is applied to the SectionStyle at the location of the SectionBreak if specificed, otherwise it is applied to the DocumentStyle. If a footer of the specified type already exists, a 400 bad request error is returned. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateFooterRequest { - /// The location of the SectionBreak immediately preceding the section whose SectionStyle this footer should belong to. If this is unset or refers to the first section break in the document, the footer applies to the document style. - #[serde(rename="sectionBreakLocation")] - pub section_break_location: Option, - /// The type of footer to create. - #[serde(rename="type")] - pub type_: Option, -} - -impl client::Part for CreateFooterRequest {} - - -/// The result of creating a footer. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateFooterResponse { - /// The ID of the created footer. - #[serde(rename="footerId")] - pub footer_id: Option, -} - -impl client::Part for CreateFooterResponse {} - - -/// Creates a Footnote segment and inserts a new FootnoteReference to it at the given location. The new Footnote segment will contain a space followed by a newline character. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateFootnoteRequest { - /// Inserts the footnote reference at the end of the document body. Footnote references cannot be inserted inside a header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty. - #[serde(rename="endOfSegmentLocation")] - pub end_of_segment_location: Option, - /// Inserts the footnote reference at a specific index in the document. The footnote reference must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Footnote references cannot be inserted inside an equation, header, footer or footnote. Since footnote references can only be inserted in the body, the segment ID field must be empty. - pub location: Option, -} - -impl client::Part for CreateFootnoteRequest {} - - -/// The result of creating a footnote. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateFootnoteResponse { - /// The ID of the created footnote. - #[serde(rename="footnoteId")] - pub footnote_id: Option, -} - -impl client::Part for CreateFootnoteResponse {} - - -/// Creates a Header. The new header is applied to the SectionStyle at the location of the SectionBreak if specificed, otherwise it is applied to the DocumentStyle. If a header of the specified type already exists, a 400 bad request error is returned. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateHeaderRequest { - /// The location of the SectionBreak which begins the section this header should belong to. If `section_break_location' is unset or if it refers to the first section break in the document body, the header applies to the DocumentStyle - #[serde(rename="sectionBreakLocation")] - pub section_break_location: Option, - /// The type of header to create. - #[serde(rename="type")] - pub type_: Option, -} - -impl client::Part for CreateHeaderRequest {} - - -/// The result of creating a header. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateHeaderResponse { - /// The ID of the created header. - #[serde(rename="headerId")] - pub header_id: Option, -} - -impl client::Part for CreateHeaderResponse {} - - -/// Creates a NamedRange referencing the given range. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateNamedRangeRequest { - /// The name of the NamedRange. Names do not need to be unique. Names must be at least 1 character and no more than 256 characters, measured in UTF-16 code units. - pub name: Option, - /// The range to apply the name to. - pub range: Option, -} - -impl client::Part for CreateNamedRangeRequest {} - - -/// The result of creating a named range. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateNamedRangeResponse { - /// The ID of the created named range. - #[serde(rename="namedRangeId")] - pub named_range_id: Option, -} - -impl client::Part for CreateNamedRangeResponse {} - - -/// Creates bullets for all of the paragraphs that overlap with the given range. The nesting level of each paragraph will be determined by counting leading tabs in front of each paragraph. To avoid excess space between the bullet and the corresponding paragraph, these leading tabs are removed by this request. This may change the indices of parts of the text. If the paragraph immediately before paragraphs being updated is in a list with a matching preset, the paragraphs being updated are added to that preceding list. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CreateParagraphBulletsRequest { - /// The kinds of bullet glyphs to be used. - #[serde(rename="bulletPreset")] - pub bullet_preset: Option, - /// The range to apply the bullet preset to. - pub range: Option, -} - -impl client::Part for CreateParagraphBulletsRequest {} - - -/// The crop properties of an image. The crop rectangle is represented using fractional offsets from the original content's four edges. - If the offset is in the interval (0, 1), the corresponding edge of crop rectangle is positioned inside of the image's original bounding rectangle. - If the offset is negative or greater than 1, the corresponding edge of crop rectangle is positioned outside of the image's original bounding rectangle. - If all offsets and rotation angle are 0, the image is not cropped. -/// -/// 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 clockwise rotation angle of the crop rectangle around its center, in radians. Rotation is applied after the offsets. - pub angle: Option, - /// The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom edge of the original content as a fraction of the original content's height. - #[serde(rename="offsetBottom")] - pub offset_bottom: Option, - /// The offset specifies how far inwards the left edge of the crop rectangle is from the left edge of the original content as a fraction of the original content's width. - #[serde(rename="offsetLeft")] - pub offset_left: Option, - /// The offset specifies how far inwards the right edge of the crop rectangle is from the right edge of the original content as a fraction of the original content's width. - #[serde(rename="offsetRight")] - pub offset_right: Option, - /// The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of the original content as a fraction of the original content's height. - #[serde(rename="offsetTop")] - pub offset_top: Option, -} - -impl client::Part for CropProperties {} - - -/// A mask that indicates which of the fields on the base CropProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct CropPropertiesSuggestionState { - /// Indicates if there was a suggested change to angle. - #[serde(rename="angleSuggested")] - pub angle_suggested: Option, - /// Indicates if there was a suggested change to offset_bottom. - #[serde(rename="offsetBottomSuggested")] - pub offset_bottom_suggested: Option, - /// Indicates if there was a suggested change to offset_left. - #[serde(rename="offsetLeftSuggested")] - pub offset_left_suggested: Option, - /// Indicates if there was a suggested change to offset_right. - #[serde(rename="offsetRightSuggested")] - pub offset_right_suggested: Option, - /// Indicates if there was a suggested change to offset_top. - #[serde(rename="offsetTopSuggested")] - pub offset_top_suggested: Option, -} - -impl client::Part for CropPropertiesSuggestionState {} - - -/// Deletes content from the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeleteContentRangeRequest { - /// The range of content to delete. Deleting text that crosses a paragraph boundary may result in changes to paragraph styles, lists, positioned objects and bookmarks as the two paragraphs are merged. Attempting to delete certain ranges can result in an invalid document structure in which case a 400 bad request error is returned. Some examples of invalid delete requests include: * Deleting one code unit of a surrogate pair. * Deleting the last newline character of a Body, Header, Footer, Footnote, TableCell or TableOfContents. * Deleting the start or end of a Table, TableOfContents or Equation without deleting the entire element. * Deleting the newline character before a Table, TableOfContents or SectionBreak without deleting the element. * Deleting individual rows or cells of a table. Deleting the content within a table cell is allowed. - pub range: Option, -} - -impl client::Part for DeleteContentRangeRequest {} - - -/// Deletes a Footer from the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeleteFooterRequest { - /// The id of the footer to delete. If this footer is defined on DocumentStyle, the reference to this footer is removed, resulting in no footer of that type for the first section of the document. If this footer is defined on a SectionStyle, the reference to this footer is removed and the footer of that type is now continued from the previous section. - #[serde(rename="footerId")] - pub footer_id: Option, -} - -impl client::Part for DeleteFooterRequest {} - - -/// Deletes a Header from the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeleteHeaderRequest { - /// The id of the header to delete. If this header is defined on DocumentStyle, the reference to this header is removed, resulting in no header of that type for the first section of the document. If this header is defined on a SectionStyle, the reference to this header is removed and the header of that type is now continued from the previous section. - #[serde(rename="headerId")] - pub header_id: Option, -} - -impl client::Part for DeleteHeaderRequest {} - - -/// Deletes a NamedRange. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeleteNamedRangeRequest { - /// The name of the range(s) to delete. All named ranges with the given name will be deleted. - pub name: Option, - /// The ID of the named range to delete. - #[serde(rename="namedRangeId")] - pub named_range_id: Option, -} - -impl client::Part for DeleteNamedRangeRequest {} - - -/// Deletes bullets from all of the paragraphs that overlap with the given range. The nesting level of each paragraph will be visually preserved by adding indent to the start of the corresponding paragraph. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeleteParagraphBulletsRequest { - /// The range to delete bullets from. - pub range: Option, -} - -impl client::Part for DeleteParagraphBulletsRequest {} - - -/// Deletes a PositionedObject from the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DeletePositionedObjectRequest { - /// The ID of the positioned object to delete. - #[serde(rename="objectId")] - pub object_id: Option, -} - -impl client::Part for DeletePositionedObjectRequest {} - - -/// 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 the column will be deleted. The column this cell spans will be deleted. If this is a merged cell that spans multiple columns, all columns that the cell spans will be deleted. If no columns remain in the table after this deletion, the whole table is deleted. - #[serde(rename="tableCellLocation")] - pub table_cell_location: Option, -} - -impl client::Part for DeleteTableColumnRequest {} - - -/// Deletes a row 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 DeleteTableRowRequest { - /// The reference table cell location from which the row will be deleted. The row this cell spans will be deleted. If this is a merged cell that spans multiple rows, all rows that the cell spans will be deleted. If no rows remain in the table after this deletion, the whole table is deleted. - #[serde(rename="tableCellLocation")] - pub table_cell_location: Option, -} - -impl client::Part for DeleteTableRowRequest {} - - -/// 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 client::Part for Dimension {} - - -/// A Google Docs document. -/// -/// # 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 documents](DocumentBatchUpdateCall) (none) -/// * [create documents](DocumentCreateCall) (request|response) -/// * [get documents](DocumentGetCall) (response) -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Document { - /// Output only. The main body of the document. - pub body: Option, - /// Output only. The ID of the document. - #[serde(rename="documentId")] - pub document_id: Option, - /// Output only. The style of the document. - #[serde(rename="documentStyle")] - pub document_style: Option, - /// Output only. The footers in the document, keyed by footer ID. - pub footers: Option>, - /// Output only. The footnotes in the document, keyed by footnote ID. - pub footnotes: Option>, - /// Output only. The headers in the document, keyed by header ID. - pub headers: Option>, - /// Output only. The inline objects in the document, keyed by object ID. - #[serde(rename="inlineObjects")] - pub inline_objects: Option>, - /// Output only. The lists in the document, keyed by list ID. - pub lists: Option>, - /// Output only. The named ranges in the document, keyed by name. - #[serde(rename="namedRanges")] - pub named_ranges: Option>, - /// Output only. The named styles of the document. - #[serde(rename="namedStyles")] - pub named_styles: Option, - /// Output only. The positioned objects in the document, keyed by object ID. - #[serde(rename="positionedObjects")] - pub positioned_objects: Option>, - /// Output only. The revision ID of the document. Can be used in update requests to specify which revision of a document to apply updates to and how the request should behave if the document has been edited since that revision. Only populated if the user has edit access to the document. The format of the revision ID may change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the document has not changed. Conversely, a changed ID (for the same document and user) usually means the document has been updated; however, a changed ID can also be due to internal factors such as ID format changes. - #[serde(rename="revisionId")] - pub revision_id: Option, - /// Output only. The suggested changes to the style of the document, keyed by suggestion ID. - #[serde(rename="suggestedDocumentStyleChanges")] - pub suggested_document_style_changes: Option>, - /// Output only. The suggested changes to the named styles of the document, keyed by suggestion ID. - #[serde(rename="suggestedNamedStylesChanges")] - pub suggested_named_styles_changes: Option>, - /// Output only. The suggestions view mode applied to the document. Note: When editing a document, changes must be based on a document with SUGGESTIONS_INLINE. - #[serde(rename="suggestionsViewMode")] - pub suggestions_view_mode: Option, - /// The title of the document. - pub title: Option, -} - -impl client::RequestValue for Document {} -impl client::Resource for Document {} -impl client::ResponseResult for Document {} - - -/// The style of the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DocumentStyle { - /// The background of the document. Documents cannot have a transparent background color. - pub background: Option, - /// The ID of the default footer. If not set, there is no default footer. This property is read-only. - #[serde(rename="defaultFooterId")] - pub default_footer_id: Option, - /// The ID of the default header. If not set, there is no default header. This property is read-only. - #[serde(rename="defaultHeaderId")] - pub default_header_id: Option, - /// The ID of the footer used only for even pages. The value of use_even_page_header_footer determines whether to use the default_footer_id or this value for the footer on even pages. If not set, there is no even page footer. This property is read-only. - #[serde(rename="evenPageFooterId")] - pub even_page_footer_id: Option, - /// The ID of the header used only for even pages. The value of use_even_page_header_footer determines whether to use the default_header_id or this value for the header on even pages. If not set, there is no even page header. This property is read-only. - #[serde(rename="evenPageHeaderId")] - pub even_page_header_id: Option, - /// The ID of the footer used only for the first page. If not set then a unique footer for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_footer_id or this value for the footer on the first page. If not set, there is no first page footer. This property is read-only. - #[serde(rename="firstPageFooterId")] - pub first_page_footer_id: Option, - /// The ID of the header used only for the first page. If not set then a unique header for the first page does not exist. The value of use_first_page_header_footer determines whether to use the default_header_id or this value for the header on the first page. If not set, there is no first page header. This property is read-only. - #[serde(rename="firstPageHeaderId")] - pub first_page_header_id: Option, - /// The bottom page margin. Updating the bottom page margin on the document style clears the bottom page margin on all section styles. - #[serde(rename="marginBottom")] - pub margin_bottom: Option, - /// The amount of space between the bottom of the page and the contents of the footer. - #[serde(rename="marginFooter")] - pub margin_footer: Option, - /// The amount of space between the top of the page and the contents of the header. - #[serde(rename="marginHeader")] - pub margin_header: Option, - /// The left page margin. Updating the left page margin on the document style clears the left page margin on all section styles. It may also cause columns to resize in all sections. - #[serde(rename="marginLeft")] - pub margin_left: Option, - /// The right page margin. Updating the right page margin on the document style clears the right page margin on all section styles. It may also cause columns to resize in all sections. - #[serde(rename="marginRight")] - pub margin_right: Option, - /// The top page margin. Updating the top page margin on the document style clears the top page margin on all section styles. - #[serde(rename="marginTop")] - pub margin_top: Option, - /// The page number from which to start counting the number of pages. - #[serde(rename="pageNumberStart")] - pub page_number_start: Option, - /// The size of a page in the document. - #[serde(rename="pageSize")] - pub page_size: Option, - /// Indicates whether DocumentStyle margin_header, SectionStyle margin_header and DocumentStyle margin_footer, SectionStyle margin_footer are respected. When false, the default values in the Docs editor for header and footer margin are used. This property is read-only. - #[serde(rename="useCustomHeaderFooterMargins")] - pub use_custom_header_footer_margins: Option, - /// Indicates whether to use the even page header / footer IDs for the even pages. - #[serde(rename="useEvenPageHeaderFooter")] - pub use_even_page_header_footer: Option, - /// Indicates whether to use the first page header / footer IDs for the first page. - #[serde(rename="useFirstPageHeaderFooter")] - pub use_first_page_header_footer: Option, -} - -impl client::Part for DocumentStyle {} - - -/// A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct DocumentStyleSuggestionState { - /// A mask that indicates which of the fields in background have been changed in this suggestion. - #[serde(rename="backgroundSuggestionState")] - pub background_suggestion_state: Option, - /// Indicates if there was a suggested change to default_footer_id. - #[serde(rename="defaultFooterIdSuggested")] - pub default_footer_id_suggested: Option, - /// Indicates if there was a suggested change to default_header_id. - #[serde(rename="defaultHeaderIdSuggested")] - pub default_header_id_suggested: Option, - /// Indicates if there was a suggested change to even_page_footer_id. - #[serde(rename="evenPageFooterIdSuggested")] - pub even_page_footer_id_suggested: Option, - /// Indicates if there was a suggested change to even_page_header_id. - #[serde(rename="evenPageHeaderIdSuggested")] - pub even_page_header_id_suggested: Option, - /// Indicates if there was a suggested change to first_page_footer_id. - #[serde(rename="firstPageFooterIdSuggested")] - pub first_page_footer_id_suggested: Option, - /// Indicates if there was a suggested change to first_page_header_id. - #[serde(rename="firstPageHeaderIdSuggested")] - pub first_page_header_id_suggested: Option, - /// Indicates if there was a suggested change to margin_bottom. - #[serde(rename="marginBottomSuggested")] - pub margin_bottom_suggested: Option, - /// Indicates if there was a suggested change to margin_footer. - #[serde(rename="marginFooterSuggested")] - pub margin_footer_suggested: Option, - /// Indicates if there was a suggested change to margin_header. - #[serde(rename="marginHeaderSuggested")] - pub margin_header_suggested: Option, - /// Indicates if there was a suggested change to margin_left. - #[serde(rename="marginLeftSuggested")] - pub margin_left_suggested: Option, - /// Indicates if there was a suggested change to margin_right. - #[serde(rename="marginRightSuggested")] - pub margin_right_suggested: Option, - /// Indicates if there was a suggested change to margin_top. - #[serde(rename="marginTopSuggested")] - pub margin_top_suggested: Option, - /// Indicates if there was a suggested change to page_number_start. - #[serde(rename="pageNumberStartSuggested")] - pub page_number_start_suggested: Option, - /// A mask that indicates which of the fields in size have been changed in this suggestion. - #[serde(rename="pageSizeSuggestionState")] - pub page_size_suggestion_state: Option, - /// Indicates if there was a suggested change to use_custom_header_footer_margins. - #[serde(rename="useCustomHeaderFooterMarginsSuggested")] - pub use_custom_header_footer_margins_suggested: Option, - /// Indicates if there was a suggested change to use_even_page_header_footer. - #[serde(rename="useEvenPageHeaderFooterSuggested")] - pub use_even_page_header_footer_suggested: Option, - /// Indicates if there was a suggested change to use_first_page_header_footer. - #[serde(rename="useFirstPageHeaderFooterSuggested")] - pub use_first_page_header_footer_suggested: Option, -} - -impl client::Part for DocumentStyleSuggestionState {} - - -/// The properties of an embedded drawing. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EmbeddedDrawingProperties { _never_set: Option } - -impl client::Part for EmbeddedDrawingProperties {} - - -/// A mask that indicates which of the fields on the base EmbeddedDrawingProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EmbeddedDrawingPropertiesSuggestionState { _never_set: Option } - -impl client::Part for EmbeddedDrawingPropertiesSuggestionState {} - - -/// An embedded object in the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EmbeddedObject { - /// The description of the embedded object. The `title` and `description` are both combined to display alt text. - pub description: Option, - /// The properties of an embedded drawing. - #[serde(rename="embeddedDrawingProperties")] - pub embedded_drawing_properties: Option, - /// The border of the embedded object. - #[serde(rename="embeddedObjectBorder")] - pub embedded_object_border: Option, - /// The properties of an image. - #[serde(rename="imageProperties")] - pub image_properties: Option, - /// A reference to the external linked source content. For example, it contains a reference to the source Sheets chart when the embedded object is a linked chart. If unset, then the embedded object is not linked. - #[serde(rename="linkedContentReference")] - pub linked_content_reference: Option, - /// The bottom margin of the embedded object. - #[serde(rename="marginBottom")] - pub margin_bottom: Option, - /// The left margin of the embedded object. - #[serde(rename="marginLeft")] - pub margin_left: Option, - /// The right margin of the embedded object. - #[serde(rename="marginRight")] - pub margin_right: Option, - /// The top margin of the embedded object. - #[serde(rename="marginTop")] - pub margin_top: Option, - /// The visible size of the image after cropping. - pub size: Option, - /// The title of the embedded object. The `title` and `description` are both combined to display alt text. - pub title: Option, -} - -impl client::Part for EmbeddedObject {} - - -/// A border around an EmbeddedObject. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EmbeddedObjectBorder { - /// The color of the border. - pub color: Option, - /// The dash style of the border. - #[serde(rename="dashStyle")] - pub dash_style: Option, - /// The property state of the border property. - #[serde(rename="propertyState")] - pub property_state: Option, - /// The width of the border. - pub width: Option, -} - -impl client::Part for EmbeddedObjectBorder {} - - -/// A mask that indicates which of the fields on the base EmbeddedObjectBorder have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EmbeddedObjectBorderSuggestionState { - /// Indicates if there was a suggested change to color. - #[serde(rename="colorSuggested")] - pub color_suggested: Option, - /// Indicates if there was a suggested change to dash_style. - #[serde(rename="dashStyleSuggested")] - pub dash_style_suggested: Option, - /// Indicates if there was a suggested change to property_state. - #[serde(rename="propertyStateSuggested")] - pub property_state_suggested: Option, - /// Indicates if there was a suggested change to width. - #[serde(rename="widthSuggested")] - pub width_suggested: Option, -} - -impl client::Part for EmbeddedObjectBorderSuggestionState {} - - -/// A mask that indicates which of the fields on the base EmbeddedObject have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EmbeddedObjectSuggestionState { - /// Indicates if there was a suggested change to description. - #[serde(rename="descriptionSuggested")] - pub description_suggested: Option, - /// A mask that indicates which of the fields in embedded_drawing_properties have been changed in this suggestion. - #[serde(rename="embeddedDrawingPropertiesSuggestionState")] - pub embedded_drawing_properties_suggestion_state: Option, - /// A mask that indicates which of the fields in embedded_object_border have been changed in this suggestion. - #[serde(rename="embeddedObjectBorderSuggestionState")] - pub embedded_object_border_suggestion_state: Option, - /// A mask that indicates which of the fields in image_properties have been changed in this suggestion. - #[serde(rename="imagePropertiesSuggestionState")] - pub image_properties_suggestion_state: Option, - /// A mask that indicates which of the fields in linked_content_reference have been changed in this suggestion. - #[serde(rename="linkedContentReferenceSuggestionState")] - pub linked_content_reference_suggestion_state: Option, - /// Indicates if there was a suggested change to margin_bottom. - #[serde(rename="marginBottomSuggested")] - pub margin_bottom_suggested: Option, - /// Indicates if there was a suggested change to margin_left. - #[serde(rename="marginLeftSuggested")] - pub margin_left_suggested: Option, - /// Indicates if there was a suggested change to margin_right. - #[serde(rename="marginRightSuggested")] - pub margin_right_suggested: Option, - /// Indicates if there was a suggested change to margin_top. - #[serde(rename="marginTopSuggested")] - pub margin_top_suggested: Option, - /// A mask that indicates which of the fields in size have been changed in this suggestion. - #[serde(rename="sizeSuggestionState")] - pub size_suggestion_state: Option, - /// Indicates if there was a suggested change to title. - #[serde(rename="titleSuggested")] - pub title_suggested: Option, -} - -impl client::Part for EmbeddedObjectSuggestionState {} - - -/// Location at the end of a body, header, footer or footnote. The location is immediately before the last newline in the document segment. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct EndOfSegmentLocation { - /// The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. - #[serde(rename="segmentId")] - pub segment_id: Option, -} - -impl client::Part for EndOfSegmentLocation {} - - -/// A ParagraphElement representing an equation. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Equation { - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A Equation may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, -} - -impl client::Part for Equation {} - - -/// A document footer. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Footer { - /// The contents of the footer. The indexes for a footer's content begin at zero. - pub content: Option>, - /// The ID of the footer. - #[serde(rename="footerId")] - pub footer_id: Option, -} - -impl client::Part for Footer {} - - -/// A document footnote. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Footnote { - /// The contents of the footnote. The indexes for a footnote's content begin at zero. - pub content: Option>, - /// The ID of the footnote. - #[serde(rename="footnoteId")] - pub footnote_id: Option, -} - -impl client::Part for Footnote {} - - -/// A ParagraphElement representing a footnote reference. A footnote reference is the inline content rendered with a number and is used to identify the footnote. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct FootnoteReference { - /// The ID of the footnote that contains the content of this footnote reference. - #[serde(rename="footnoteId")] - pub footnote_id: Option, - /// The rendered number of this footnote. - #[serde(rename="footnoteNumber")] - pub footnote_number: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A FootnoteReference may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this FootnoteReference, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this FootnoteReference. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for FootnoteReference {} - - -/// A document header. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Header { - /// The contents of the header. The indexes for a header's content begin at zero. - pub content: Option>, - /// The ID of the header. - #[serde(rename="headerId")] - pub header_id: Option, -} - -impl client::Part for Header {} - - -/// A ParagraphElement representing a horizontal line. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct HorizontalRule { - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A HorizontalRule may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this HorizontalRule, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this HorizontalRule. Similar to text content, like text runs and footnote references, the text style of a horizontal rule can affect content layout as well as the styling of text inserted adjacent to it. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for HorizontalRule {} - - -/// The properties of 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 ImageProperties { - /// The clockwise rotation angle of the image, in radians. - pub angle: Option, - /// The brightness effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. - pub brightness: Option, - /// A URI to the image with a default lifetime of 30 minutes. This URI is tagged with the account of the requester. Anyone with the URI effectively accesses the image as the original requester. Access to the image may be lost if the document's sharing settings change. - #[serde(rename="contentUri")] - pub content_uri: Option, - /// The contrast effect of the image. The value should be in the interval [-1.0, 1.0], where 0 means no effect. - pub contrast: Option, - /// The crop properties of the image. - #[serde(rename="cropProperties")] - pub crop_properties: Option, - /// The source URI is the URI used to insert the image. The source URI can be empty. - #[serde(rename="sourceUri")] - pub source_uri: Option, - /// The transparency effect of the image. The value should be in the interval [0.0, 1.0], where 0 means no effect and 1 means completely transparent. - pub transparency: Option, -} - -impl client::Part for ImageProperties {} - - -/// A mask that indicates which of the fields on the base ImageProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ImagePropertiesSuggestionState { - /// Indicates if there was a suggested change to angle. - #[serde(rename="angleSuggested")] - pub angle_suggested: Option, - /// Indicates if there was a suggested change to brightness. - #[serde(rename="brightnessSuggested")] - pub brightness_suggested: Option, - /// Indicates if there was a suggested change to content_uri. - #[serde(rename="contentUriSuggested")] - pub content_uri_suggested: Option, - /// Indicates if there was a suggested change to contrast. - #[serde(rename="contrastSuggested")] - pub contrast_suggested: Option, - /// A mask that indicates which of the fields in crop_properties have been changed in this suggestion. - #[serde(rename="cropPropertiesSuggestionState")] - pub crop_properties_suggestion_state: Option, - /// Indicates if there was a suggested change to source_uri. - #[serde(rename="sourceUriSuggested")] - pub source_uri_suggested: Option, - /// Indicates if there was a suggested change to transparency. - #[serde(rename="transparencySuggested")] - pub transparency_suggested: Option, -} - -impl client::Part for ImagePropertiesSuggestionState {} - - -/// An object that appears inline with text. An InlineObject contains an EmbeddedObject such as 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 InlineObject { - /// The properties of this inline object. - #[serde(rename="inlineObjectProperties")] - pub inline_object_properties: Option, - /// The ID of this inline object. - #[serde(rename="objectId")] - pub object_id: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested changes to the inline object properties, keyed by suggestion ID. - #[serde(rename="suggestedInlineObjectPropertiesChanges")] - pub suggested_inline_object_properties_changes: Option>, - /// The suggested insertion ID. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionId")] - pub suggested_insertion_id: Option, -} - -impl client::Part for InlineObject {} - - -/// A ParagraphElement that contains an InlineObject. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InlineObjectElement { - /// The ID of the InlineObject this element contains. - #[serde(rename="inlineObjectId")] - pub inline_object_id: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. An InlineObjectElement may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this InlineObject, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this InlineObjectElement. Similar to text content, like text runs and footnote references, the text style of an inline object element can affect content layout as well as the styling of text inserted adjacent to it. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for InlineObjectElement {} - - -/// Properties of an InlineObject. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InlineObjectProperties { - /// The embedded object of this inline object. - #[serde(rename="embeddedObject")] - pub embedded_object: Option, -} - -impl client::Part for InlineObjectProperties {} - - -/// A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InlineObjectPropertiesSuggestionState { - /// A mask that indicates which of the fields in embedded_object have been changed in this suggestion. - #[serde(rename="embeddedObjectSuggestionState")] - pub embedded_object_suggestion_state: Option, -} - -impl client::Part for InlineObjectPropertiesSuggestionState {} - - -/// Inserts an InlineObject containing an image at the given location. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InsertInlineImageRequest { - /// Inserts the text at the end of a header, footer or the document body. Inline images cannot be inserted inside a footnote. - #[serde(rename="endOfSegmentLocation")] - pub end_of_segment_location: Option, - /// Inserts the image at a specific index in the document. The image must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Inline images cannot be inserted inside a footnote or equation. - pub location: Option, - /// The size that the image should appear as in the document. This property is optional and the final size of the image in the document is determined by the following rules: * If neither width nor height is specified, then a default size of the image is calculated based on its resolution. * If one dimension is specified then the other dimension is calculated to preserve the aspect ratio of the image. * If both width and height are specified, the image is scaled to fit within the provided dimensions while maintaining its aspect ratio. - #[serde(rename="objectSize")] - pub object_size: Option, - /// The image URI. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.content_uri field. - pub uri: Option, -} - -impl client::Part for InsertInlineImageRequest {} - - -/// The result of inserting an inline 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 InsertInlineImageResponse { - /// The ID of the created InlineObject. - #[serde(rename="objectId")] - pub object_id: Option, -} - -impl client::Part for InsertInlineImageResponse {} - - -/// The result of inserting an embedded Google Sheets chart. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InsertInlineSheetsChartResponse { - /// The object ID of the inserted chart. - #[serde(rename="objectId")] - pub object_id: Option, -} - -impl client::Part for InsertInlineSheetsChartResponse {} - - -/// Inserts a page break followed by a newline at the specified location. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InsertPageBreakRequest { - /// Inserts the page break at the end of the document body. Page breaks cannot be inserted inside a footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty. - #[serde(rename="endOfSegmentLocation")] - pub end_of_segment_location: Option, - /// Inserts the page break at a specific index in the document. The page break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Page breaks cannot be inserted inside a table, equation, footnote, header or footer. Since page breaks can only be inserted inside the body, the segment ID field must be empty. - pub location: Option, -} - -impl client::Part for InsertPageBreakRequest {} - - -/// Inserts a section break at the given location. A newline character will be inserted before the section break. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InsertSectionBreakRequest { - /// Inserts a newline and a section break at the end of the document body. Section breaks cannot be inserted inside a footnote, header or footer. Because section breaks can only be inserted inside the body, the segment ID field must be empty. - #[serde(rename="endOfSegmentLocation")] - pub end_of_segment_location: Option, - /// Inserts a newline and a section break at a specific index in the document. The section break must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). Section breaks cannot be inserted inside a table, equation, footnote, header, or footer. Since section breaks can only be inserted inside the body, the segment ID field must be empty. - pub location: Option, - /// The type of section to insert. - #[serde(rename="sectionType")] - pub section_type: Option, -} - -impl client::Part for InsertSectionBreakRequest {} - - -/// Inserts an empty column into 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 InsertTableColumnRequest { - /// Whether to insert new column 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 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="tableCellLocation")] - pub table_cell_location: Option, -} - -impl client::Part for InsertTableColumnRequest {} - - -/// Inserts a table at the specified location. A newline character will be inserted before the inserted 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 InsertTableRequest { - /// The number of columns in the table. - pub columns: Option, - /// Inserts the table at the end of the given header, footer or document body. A newline character will be inserted before the inserted table. Tables cannot be inserted inside a footnote. - #[serde(rename="endOfSegmentLocation")] - pub end_of_segment_location: Option, - /// Inserts the table at a specific model index. A newline character will be inserted before the inserted table, therefore the table start index will be at the specified location index + 1. The table must be inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's start index (i.e. between an existing table and its preceding paragraph). Tables cannot be inserted inside a footnote or equation. - pub location: Option, - /// The number of rows in the table. - pub rows: Option, -} - -impl client::Part for InsertTableRequest {} - - -/// Inserts an empty row into 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 InsertTableRowRequest { - /// Whether to insert new row below the reference cell location. - `True`: insert below the cell. - `False`: insert above the cell. - #[serde(rename="insertBelow")] - pub insert_below: Option, - /// The reference table cell location from which rows will be inserted. A new row will be inserted above (or below) the row where the reference cell is. If the reference cell is a merged cell, a new row will be inserted above (or below) the merged cell. - #[serde(rename="tableCellLocation")] - pub table_cell_location: Option, -} - -impl client::Part for InsertTableRowRequest {} - - -/// Inserts text at the specified location. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct InsertTextRequest { - /// Inserts the text at the end of a header, footer, footnote or the document body. - #[serde(rename="endOfSegmentLocation")] - pub end_of_segment_location: Option, - /// Inserts the text at a specific index in the document. Text must be inserted inside the bounds of an existing Paragraph. For instance, text cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). The text must be inserted in the preceding paragraph. - pub location: Option, - /// The text to be inserted. Inserting a newline character will implicitly create a new Paragraph at that index. The paragraph style of the new paragraph will be copied from the paragraph at the current insertion index, including lists and bullets. Text styles for inserted text will be determined automatically, generally preserving the styling of neighboring text. In most cases, the text style for the inserted text will match the text immediately before the insertion index. Some control characters (U+0000-U+0008, U+000C-U+001F) and characters from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text. - pub text: Option, -} - -impl client::Part for InsertTextRequest {} - - -/// A reference to another portion of a document or an external URL resource. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Link { - /// The ID of a bookmark in this document. - #[serde(rename="bookmarkId")] - pub bookmark_id: Option, - /// The ID of a heading in this document. - #[serde(rename="headingId")] - pub heading_id: Option, - /// An external URL. - pub url: Option, -} - -impl client::Part for Link {} - - -/// A reference to the external linked source content. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct LinkedContentReference { - /// A reference to the linked chart. - #[serde(rename="sheetsChartReference")] - pub sheets_chart_reference: Option, -} - -impl client::Part for LinkedContentReference {} - - -/// A mask that indicates which of the fields on the base LinkedContentReference have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct LinkedContentReferenceSuggestionState { - /// A mask that indicates which of the fields in sheets_chart_reference have been changed in this suggestion. - #[serde(rename="sheetsChartReferenceSuggestionState")] - pub sheets_chart_reference_suggestion_state: Option, -} - -impl client::Part for LinkedContentReferenceSuggestionState {} - - -/// A List represents the list attributes for a group of paragraphs that all belong to the same list. A paragraph that is part of a list has a reference to the list's ID in its bullet. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct List { - /// The properties of the list. - #[serde(rename="listProperties")] - pub list_properties: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this list. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion ID. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionId")] - pub suggested_insertion_id: Option, - /// The suggested changes to the list properties, keyed by suggestion ID. - #[serde(rename="suggestedListPropertiesChanges")] - pub suggested_list_properties_changes: Option>, -} - -impl client::Part for List {} - - -/// The properties of a list which describe the look and feel of bullets belonging to paragraphs associated with a list. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ListProperties { - /// Describes the properties of the bullets at the associated level. A list has at most nine levels of nesting with nesting level 0 corresponding to the top-most level and nesting level 8 corresponding to the most nested level. The nesting levels are returned in ascending order with the least nested returned first. - #[serde(rename="nestingLevels")] - pub nesting_levels: Option>, -} - -impl client::Part for ListProperties {} - - -/// A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ListPropertiesSuggestionState { - /// A mask that indicates which of the fields on the corresponding NestingLevel in nesting_levels have been changed in this suggestion. The nesting level suggestion states are returned in ascending order of the nesting level with the least nested returned first. - #[serde(rename="nestingLevelsSuggestionStates")] - pub nesting_levels_suggestion_states: Option>, -} - -impl client::Part for ListPropertiesSuggestionState {} - - -/// A particular location in the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Location { - /// The zero-based index, in UTF-16 code units. The index is relative to the beginning of the segment specified by segment_id. - pub index: Option, - /// The ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body. - #[serde(rename="segmentId")] - pub segment_id: Option, -} - -impl client::Part for Location {} - - -/// Merges cells in 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 MergeTableCellsRequest { - /// The table range specifying which cells of the table to merge. Any text in the cells being merged will be concatenated and stored in the "head" cell of the range. This is the upper-left cell of the range when the content direction is left to right, and the upper-right cell of the range otherwise. If the range is non-rectangular (which can occur in some cases where the range covers cells that are already merged or where the table is non-rectangular), a 400 bad request error is returned. - #[serde(rename="tableRange")] - pub table_range: Option, -} - -impl client::Part for MergeTableCellsRequest {} - - -/// A collection of Ranges with the same named range ID. Named ranges allow developers to associate parts of a document with an arbitrary user-defined label so their contents can be programmatically read or edited at a later time. A document can contain multiple named ranges with the same name, but every named range has a unique ID. A named range is created with a single Range, and content inserted inside a named range generally expands that range. However, certain document changes can cause the range to be split into multiple ranges. Named ranges are not private. All applications and collaborators that have access to the document can see its named ranges. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NamedRange { - /// The name of the named range. - pub name: Option, - /// The ID of the named range. - #[serde(rename="namedRangeId")] - pub named_range_id: Option, - /// The ranges that belong to this named range. - pub ranges: Option>, -} - -impl client::Part for NamedRange {} - - -/// A collection of all the NamedRanges in the document that share a given name. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NamedRanges { - /// The name that all the named ranges share. - pub name: Option, - /// The NamedRanges that share the same name. - #[serde(rename="namedRanges")] - pub named_ranges: Option>, -} - -impl client::Part for NamedRanges {} - - -/// A named style. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from this named style when they have the same named style type. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NamedStyle { - /// The type of this named style. - #[serde(rename="namedStyleType")] - pub named_style_type: Option, - /// The paragraph style of this named style. - #[serde(rename="paragraphStyle")] - pub paragraph_style: Option, - /// The text style of this named style. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for NamedStyle {} - - -/// A suggestion state of a NamedStyle message. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NamedStyleSuggestionState { - /// The named style type that this suggestion state corresponds to. This field is provided as a convenience for matching the NamedStyleSuggestionState with its corresponding NamedStyle. - #[serde(rename="namedStyleType")] - pub named_style_type: Option, - /// A mask that indicates which of the fields in paragraph style have been changed in this suggestion. - #[serde(rename="paragraphStyleSuggestionState")] - pub paragraph_style_suggestion_state: Option, - /// A mask that indicates which of the fields in text style have been changed in this suggestion. - #[serde(rename="textStyleSuggestionState")] - pub text_style_suggestion_state: Option, -} - -impl client::Part for NamedStyleSuggestionState {} - - -/// The named styles. Paragraphs in the document can inherit their TextStyle and ParagraphStyle from these named styles. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NamedStyles { - /// The named styles. There is an entry for each of the possible named style types. - pub styles: Option>, -} - -impl client::Part for NamedStyles {} - - -/// The suggestion state of a NamedStyles message. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NamedStylesSuggestionState { - /// A mask that indicates which of the fields on the corresponding NamedStyle in styles have been changed in this suggestion. The order of these named style suggestion states match the order of the corresponding named style within the named styles suggestion. - #[serde(rename="stylesSuggestionStates")] - pub styles_suggestion_states: Option>, -} - -impl client::Part for NamedStylesSuggestionState {} - - -/// 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 alignment of the bullet within the space allotted for rendering the bullet. - #[serde(rename="bulletAlignment")] - pub bullet_alignment: Option, - /// The format string used by bullets at this level of nesting. The glyph format contains one or more placeholders, and these placeholder are replaced with the appropriate values depending on the glyph_type or glyph_symbol. The placeholders follow the pattern `%[nesting_level]`. Furthermore, placeholders can have prefixes and suffixes. Thus, the glyph format follows the pattern `%[nesting_level]`. Note that the prefix and suffix are optional and can be arbitrary strings. For example, the glyph format `%0.` indicates that the rendered glyph will replace the placeholder with the corresponding glyph for nesting level 0 followed by a period as the suffix. So a list with a glyph type of UPPER_ALPHA and glyph format `%0.` at nesting level 0 will result in a list with rendered glyphs `A.` `B.` `C.` The glyph format can contain placeholders for the current nesting level as well as placeholders for parent nesting levels. For example, a list can have a glyph format of `%0.` at nesting level 0 and a glyph format of `%0.%1.` at nesting level 1. Assuming both nesting levels have DECIMAL glyph types, this would result in a list with rendered glyphs `1.` `2.` ` 2.1.` ` 2.2.` `3.` For nesting levels that are ordered, the string that replaces a placeholder in the glyph format for a particular paragraph depends on the paragraph's order within the list. - #[serde(rename="glyphFormat")] - pub glyph_format: Option, - /// A custom glyph symbol used by bullets when paragraphs at this level of nesting are unordered. The glyph symbol replaces placeholders within the glyph_format. For example, if the glyph_symbol is the solid circle corresponding to Unicode U+25cf code point and the glyph_format is `%0`, the rendered glyph would be the solid circle. - #[serde(rename="glyphSymbol")] - pub glyph_symbol: Option, - /// The type of glyph used by bullets when paragraphs at this level of nesting are ordered. The glyph type determines the type of glyph used to replace placeholders within the glyph_format when paragraphs at this level of nesting are ordered. For example, if the nesting level is 0, the glyph_format is `%0.` and the glyph type is DECIMAL, then the rendered glyph would replace the placeholder `%0` in the glyph format with a number corresponding to list item's order within the list. - #[serde(rename="glyphType")] - pub glyph_type: Option, - /// The amount of indentation for the first line of paragraphs at this level of nesting. - #[serde(rename="indentFirstLine")] - pub indent_first_line: Option, - /// The amount of indentation for paragraphs at this level of nesting. Applied to the side that corresponds to the start of the text, based on the paragraph's content direction. - #[serde(rename="indentStart")] - pub indent_start: Option, - /// The number of the first list item at this nesting level. A value of 0 is treated as a value of 1 for lettered lists and roman numeraled lists, i.e. for values of both 0 and 1, lettered and roman numeraled lists will begin at `a` and `i` respectively. This value is ignored for nesting levels with unordered glyphs. - #[serde(rename="startNumber")] - pub start_number: Option, - /// The text style of bullets at this level of nesting. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for NestingLevel {} - - -/// A mask that indicates which of the fields on the base NestingLevel have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct NestingLevelSuggestionState { - /// Indicates if there was a suggested change to bullet_alignment. - #[serde(rename="bulletAlignmentSuggested")] - pub bullet_alignment_suggested: Option, - /// Indicates if there was a suggested change to glyph_format. - #[serde(rename="glyphFormatSuggested")] - pub glyph_format_suggested: Option, - /// Indicates if there was a suggested change to glyph_symbol. - #[serde(rename="glyphSymbolSuggested")] - pub glyph_symbol_suggested: Option, - /// Indicates if there was a suggested change to glyph_type. - #[serde(rename="glyphTypeSuggested")] - pub glyph_type_suggested: Option, - /// Indicates if there was a suggested change to indent_first_line. - #[serde(rename="indentFirstLineSuggested")] - pub indent_first_line_suggested: Option, - /// Indicates if there was a suggested change to indent_start. - #[serde(rename="indentStartSuggested")] - pub indent_start_suggested: Option, - /// Indicates if there was a suggested change to start_number. - #[serde(rename="startNumberSuggested")] - pub start_number_suggested: Option, - /// A mask that indicates which of the fields in text style have been changed in this suggestion. - #[serde(rename="textStyleSuggestionState")] - pub text_style_suggestion_state: Option, -} - -impl client::Part for NestingLevelSuggestionState {} - - -/// A collection of object IDs. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ObjectReferences { - /// The object IDs. - #[serde(rename="objectIds")] - pub object_ids: Option>, -} - -impl client::Part for ObjectReferences {} - - -/// A color that can either be fully opaque or fully transparent. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct OptionalColor { - /// If set, this will be used as an opaque color. If unset, this represents a transparent color. - pub color: Option, -} - -impl client::Part for OptionalColor {} - - -/// A ParagraphElement representing a page break. A page break makes the subsequent text start at the top of the next 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 PageBreak { - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A PageBreak may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this PageBreak, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this PageBreak. Similar to text content, like text runs and footnote references, the text style of a page break can affect content layout as well as the styling of text inserted adjacent to it. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for PageBreak {} - - -/// A StructuralElement representing a paragraph. A paragraph is a range of content that is terminated with a newline character. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Paragraph { - /// The bullet for this paragraph. If not present, the paragraph does not belong to a list. - pub bullet: Option, - /// The content of the paragraph broken down into its component parts. - pub elements: Option>, - /// The style of this paragraph. - #[serde(rename="paragraphStyle")] - pub paragraph_style: Option, - /// The IDs of the positioned objects tethered to this paragraph. - #[serde(rename="positionedObjectIds")] - pub positioned_object_ids: Option>, - /// The suggested changes to this paragraph's bullet. - #[serde(rename="suggestedBulletChanges")] - pub suggested_bullet_changes: Option>, - /// The suggested paragraph style changes to this paragraph, keyed by suggestion ID. - #[serde(rename="suggestedParagraphStyleChanges")] - pub suggested_paragraph_style_changes: Option>, - /// The IDs of the positioned objects that are suggested to be attached to this paragraph, keyed by suggestion ID. - #[serde(rename="suggestedPositionedObjectIds")] - pub suggested_positioned_object_ids: Option>, -} - -impl client::Part for Paragraph {} - - -/// A border around a paragraph. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ParagraphBorder { - /// The color of the border. - pub color: Option, - /// The dash style of the border. - #[serde(rename="dashStyle")] - pub dash_style: Option, - /// The padding of the border. - pub padding: Option, - /// The width of the border. - pub width: Option, -} - -impl client::Part for ParagraphBorder {} - - -/// A ParagraphElement describes content within a Paragraph. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ParagraphElement { - /// An auto text paragraph element. - #[serde(rename="autoText")] - pub auto_text: Option, - /// A column break paragraph element. - #[serde(rename="columnBreak")] - pub column_break: Option, - /// The zero-base end index of this paragraph element, exclusive, in UTF-16 code units. - #[serde(rename="endIndex")] - pub end_index: Option, - /// An equation paragraph element. - pub equation: Option, - /// A footnote reference paragraph element. - #[serde(rename="footnoteReference")] - pub footnote_reference: Option, - /// A horizontal rule paragraph element. - #[serde(rename="horizontalRule")] - pub horizontal_rule: Option, - /// An inline object paragraph element. - #[serde(rename="inlineObjectElement")] - pub inline_object_element: Option, - /// A page break paragraph element. - #[serde(rename="pageBreak")] - pub page_break: Option, - /// A paragraph element that links to a person or email address. - pub person: Option, - /// The zero-based start index of this paragraph element, in UTF-16 code units. - #[serde(rename="startIndex")] - pub start_index: Option, - /// A text run paragraph element. - #[serde(rename="textRun")] - pub text_run: Option, -} - -impl client::Part for ParagraphElement {} - - -/// Styles that apply to a whole paragraph. Inherited paragraph styles are represented as unset fields in this message. A paragraph style's parent depends on where the paragraph style is defined: * The ParagraphStyle on a Paragraph inherits from the paragraph's corresponding named style type. * The ParagraphStyle on a named style inherits from the normal text named style. * The ParagraphStyle of the normal text named style inherits from the default paragraph style in the Docs editor. * The ParagraphStyle on a Paragraph element that is contained in a table may inherit its paragraph style from the table style. If the paragraph style does not inherit from a parent, unsetting fields will revert the style to a value matching the defaults in the Docs editor. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ParagraphStyle { - /// The text alignment for this paragraph. - pub alignment: Option, - /// Whether to avoid widows and orphans for the paragraph. If unset, the value is inherited from the parent. - #[serde(rename="avoidWidowAndOrphan")] - pub avoid_widow_and_orphan: Option, - /// The border between this paragraph and the next and previous paragraphs. If unset, the value is inherited from the parent. The between border is rendered when the adjacent paragraph has the same border and indent properties. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety. - #[serde(rename="borderBetween")] - pub border_between: Option, - /// The border at the bottom of this paragraph. If unset, the value is inherited from the parent. The bottom border is rendered when the paragraph below has different border and indent properties. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety. - #[serde(rename="borderBottom")] - pub border_bottom: Option, - /// The border to the left of this paragraph. If unset, the value is inherited from the parent. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety. - #[serde(rename="borderLeft")] - pub border_left: Option, - /// The border to the right of this paragraph. If unset, the value is inherited from the parent. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety. - #[serde(rename="borderRight")] - pub border_right: Option, - /// The border at the top of this paragraph. If unset, the value is inherited from the parent. The top border is rendered when the paragraph above has different border and indent properties. Paragraph borders cannot be partially updated. When making changes to a paragraph border the new border must be specified in its entirety. - #[serde(rename="borderTop")] - pub border_top: Option, - /// The text direction of this paragraph. If unset, the value defaults to LEFT_TO_RIGHT since paragraph direction is not inherited. - pub direction: Option, - /// The heading ID of the paragraph. If empty, then this paragraph is not a heading. This property is read-only. - #[serde(rename="headingId")] - pub heading_id: Option, - /// The amount of indentation for the paragraph on the side that corresponds to the end of the text, based on the current paragraph direction. If unset, the value is inherited from the parent. - #[serde(rename="indentEnd")] - pub indent_end: Option, - /// The amount of indentation for the first line of the paragraph. If unset, the value is inherited from the parent. - #[serde(rename="indentFirstLine")] - pub indent_first_line: Option, - /// The amount of indentation for the paragraph on the side that corresponds to the start of the text, based on the current paragraph direction. If unset, the value is inherited from the parent. - #[serde(rename="indentStart")] - pub indent_start: Option, - /// Whether all lines of the paragraph should be laid out on the same page or column if possible. If unset, the value is inherited from the parent. - #[serde(rename="keepLinesTogether")] - pub keep_lines_together: Option, - /// Whether at least a part of this paragraph should be laid out on the same page or column as the next paragraph if possible. If unset, the value is inherited from the parent. - #[serde(rename="keepWithNext")] - pub keep_with_next: Option, - /// The amount of space between lines, as a percentage of normal, where normal is represented as 100.0. If unset, the value is inherited from the parent. - #[serde(rename="lineSpacing")] - pub line_spacing: Option, - /// The named style type of the paragraph. Since updating the named style type affects other properties within ParagraphStyle, the named style type is applied before the other properties are updated. - #[serde(rename="namedStyleType")] - pub named_style_type: Option, - /// The shading of the paragraph. If unset, the value is inherited from the parent. - pub shading: Option, - /// The amount of extra space above the paragraph. If unset, the value is inherited from the parent. - #[serde(rename="spaceAbove")] - pub space_above: Option, - /// The amount of extra space below the paragraph. If unset, the value is inherited from the parent. - #[serde(rename="spaceBelow")] - pub space_below: Option, - /// The spacing mode for the paragraph. - #[serde(rename="spacingMode")] - pub spacing_mode: Option, - /// A list of the tab stops for this paragraph. The list of tab stops is not inherited. This property is read-only. - #[serde(rename="tabStops")] - pub tab_stops: Option>, -} - -impl client::Part for ParagraphStyle {} - - -/// A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ParagraphStyleSuggestionState { - /// Indicates if there was a suggested change to alignment. - #[serde(rename="alignmentSuggested")] - pub alignment_suggested: Option, - /// Indicates if there was a suggested change to avoid_widow_and_orphan. - #[serde(rename="avoidWidowAndOrphanSuggested")] - pub avoid_widow_and_orphan_suggested: Option, - /// Indicates if there was a suggested change to border_between. - #[serde(rename="borderBetweenSuggested")] - pub border_between_suggested: Option, - /// Indicates if there was a suggested change to border_bottom. - #[serde(rename="borderBottomSuggested")] - pub border_bottom_suggested: Option, - /// Indicates if there was a suggested change to border_left. - #[serde(rename="borderLeftSuggested")] - pub border_left_suggested: Option, - /// Indicates if there was a suggested change to border_right. - #[serde(rename="borderRightSuggested")] - pub border_right_suggested: Option, - /// Indicates if there was a suggested change to border_top. - #[serde(rename="borderTopSuggested")] - pub border_top_suggested: Option, - /// Indicates if there was a suggested change to direction. - #[serde(rename="directionSuggested")] - pub direction_suggested: Option, - /// Indicates if there was a suggested change to heading_id. - #[serde(rename="headingIdSuggested")] - pub heading_id_suggested: Option, - /// Indicates if there was a suggested change to indent_end. - #[serde(rename="indentEndSuggested")] - pub indent_end_suggested: Option, - /// Indicates if there was a suggested change to indent_first_line. - #[serde(rename="indentFirstLineSuggested")] - pub indent_first_line_suggested: Option, - /// Indicates if there was a suggested change to indent_start. - #[serde(rename="indentStartSuggested")] - pub indent_start_suggested: Option, - /// Indicates if there was a suggested change to keep_lines_together. - #[serde(rename="keepLinesTogetherSuggested")] - pub keep_lines_together_suggested: Option, - /// Indicates if there was a suggested change to keep_with_next. - #[serde(rename="keepWithNextSuggested")] - pub keep_with_next_suggested: Option, - /// Indicates if there was a suggested change to line_spacing. - #[serde(rename="lineSpacingSuggested")] - pub line_spacing_suggested: Option, - /// Indicates if there was a suggested change to named_style_type. - #[serde(rename="namedStyleTypeSuggested")] - pub named_style_type_suggested: Option, - /// A mask that indicates which of the fields in shading have been changed in this suggestion. - #[serde(rename="shadingSuggestionState")] - pub shading_suggestion_state: Option, - /// Indicates if there was a suggested change to space_above. - #[serde(rename="spaceAboveSuggested")] - pub space_above_suggested: Option, - /// Indicates if there was a suggested change to space_below. - #[serde(rename="spaceBelowSuggested")] - pub space_below_suggested: Option, - /// Indicates if there was a suggested change to spacing_mode. - #[serde(rename="spacingModeSuggested")] - pub spacing_mode_suggested: Option, -} - -impl client::Part for ParagraphStyleSuggestionState {} - - -/// A person or email address mentioned in a document. These mentions behave as a single, immutable element containing the person's name or email address. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Person { - /// Output only. The unique ID of this link. - #[serde(rename="personId")] - pub person_id: Option, - /// Output only. The properties of this Person. This field is always present. - #[serde(rename="personProperties")] - pub person_properties: Option, - /// IDs for suggestions that remove this person link from the document. A Person might have multiple deletion IDs if, for example, multiple users suggest to delete it. If empty, then this person link isn't suggested for deletion. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// IDs for suggestions that insert this person link into the document. A Person might have multiple insertion IDs if it is a nested suggested change (a suggestion within a suggestion made by a different user, for example). If empty, then this person link isn't a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this Person, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this Person. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for Person {} - - -/// Properties specific to a linked Person. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PersonProperties { - /// Output only. The email address linked to this Person. This field is always present. - pub email: Option, - /// Output only. The name of the person if it is displayed in the link text instead of the person's email address. - pub name: Option, -} - -impl client::Part for PersonProperties {} - - -/// An object that is tethered to a Paragraph and positioned relative to the beginning of the paragraph. A PositionedObject contains an EmbeddedObject such as 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 PositionedObject { - /// The ID of this positioned object. - #[serde(rename="objectId")] - pub object_id: Option, - /// The properties of this positioned object. - #[serde(rename="positionedObjectProperties")] - pub positioned_object_properties: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion ID. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionId")] - pub suggested_insertion_id: Option, - /// The suggested changes to the positioned object properties, keyed by suggestion ID. - #[serde(rename="suggestedPositionedObjectPropertiesChanges")] - pub suggested_positioned_object_properties_changes: Option>, -} - -impl client::Part for PositionedObject {} - - -/// The positioning of a PositionedObject. The positioned object is positioned relative to the beginning of the Paragraph it is tethered to. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PositionedObjectPositioning { - /// The layout of this positioned object. - pub layout: Option, - /// The offset of the left edge of the positioned object relative to the beginning of the Paragraph it is tethered to. The exact positioning of the object can depend on other content in the document and the document's styling. - #[serde(rename="leftOffset")] - pub left_offset: Option, - /// The offset of the top edge of the positioned object relative to the beginning of the Paragraph it is tethered to. The exact positioning of the object can depend on other content in the document and the document's styling. - #[serde(rename="topOffset")] - pub top_offset: Option, -} - -impl client::Part for PositionedObjectPositioning {} - - -/// A mask that indicates which of the fields on the base PositionedObjectPositioning have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PositionedObjectPositioningSuggestionState { - /// Indicates if there was a suggested change to layout. - #[serde(rename="layoutSuggested")] - pub layout_suggested: Option, - /// Indicates if there was a suggested change to left_offset. - #[serde(rename="leftOffsetSuggested")] - pub left_offset_suggested: Option, - /// Indicates if there was a suggested change to top_offset. - #[serde(rename="topOffsetSuggested")] - pub top_offset_suggested: Option, -} - -impl client::Part for PositionedObjectPositioningSuggestionState {} - - -/// Properties of a PositionedObject. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PositionedObjectProperties { - /// The embedded object of this positioned object. - #[serde(rename="embeddedObject")] - pub embedded_object: Option, - /// The positioning of this positioned object relative to the newline of the Paragraph that references this positioned object. - pub positioning: Option, -} - -impl client::Part for PositionedObjectProperties {} - - -/// A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct PositionedObjectPropertiesSuggestionState { - /// A mask that indicates which of the fields in embedded_object have been changed in this suggestion. - #[serde(rename="embeddedObjectSuggestionState")] - pub embedded_object_suggestion_state: Option, - /// A mask that indicates which of the fields in positioning have been changed in this suggestion. - #[serde(rename="positioningSuggestionState")] - pub positioning_suggestion_state: Option, -} - -impl client::Part for PositionedObjectPropertiesSuggestionState {} - - -/// Specifies a contiguous range of 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 Range { - /// The zero-based end index of this range, exclusive, in UTF-16 code units. In all current uses, an end index must be provided. This field is an Int32Value in order to accommodate future use cases with open-ended ranges. - #[serde(rename="endIndex")] - pub end_index: Option, - /// The ID of the header, footer or footnote that this range is contained in. An empty segment ID signifies the document's body. - #[serde(rename="segmentId")] - pub segment_id: Option, - /// The zero-based start index of this range, in UTF-16 code units. In all current uses, a start index must be provided. This field is an Int32Value in order to accommodate future use cases with open-ended ranges. - #[serde(rename="startIndex")] - pub start_index: Option, -} - -impl client::Part for Range {} - - -/// 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 the document 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 client::Part for ReplaceAllTextRequest {} - - -/// The result of replacing 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 ReplaceAllTextResponse { - /// The number of occurrences changed by replacing all text. - #[serde(rename="occurrencesChanged")] - pub occurrences_changed: Option, -} - -impl client::Part for ReplaceAllTextResponse {} - - -/// Replaces an existing image with a new image. Replacing an image removes some image effects from the existing image in order to mirror the behavior of the Docs editor. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ReplaceImageRequest { - /// The ID of the existing image that will be replaced. - #[serde(rename="imageObjectId")] - pub image_object_id: Option, - /// The replacement method. - #[serde(rename="imageReplaceMethod")] - pub image_replace_method: Option, - /// The URI of the new image. The image is fetched once at insertion time and a copy is stored for display inside the document. Images must be less than 50MB in size, cannot exceed 25 megapixels, and must be in one of PNG, JPEG, or GIF format. The provided URI can be at most 2 kB in length. The URI itself is saved with the image, and exposed via the ImageProperties.source_uri field. - pub uri: Option, -} - -impl client::Part for ReplaceImageRequest {} - - -/// Replaces the contents of the specified NamedRange or NamedRanges with the given replacement content. Note that an individual NamedRange may consist of multiple discontinuous ranges. In this case, only the content in the first range will be replaced. The other ranges and their content will be deleted. In cases where replacing or deleting any ranges would result in an invalid document structure, a 400 bad request error is returned. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ReplaceNamedRangeContentRequest { - /// The ID of the named range whose content will be replaced. If there is no named range with the given ID a 400 bad request error is returned. - #[serde(rename="namedRangeId")] - pub named_range_id: Option, - /// The name of the NamedRanges whose content will be replaced. If there are multiple named ranges with the given name, then the content of each one will be replaced. If there are no named ranges with the given name, then the request will be a no-op. - #[serde(rename="namedRangeName")] - pub named_range_name: Option, - /// Replaces the content of the specified named range(s) with the given text. - pub text: Option, -} - -impl client::Part for ReplaceNamedRangeContentRequest {} - - -/// A single update to apply to a document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Request { - /// Creates a footer. - #[serde(rename="createFooter")] - pub create_footer: Option, - /// Creates a footnote. - #[serde(rename="createFootnote")] - pub create_footnote: Option, - /// Creates a header. - #[serde(rename="createHeader")] - pub create_header: Option, - /// Creates a named range. - #[serde(rename="createNamedRange")] - pub create_named_range: Option, - /// Creates bullets for paragraphs. - #[serde(rename="createParagraphBullets")] - pub create_paragraph_bullets: Option, - /// Deletes content from the document. - #[serde(rename="deleteContentRange")] - pub delete_content_range: Option, - /// Deletes a footer from the document. - #[serde(rename="deleteFooter")] - pub delete_footer: Option, - /// Deletes a header from the document. - #[serde(rename="deleteHeader")] - pub delete_header: Option, - /// Deletes a named range. - #[serde(rename="deleteNamedRange")] - pub delete_named_range: Option, - /// Deletes bullets from paragraphs. - #[serde(rename="deleteParagraphBullets")] - pub delete_paragraph_bullets: Option, - /// Deletes a positioned object from the document. - #[serde(rename="deletePositionedObject")] - pub delete_positioned_object: Option, - /// Deletes a column from a table. - #[serde(rename="deleteTableColumn")] - pub delete_table_column: Option, - /// Deletes a row from a table. - #[serde(rename="deleteTableRow")] - pub delete_table_row: Option, - /// Inserts an inline image at the specified location. - #[serde(rename="insertInlineImage")] - pub insert_inline_image: Option, - /// Inserts a page break at the specified location. - #[serde(rename="insertPageBreak")] - pub insert_page_break: Option, - /// Inserts a section break at the specified location. - #[serde(rename="insertSectionBreak")] - pub insert_section_break: Option, - /// Inserts a table at the specified location. - #[serde(rename="insertTable")] - pub insert_table: Option, - /// Inserts an empty column into a table. - #[serde(rename="insertTableColumn")] - pub insert_table_column: Option, - /// Inserts an empty row into a table. - #[serde(rename="insertTableRow")] - pub insert_table_row: Option, - /// Inserts text at the specified location. - #[serde(rename="insertText")] - pub insert_text: Option, - /// Merges cells in a table. - #[serde(rename="mergeTableCells")] - pub merge_table_cells: Option, - /// Replaces all instances of the specified text. - #[serde(rename="replaceAllText")] - pub replace_all_text: Option, - /// Replaces an image in the document. - #[serde(rename="replaceImage")] - pub replace_image: Option, - /// Replaces the content in a named range. - #[serde(rename="replaceNamedRangeContent")] - pub replace_named_range_content: Option, - /// Unmerges cells in a table. - #[serde(rename="unmergeTableCells")] - pub unmerge_table_cells: Option, - /// Updates the style of the document. - #[serde(rename="updateDocumentStyle")] - pub update_document_style: Option, - /// Updates the paragraph style at the specified range. - #[serde(rename="updateParagraphStyle")] - pub update_paragraph_style: Option, - /// Updates the section style of the specified range. - #[serde(rename="updateSectionStyle")] - pub update_section_style: Option, - /// Updates the style of table cells. - #[serde(rename="updateTableCellStyle")] - pub update_table_cell_style: Option, - /// Updates the properties of columns in a table. - #[serde(rename="updateTableColumnProperties")] - pub update_table_column_properties: Option, - /// Updates the row style in a table. - #[serde(rename="updateTableRowStyle")] - pub update_table_row_style: Option, - /// Updates the text style at the specified range. - #[serde(rename="updateTextStyle")] - pub update_text_style: Option, -} - -impl client::Part for Request {} - - -/// A single response from an update. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Response { - /// The result of creating a footer. - #[serde(rename="createFooter")] - pub create_footer: Option, - /// The result of creating a footnote. - #[serde(rename="createFootnote")] - pub create_footnote: Option, - /// The result of creating a header. - #[serde(rename="createHeader")] - pub create_header: Option, - /// The result of creating a named range. - #[serde(rename="createNamedRange")] - pub create_named_range: Option, - /// The result of inserting an inline image. - #[serde(rename="insertInlineImage")] - pub insert_inline_image: Option, - /// The result of inserting an inline Google Sheets chart. - #[serde(rename="insertInlineSheetsChart")] - pub insert_inline_sheets_chart: Option, - /// The result of replacing text. - #[serde(rename="replaceAllText")] - pub replace_all_text: Option, -} - -impl client::Part for Response {} - - -/// An RGB color. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct RgbColor { - /// The blue component of the color, from 0.0 to 1.0. - pub blue: Option, - /// The green component of the color, from 0.0 to 1.0. - pub green: Option, - /// The red component of the color, from 0.0 to 1.0. - pub red: Option, -} - -impl client::Part for RgbColor {} - - -/// A StructuralElement representing a section break. A section is a range of content which has the same SectionStyle. A section break represents the start of a new section, and the section style applies to the section after the section break. The document body always begins with a section break. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SectionBreak { - /// The style of the section after this section break. - #[serde(rename="sectionStyle")] - pub section_style: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A SectionBreak may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, -} - -impl client::Part for SectionBreak {} - - -/// Properties that apply to a section's 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 SectionColumnProperties { - /// The padding at the end of the column. - #[serde(rename="paddingEnd")] - pub padding_end: Option, - /// Output only. The width of the column. - pub width: Option, -} - -impl client::Part for SectionColumnProperties {} - - -/// The styling that applies to a section. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SectionStyle { - /// The section's columns properties. If empty, the section contains one column with the default properties in the Docs editor. A section can be updated to have no more than three columns. When updating this property, setting a concrete value is required. Unsetting this property will result in a 400 bad request error. - #[serde(rename="columnProperties")] - pub column_properties: Option>, - /// The style of column separators. This style can be set even when there is one column in the section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="columnSeparatorStyle")] - pub column_separator_style: Option, - /// The content direction of this section. If unset, the value defaults to LEFT_TO_RIGHT. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="contentDirection")] - pub content_direction: Option, - /// The ID of the default footer. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_footer_id. This property is read-only. - #[serde(rename="defaultFooterId")] - pub default_footer_id: Option, - /// The ID of the default header. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's default_header_id. This property is read-only. - #[serde(rename="defaultHeaderId")] - pub default_header_id: Option, - /// The ID of the footer used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the footers on even pages in the section. If it is false, the footers on even pages uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_footer_id. This property is read-only. - #[serde(rename="evenPageFooterId")] - pub even_page_footer_id: Option, - /// The ID of the header used only for even pages. If the value of DocumentStyle's use_even_page_header_footer is true, this value is used for the headers on even pages in the section. If it is false, the headers on even pages uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's even_page_header_id. This property is read-only. - #[serde(rename="evenPageHeaderId")] - pub even_page_header_id: Option, - /// The ID of the footer used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the footer on the first page of the section. If it is false, the footer on the first page of the section uses the default_footer_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_footer_id. This property is read-only. - #[serde(rename="firstPageFooterId")] - pub first_page_footer_id: Option, - /// The ID of the header used only for the first page of the section. If use_first_page_header_footer is true, this value is used for the header on the first page of the section. If it is false, the header on the first page of the section uses the default_header_id. If unset, the value inherits from the previous SectionBreak's SectionStyle. If the value is unset in the first SectionBreak, it inherits from DocumentStyle's first_page_header_id. This property is read-only. - #[serde(rename="firstPageHeaderId")] - pub first_page_header_id: Option, - /// The bottom page margin of the section. If unset, uses margin_bottom from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="marginBottom")] - pub margin_bottom: Option, - /// The footer margin of the section. If unset, uses margin_footer from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a footer margin is being respected for this section When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="marginFooter")] - pub margin_footer: Option, - /// The header margin of the section. If unset, uses margin_header from DocumentStyle. If updated, use_custom_header_footer_margins is set to true on DocumentStyle. The value of use_custom_header_footer_margins on DocumentStyle indicates if a header margin is being respected for this section. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="marginHeader")] - pub margin_header: Option, - /// The left page margin of the section. If unset, uses margin_left from DocumentStyle. Updating left margin causes columns in this section to resize. Since the margin affects column width, it is applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="marginLeft")] - pub margin_left: Option, - /// The right page margin of the section. If unset, uses margin_right from DocumentStyle. Updating right margin causes columns in this section to resize. Since the margin affects column width, it is applied before column properties. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="marginRight")] - pub margin_right: Option, - /// The top page margin of the section. If unset, uses margin_top from DocumentStyle. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="marginTop")] - pub margin_top: Option, - /// The page number from which to start counting the number of pages for this section. If unset, page numbering continues from the previous section. If the value is unset in the first SectionBreak, refer to DocumentStyle's page_number_start. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="pageNumberStart")] - pub page_number_start: Option, - /// Output only. The type of section. - #[serde(rename="sectionType")] - pub section_type: Option, - /// Indicates whether to use the first page header / footer IDs for the first page of the section. If unset, it inherits from DocumentStyle's use_first_page_header_footer for the first section. If the value is unset for subsequent sectors, it should be interpreted as false. When updating this property, setting a concrete value is required. Unsetting this property results in a 400 bad request error. - #[serde(rename="useFirstPageHeaderFooter")] - pub use_first_page_header_footer: Option, -} - -impl client::Part for SectionStyle {} - - -/// The shading of a paragraph. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Shading { - /// The background color of this paragraph shading. - #[serde(rename="backgroundColor")] - pub background_color: Option, -} - -impl client::Part for Shading {} - - -/// A mask that indicates which of the fields on the base Shading have been changed in this suggested change. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ShadingSuggestionState { - /// Indicates if there was a suggested change to the Shading. - #[serde(rename="backgroundColorSuggested")] - pub background_color_suggested: Option, -} - -impl client::Part for ShadingSuggestionState {} - - -/// A reference to a linked chart embedded from Google Sheets. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SheetsChartReference { - /// The ID of the specific chart in the Google Sheets spreadsheet that is embedded. - #[serde(rename="chartId")] - pub chart_id: Option, - /// The ID of the Google Sheets spreadsheet that contains the source chart. - #[serde(rename="spreadsheetId")] - pub spreadsheet_id: Option, -} - -impl client::Part for SheetsChartReference {} - - -/// A mask that indicates which of the fields on the base SheetsChartReference have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SheetsChartReferenceSuggestionState { - /// Indicates if there was a suggested change to chart_id. - #[serde(rename="chartIdSuggested")] - pub chart_id_suggested: Option, - /// Indicates if there was a suggested change to spreadsheet_id. - #[serde(rename="spreadsheetIdSuggested")] - pub spreadsheet_id_suggested: Option, -} - -impl client::Part for SheetsChartReferenceSuggestionState {} - - -/// A width and height. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct Size { - /// The height of the object. - pub height: Option, - /// The width of the object. - pub width: Option, -} - -impl client::Part for Size {} - - -/// A mask that indicates which of the fields on the base Size have been changed in this suggestion. For any field set to true, the Size has a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SizeSuggestionState { - /// Indicates if there was a suggested change to height. - #[serde(rename="heightSuggested")] - pub height_suggested: Option, - /// Indicates if there was a suggested change to width. - #[serde(rename="widthSuggested")] - pub width_suggested: Option, -} - -impl client::Part for SizeSuggestionState {} - - -/// A StructuralElement describes content that provides structure to the document. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct StructuralElement { - /// The zero-based end index of this structural element, exclusive, in UTF-16 code units. - #[serde(rename="endIndex")] - pub end_index: Option, - /// A paragraph type of structural element. - pub paragraph: Option, - /// A section break type of structural element. - #[serde(rename="sectionBreak")] - pub section_break: Option, - /// The zero-based start index of this structural element, in UTF-16 code units. - #[serde(rename="startIndex")] - pub start_index: Option, - /// A table type of structural element. - pub table: Option, - /// A table of contents type of structural element. - #[serde(rename="tableOfContents")] - pub table_of_contents: Option, -} - -impl client::Part for StructuralElement {} - - -/// A criteria that matches a specific string of text in the document. -/// -/// 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 { - /// 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, - /// The text to search for in the document. - pub text: Option, -} - -impl client::Part for SubstringMatchCriteria {} - - -/// A suggested change to a Bullet. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedBullet { - /// A Bullet that only includes the changes made in this suggestion. This can be used along with the bullet_suggestion_state to see which fields have changed and their new values. - pub bullet: Option, - /// A mask that indicates which of the fields on the base Bullet have been changed in this suggestion. - #[serde(rename="bulletSuggestionState")] - pub bullet_suggestion_state: Option, -} - -impl client::Part for SuggestedBullet {} - - -/// A suggested change to the DocumentStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedDocumentStyle { - /// A DocumentStyle that only includes the changes made in this suggestion. This can be used along with the document_style_suggestion_state to see which fields have changed and their new values. - #[serde(rename="documentStyle")] - pub document_style: Option, - /// A mask that indicates which of the fields on the base DocumentStyle have been changed in this suggestion. - #[serde(rename="documentStyleSuggestionState")] - pub document_style_suggestion_state: Option, -} - -impl client::Part for SuggestedDocumentStyle {} - - -/// A suggested change to InlineObjectProperties. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedInlineObjectProperties { - /// An InlineObjectProperties that only includes the changes made in this suggestion. This can be used along with the inline_object_properties_suggestion_state to see which fields have changed and their new values. - #[serde(rename="inlineObjectProperties")] - pub inline_object_properties: Option, - /// A mask that indicates which of the fields on the base InlineObjectProperties have been changed in this suggestion. - #[serde(rename="inlineObjectPropertiesSuggestionState")] - pub inline_object_properties_suggestion_state: Option, -} - -impl client::Part for SuggestedInlineObjectProperties {} - - -/// A suggested change to ListProperties. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedListProperties { - /// A ListProperties that only includes the changes made in this suggestion. This can be used along with the list_properties_suggestion_state to see which fields have changed and their new values. - #[serde(rename="listProperties")] - pub list_properties: Option, - /// A mask that indicates which of the fields on the base ListProperties have been changed in this suggestion. - #[serde(rename="listPropertiesSuggestionState")] - pub list_properties_suggestion_state: Option, -} - -impl client::Part for SuggestedListProperties {} - - -/// A suggested change to the NamedStyles. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedNamedStyles { - /// A NamedStyles that only includes the changes made in this suggestion. This can be used along with the named_styles_suggestion_state to see which fields have changed and their new values. - #[serde(rename="namedStyles")] - pub named_styles: Option, - /// A mask that indicates which of the fields on the base NamedStyles have been changed in this suggestion. - #[serde(rename="namedStylesSuggestionState")] - pub named_styles_suggestion_state: Option, -} - -impl client::Part for SuggestedNamedStyles {} - - -/// A suggested change to a ParagraphStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedParagraphStyle { - /// A ParagraphStyle that only includes the changes made in this suggestion. This can be used along with the paragraph_suggestion_state to see which fields have changed and their new values. - #[serde(rename="paragraphStyle")] - pub paragraph_style: Option, - /// A mask that indicates which of the fields on the base ParagraphStyle have been changed in this suggestion. - #[serde(rename="paragraphStyleSuggestionState")] - pub paragraph_style_suggestion_state: Option, -} - -impl client::Part for SuggestedParagraphStyle {} - - -/// A suggested change to PositionedObjectProperties. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedPositionedObjectProperties { - /// A PositionedObjectProperties that only includes the changes made in this suggestion. This can be used along with the positioned_object_properties_suggestion_state to see which fields have changed and their new values. - #[serde(rename="positionedObjectProperties")] - pub positioned_object_properties: Option, - /// A mask that indicates which of the fields on the base PositionedObjectProperties have been changed in this suggestion. - #[serde(rename="positionedObjectPropertiesSuggestionState")] - pub positioned_object_properties_suggestion_state: Option, -} - -impl client::Part for SuggestedPositionedObjectProperties {} - - -/// A suggested change to a TableCellStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedTableCellStyle { - /// A TableCellStyle that only includes the changes made in this suggestion. This can be used along with the table_cell_style_suggestion_state to see which fields have changed and their new values. - #[serde(rename="tableCellStyle")] - pub table_cell_style: Option, - /// A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. - #[serde(rename="tableCellStyleSuggestionState")] - pub table_cell_style_suggestion_state: Option, -} - -impl client::Part for SuggestedTableCellStyle {} - - -/// A suggested change to a TableRowStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedTableRowStyle { - /// A TableRowStyle that only includes the changes made in this suggestion. This can be used along with the table_row_style_suggestion_state to see which fields have changed and their new values. - #[serde(rename="tableRowStyle")] - pub table_row_style: Option, - /// A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. - #[serde(rename="tableRowStyleSuggestionState")] - pub table_row_style_suggestion_state: Option, -} - -impl client::Part for SuggestedTableRowStyle {} - - -/// A suggested change to a TextStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct SuggestedTextStyle { - /// A TextStyle that only includes the changes made in this suggestion. This can be used along with the text_style_suggestion_state to see which fields have changed and their new values. - #[serde(rename="textStyle")] - pub text_style: Option, - /// A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. - #[serde(rename="textStyleSuggestionState")] - pub text_style_suggestion_state: Option, -} - -impl client::Part for SuggestedTextStyle {} - - -/// A tab stop within a paragraph. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TabStop { - /// The alignment of this tab stop. If unset, the value defaults to START. - pub alignment: Option, - /// The offset between this tab stop and the start margin. - pub offset: Option, -} - -impl client::Part for TabStop {} - - -/// A StructuralElement representing 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 Table { - /// Number of columns in the table. It is possible for a table to be non-rectangular, so some rows may have a different number of cells. - pub columns: Option, - /// Number of rows in the table. - pub rows: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A Table may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The contents and style of each row. - #[serde(rename="tableRows")] - pub table_rows: Option>, - /// The style of the table. - #[serde(rename="tableStyle")] - pub table_style: Option, -} - -impl client::Part for Table {} - - -/// The contents and style of a cell in 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 TableCell { - /// The content of the cell. - pub content: Option>, - /// The zero-based end index of this cell, exclusive, in UTF-16 code units. - #[serde(rename="endIndex")] - pub end_index: Option, - /// The zero-based start index of this cell, in UTF-16 code units. - #[serde(rename="startIndex")] - pub start_index: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A TableCell may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested changes to the table cell style, keyed by suggestion ID. - #[serde(rename="suggestedTableCellStyleChanges")] - pub suggested_table_cell_style_changes: Option>, - /// The style of the cell. - #[serde(rename="tableCellStyle")] - pub table_cell_style: Option, -} - -impl client::Part for TableCell {} - - -/// A border around a table cell. Table cell borders cannot be transparent. To hide a table cell border, make its width 0. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableCellBorder { - /// The color of the border. This color cannot be transparent. - pub color: Option, - /// The dash style of the border. - #[serde(rename="dashStyle")] - pub dash_style: Option, - /// The width of the border. - pub width: Option, -} - -impl client::Part for TableCellBorder {} - - -/// Location of a single cell within 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 TableCellLocation { - /// The zero-based column index. For example, the second column in the table has a column index of 1. - #[serde(rename="columnIndex")] - pub column_index: Option, - /// The zero-based row index. For example, the second row in the table has a row index of 1. - #[serde(rename="rowIndex")] - pub row_index: Option, - /// The location where the table starts in the document. - #[serde(rename="tableStartLocation")] - pub table_start_location: Option, -} - -impl client::Part for TableCellLocation {} - - -/// The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableCellStyle { - /// The background color of the cell. - #[serde(rename="backgroundColor")] - pub background_color: Option, - /// The bottom border of the cell. - #[serde(rename="borderBottom")] - pub border_bottom: Option, - /// The left border of the cell. - #[serde(rename="borderLeft")] - pub border_left: Option, - /// The right border of the cell. - #[serde(rename="borderRight")] - pub border_right: Option, - /// The top border of the cell. - #[serde(rename="borderTop")] - pub border_top: Option, - /// The column span of the cell. This property is read-only. - #[serde(rename="columnSpan")] - pub column_span: Option, - /// The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor. - #[serde(rename="contentAlignment")] - pub content_alignment: Option, - /// The bottom padding of the cell. - #[serde(rename="paddingBottom")] - pub padding_bottom: Option, - /// The left padding of the cell. - #[serde(rename="paddingLeft")] - pub padding_left: Option, - /// The right padding of the cell. - #[serde(rename="paddingRight")] - pub padding_right: Option, - /// The top padding of the cell. - #[serde(rename="paddingTop")] - pub padding_top: Option, - /// The row span of the cell. This property is read-only. - #[serde(rename="rowSpan")] - pub row_span: Option, -} - -impl client::Part for TableCellStyle {} - - -/// A mask that indicates which of the fields on the base TableCellStyle have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableCellStyleSuggestionState { - /// Indicates if there was a suggested change to background_color. - #[serde(rename="backgroundColorSuggested")] - pub background_color_suggested: Option, - /// Indicates if there was a suggested change to border_bottom. - #[serde(rename="borderBottomSuggested")] - pub border_bottom_suggested: Option, - /// Indicates if there was a suggested change to border_left. - #[serde(rename="borderLeftSuggested")] - pub border_left_suggested: Option, - /// Indicates if there was a suggested change to border_right. - #[serde(rename="borderRightSuggested")] - pub border_right_suggested: Option, - /// Indicates if there was a suggested change to border_top. - #[serde(rename="borderTopSuggested")] - pub border_top_suggested: Option, - /// Indicates if there was a suggested change to column_span. - #[serde(rename="columnSpanSuggested")] - pub column_span_suggested: Option, - /// Indicates if there was a suggested change to content_alignment. - #[serde(rename="contentAlignmentSuggested")] - pub content_alignment_suggested: Option, - /// Indicates if there was a suggested change to padding_bottom. - #[serde(rename="paddingBottomSuggested")] - pub padding_bottom_suggested: Option, - /// Indicates if there was a suggested change to padding_left. - #[serde(rename="paddingLeftSuggested")] - pub padding_left_suggested: Option, - /// Indicates if there was a suggested change to padding_right. - #[serde(rename="paddingRightSuggested")] - pub padding_right_suggested: Option, - /// Indicates if there was a suggested change to padding_top. - #[serde(rename="paddingTopSuggested")] - pub padding_top_suggested: Option, - /// Indicates if there was a suggested change to row_span. - #[serde(rename="rowSpanSuggested")] - pub row_span_suggested: Option, -} - -impl client::Part for TableCellStyleSuggestionState {} - - -/// The properties of a column in 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 TableColumnProperties { - /// The width of the column. Set when the column's `width_type` is FIXED_WIDTH. - pub width: Option, - /// The width type of the column. - #[serde(rename="widthType")] - pub width_type: Option, -} - -impl client::Part for TableColumnProperties {} - - -/// A StructuralElement representing a table of contents. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableOfContents { - /// The content of the table of contents. - pub content: Option>, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A TableOfContents may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, -} - -impl client::Part for TableOfContents {} - - -/// A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this: [ ] A table range with table cell location = (table_start_location, row = 0, column = 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ] -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableRange { - /// The column span of the table range. - #[serde(rename="columnSpan")] - pub column_span: Option, - /// The row span of the table range. - #[serde(rename="rowSpan")] - pub row_span: Option, - /// The cell location where the table range starts. - #[serde(rename="tableCellLocation")] - pub table_cell_location: Option, -} - -impl client::Part for TableRange {} - - -/// The contents and style of a row in 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 TableRow { - /// The zero-based end index of this row, exclusive, in UTF-16 code units. - #[serde(rename="endIndex")] - pub end_index: Option, - /// The zero-based start index of this row, in UTF-16 code units. - #[serde(rename="startIndex")] - pub start_index: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A TableRow may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested style changes to this row, keyed by suggestion ID. - #[serde(rename="suggestedTableRowStyleChanges")] - pub suggested_table_row_style_changes: Option>, - /// The contents and style of each cell in this row. It is possible for a table to be non-rectangular, so some rows may have a different number of cells than other rows in the same table. - #[serde(rename="tableCells")] - pub table_cells: Option>, - /// The style of the table row. - #[serde(rename="tableRowStyle")] - pub table_row_style: Option, -} - -impl client::Part for TableRow {} - - -/// Styles that apply to a table row. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableRowStyle { - /// The minimum height of the row. The row will be rendered in the Docs editor at a height equal to or greater than this value in order to show all the content in the row's cells. - #[serde(rename="minRowHeight")] - pub min_row_height: Option, -} - -impl client::Part for TableRowStyle {} - - -/// A mask that indicates which of the fields on the base TableRowStyle have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TableRowStyleSuggestionState { - /// Indicates if there was a suggested change to min_row_height. - #[serde(rename="minRowHeightSuggested")] - pub min_row_height_suggested: Option, -} - -impl client::Part for TableRowStyleSuggestionState {} - - -/// Styles that apply to 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 TableStyle { - /// The properties of each column. Note that in Docs, tables contain rows and rows contain cells, similar to HTML. So the properties for a row can be found on the row's table_row_style. - #[serde(rename="tableColumnProperties")] - pub table_column_properties: Option>, -} - -impl client::Part for TableStyle {} - - -/// A ParagraphElement that represents a run of text that all has the same styling. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TextRun { - /// The text of this run. Any non-text elements in the run are replaced with the Unicode character U+E907. - pub content: Option, - /// The suggested deletion IDs. If empty, then there are no suggested deletions of this content. - #[serde(rename="suggestedDeletionIds")] - pub suggested_deletion_ids: Option>, - /// The suggested insertion IDs. A TextRun may have multiple insertion IDs if it is a nested suggested change. If empty, then this is not a suggested insertion. - #[serde(rename="suggestedInsertionIds")] - pub suggested_insertion_ids: Option>, - /// The suggested text style changes to this run, keyed by suggestion ID. - #[serde(rename="suggestedTextStyleChanges")] - pub suggested_text_style_changes: Option>, - /// The text style of this run. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for TextRun {} - - -/// Represents the styling that can be applied to text. Inherited text styles are represented as unset fields in this message. A text style's parent depends on where the text style is defined: * The TextStyle of text in a Paragraph inherits from the paragraph's corresponding named style type. * The TextStyle on a named style inherits from the normal text named style. * The TextStyle of the normal text named style inherits from the default text style in the Docs editor. * The TextStyle on a Paragraph element that is contained in a table may inherit its text style from the table style. If the text style does not inherit from a parent, unsetting fields will revert the style to a value matching the defaults in the Docs editor. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TextStyle { - /// The background color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field. - #[serde(rename="backgroundColor")] - pub background_color: Option, - /// The text's vertical offset from its normal position. Text with `SUPERSCRIPT` or `SUBSCRIPT` baseline offsets is automatically rendered in a smaller font size, computed based on the `font_size` field. The `font_size` itself is not affected by changes in this field. - #[serde(rename="baselineOffset")] - pub baseline_offset: Option, - /// Whether or not the text is rendered as bold. - pub bold: Option, - /// The size of the text's font. - #[serde(rename="fontSize")] - pub font_size: Option, - /// The foreground color of the text. If set, the color is either an RGB color or transparent, depending on the `color` field. - #[serde(rename="foregroundColor")] - pub foreground_color: Option, - /// Whether or not the text is italicized. - pub italic: Option, - /// The hyperlink destination of the text. If unset, there is no link. Links are not inherited from parent text. Changing the link in an update request causes some other changes to the text style of the range: * When setting a link, the text foreground color will be updated to the default link color and the text will be underlined. If these fields are modified in the same request, those values will be used instead of the link defaults. * Setting a link on a text range that overlaps with an existing link will also update the existing link to point to the new URL. * Links are not settable on newline characters. As a result, setting a link on a text range that crosses a paragraph boundary, such as `"ABC\n123"`, will separate the newline character(s) into their own text runs. The link will be applied separately to the runs before and after the newline. * Removing a link will update the text style of the range to match the style of the preceding text (or the default text styles if the preceding text is another link) unless different styles are being set in the same request. - pub link: Option, - /// Whether or not the text is in small capital letters. - #[serde(rename="smallCaps")] - pub small_caps: Option, - /// Whether or not the text is struck through. - pub strikethrough: Option, - /// Whether or not the text is underlined. - pub underline: Option, - /// The font family and rendered weight of the text. If an update request specifies values for both `weighted_font_family` and `bold`, the `weighted_font_family` is applied first, then `bold`. If `weighted_font_family#weight` is not set, it defaults to `400`. If `weighted_font_family` is set, then `weighted_font_family#font_family` must also be set with a non-empty value. Otherwise, a 400 bad request error is returned. - #[serde(rename="weightedFontFamily")] - pub weighted_font_family: Option, -} - -impl client::Part for TextStyle {} - - -/// A mask that indicates which of the fields on the base TextStyle have been changed in this suggestion. For any field set to true, there is a new suggested value. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct TextStyleSuggestionState { - /// Indicates if there was a suggested change to background_color. - #[serde(rename="backgroundColorSuggested")] - pub background_color_suggested: Option, - /// Indicates if there was a suggested change to baseline_offset. - #[serde(rename="baselineOffsetSuggested")] - pub baseline_offset_suggested: Option, - /// Indicates if there was a suggested change to bold. - #[serde(rename="boldSuggested")] - pub bold_suggested: Option, - /// Indicates if there was a suggested change to font_size. - #[serde(rename="fontSizeSuggested")] - pub font_size_suggested: Option, - /// Indicates if there was a suggested change to foreground_color. - #[serde(rename="foregroundColorSuggested")] - pub foreground_color_suggested: Option, - /// Indicates if there was a suggested change to italic. - #[serde(rename="italicSuggested")] - pub italic_suggested: Option, - /// Indicates if there was a suggested change to link. - #[serde(rename="linkSuggested")] - pub link_suggested: Option, - /// Indicates if there was a suggested change to small_caps. - #[serde(rename="smallCapsSuggested")] - pub small_caps_suggested: Option, - /// Indicates if there was a suggested change to strikethrough. - #[serde(rename="strikethroughSuggested")] - pub strikethrough_suggested: Option, - /// Indicates if there was a suggested change to underline. - #[serde(rename="underlineSuggested")] - pub underline_suggested: Option, - /// Indicates if there was a suggested change to weighted_font_family. - #[serde(rename="weightedFontFamilySuggested")] - pub weighted_font_family_suggested: Option, -} - -impl client::Part for TextStyleSuggestionState {} - - -/// Unmerges cells in 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 UnmergeTableCellsRequest { - /// The table range specifying which cells of the table to unmerge. All merged cells in this range will be unmerged, and cells that are already unmerged will not be affected. If the range has no merged cells, the request will do nothing. If there is text in any of the merged cells, the text will remain in the "head" cell of the resulting block of unmerged cells. The "head" cell is the upper-left cell when the content direction is from left to right, and the upper-right otherwise. - #[serde(rename="tableRange")] - pub table_range: Option, -} - -impl client::Part for UnmergeTableCellsRequest {} - - -/// Updates the DocumentStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct UpdateDocumentStyleRequest { - /// The styles to set on the document. Certain document style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of DocumentStyle for more information. - #[serde(rename="documentStyle")] - pub document_style: Option, - /// The fields that should be updated. At least one field must be specified. The root `document_style` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example to update the background, set `fields` to `"background"`. - pub fields: Option, -} - -impl client::Part for UpdateDocumentStyleRequest {} - - -/// Update the styling of all paragraphs that overlap with the given range. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct UpdateParagraphStyleRequest { - /// The fields that should be updated. At least one field must be specified. The root `paragraph_style` is implied and should not be specified. For example, to update the paragraph style's alignment property, set `fields` to `"alignment"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset. - pub fields: Option, - /// The styles to set on the paragraphs. Certain paragraph style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of ParagraphStyle for more information. - #[serde(rename="paragraphStyle")] - pub paragraph_style: Option, - /// The range overlapping the paragraphs to style. - pub range: Option, -} - -impl client::Part for UpdateParagraphStyleRequest {} - - -/// Updates the SectionStyle. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct UpdateSectionStyleRequest { - /// The fields that should be updated. At least one field must be specified. The root `section_style` is implied and must not be specified. A single `"*"` can be used as short-hand for listing every field. For example to update the left margin, set `fields` to `"margin_left"`. - pub fields: Option, - /// The range overlapping the sections to style. Because section breaks can only be inserted inside the body, the segment ID field must be empty. - pub range: Option, - /// The styles to be set on the section. Certain section style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of SectionStyle for more information. - #[serde(rename="sectionStyle")] - pub section_style: Option, -} - -impl client::Part for UpdateSectionStyleRequest {} - - -/// Updates the style of a range of table cells. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct UpdateTableCellStyleRequest { - /// The fields that should be updated. At least one field must be specified. The root `tableCellStyle` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example to update the table cell background color, set `fields` to `"backgroundColor"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset. - pub fields: Option, - /// The style to set on the table cells. When updating borders, if a cell shares a border with an adjacent cell, the corresponding border property of the adjacent cell is updated as well. Borders that are merged and invisible are not updated. Since updating a border shared by adjacent cells in the same request can cause conflicting border updates, border updates are applied in the following order: - `border_right` - `border_left` - `border_bottom` - `border_top` - #[serde(rename="tableCellStyle")] - pub table_cell_style: Option, - /// The table range representing the subset of the table to which the updates are applied. - #[serde(rename="tableRange")] - pub table_range: Option, - /// The location where the table starts in the document. When specified, the updates are applied to all the cells in the table. - #[serde(rename="tableStartLocation")] - pub table_start_location: Option, -} - -impl client::Part for UpdateTableCellStyleRequest {} - - -/// Updates the TableColumnProperties of columns in 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 UpdateTableColumnPropertiesRequest { - /// The list of zero-based column indices whose property should be updated. If no indices are specified, all columns will be updated. - #[serde(rename="columnIndices")] - pub column_indices: Option>, - /// The fields that should be updated. At least one field must be specified. The root `tableColumnProperties` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example to update the column width, set `fields` to `"width"`. - pub fields: Option, - /// The table column properties to update. If the value of `table_column_properties#width` is less than 5 points (5/72 inch), a 400 bad request error is returned. - #[serde(rename="tableColumnProperties")] - pub table_column_properties: Option, - /// The location where the table starts in the document. - #[serde(rename="tableStartLocation")] - pub table_start_location: Option, -} - -impl client::Part for UpdateTableColumnPropertiesRequest {} - - -/// Updates the TableRowStyle of rows in 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 UpdateTableRowStyleRequest { - /// The fields that should be updated. At least one field must be specified. The root `tableRowStyle` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example to update the minimum row height, set `fields` to `"min_row_height"`. - pub fields: Option, - /// The list of zero-based row indices whose style should be updated. If no indices are specified, all rows will be updated. - #[serde(rename="rowIndices")] - pub row_indices: Option>, - /// The styles to be set on the rows. - #[serde(rename="tableRowStyle")] - pub table_row_style: Option, - /// The location where the table starts in the document. - #[serde(rename="tableStartLocation")] - pub table_start_location: Option, -} - -impl client::Part for UpdateTableRowStyleRequest {} - - -/// Update the styling of 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 UpdateTextStyleRequest { - /// The fields that should be updated. At least one field must be specified. The root `text_style` is implied and should not be specified. A single `"*"` can be used as short-hand for listing every field. For example, to update the text style to bold, set `fields` to `"bold"`. To reset a property to its default value, include its field name in the field mask but leave the field itself unset. - pub fields: Option, - /// The range of text to style. The range may be extended to include adjacent newlines. If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also updated with the matching text style. Ranges cannot be inserted inside a relative UpdateTextStyleRequest. - pub range: Option, - /// The styles to set on the text. If the value for a particular style matches that of the parent, that style will be set to inherit. Certain text style changes may cause other changes in order to to mirror the behavior of the Docs editor. See the documentation of TextStyle for more information. - #[serde(rename="textStyle")] - pub text_style: Option, -} - -impl client::Part for UpdateTextStyleRequest {} - - -/// Represents a font family and weight of 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 WeightedFontFamily { - /// The font family of the text. The font family can be any font from the Font menu in Docs 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 weight of the font. 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. The default value is `400` ("normal"). The font weight makes up just one component of the rendered font weight. The rendered weight is determined by a combination of the `weight` and the text style's resolved `bold` value, after accounting for inheritance: * If the text is bold and the weight is less than `400`, the rendered weight is 400. * If the text is bold and the weight is greater than or equal to `400` but is less than `700`, the rendered weight is `700`. * If the weight is greater than or equal to `700`, the rendered weight is equal to the weight. * If the text is not bold, the rendered weight is equal to the weight. - pub weight: Option, -} - -impl client::Part for WeightedFontFamily {} - - -/// Provides control over how write requests are executed. -/// -/// This type is not used in any activity, and only used as *part* of another schema. -/// -#[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct WriteControl { - /// The revision ID of the document that the write request will be applied to. If this is not the latest revision of the document, the request will not be processed and will return a 400 bad request error. When a required revision ID is returned in a response, it indicates the revision ID of the document after the request was applied. - #[serde(rename="requiredRevisionId")] - pub required_revision_id: Option, - /// The target revision ID of the document that the write request will be applied to. If collaborator changes have occurred after the document was read using the API, the changes produced by this write request will be transformed against the collaborator changes. This results in a new revision of the document which incorporates both the changes in the request and the collaborator changes, and the Docs server will resolve conflicting changes. When using `target_revision_id`, the API client can be thought of as another collaborator of the document. The target revision ID may only be used to write to recent versions of a document. If the target revision is too far behind the latest revision, the request will not be processed and will return a 400 bad request error and the request should be retried after reading the latest version of the document. In most cases a `revision_id` will remain valid for use as a target revision for several minutes after it is read, but for frequently-edited documents this window may be shorter. - #[serde(rename="targetRevisionId")] - pub target_revision_id: Option, -} - -impl client::Part for WriteControl {} - - - -// ################### -// MethodBuilders ### -// ################# - -/// A builder providing access to all methods supported on *document* resources. -/// It is not used directly, but through the `Docs` hub. -/// -/// # Example -/// -/// Instantiate a resource builder -/// -/// ```test_harness,no_run -/// extern crate hyper; -/// extern crate hyper_rustls; -/// extern crate yup_oauth2 as oauth2; -/// extern crate google_docs1 as docs1; -/// -/// # async fn dox() { -/// use std::default::Default; -/// use oauth2; -/// use docs1::Docs; -/// -/// let secret: oauth2::ApplicationSecret = Default::default(); -/// let auth = yup_oauth2::InstalledFlowAuthenticator::builder( -/// secret, -/// yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, -/// ).build().await.unwrap(); -/// let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* -/// // like `batch_update(...)`, `create(...)` and `get(...)` -/// // to build up your call. -/// let rb = hub.documents(); -/// # } -/// ``` -pub struct DocumentMethods<'a> - where { - - hub: &'a Docs<>, -} - -impl<'a> client::MethodsBuilder for DocumentMethods<'a> {} - -impl<'a> DocumentMethods<'a> { - - /// Create a builder to help you perform the following task: - /// - /// Applies one or more updates to the document. 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 document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically. - /// - /// # Arguments - /// - /// * `request` - No description provided. - /// * `documentId` - The ID of the document to update. - pub fn batch_update(&self, request: BatchUpdateDocumentRequest, document_id: &str) -> DocumentBatchUpdateCall<'a> { - DocumentBatchUpdateCall { - hub: self.hub, - _request: request, - _document_id: document_id.to_string(), - _delegate: Default::default(), - _additional_params: Default::default(), - _scopes: Default::default(), - } - } - - /// Create a builder to help you perform the following task: - /// - /// Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document. - /// - /// # Arguments - /// - /// * `request` - No description provided. - pub fn create(&self, request: Document) -> DocumentCreateCall<'a> { - DocumentCreateCall { - hub: self.hub, - _request: request, - _delegate: Default::default(), - _additional_params: Default::default(), - _scopes: Default::default(), - } - } - - /// Create a builder to help you perform the following task: - /// - /// Gets the latest version of the specified document. - /// - /// # Arguments - /// - /// * `documentId` - The ID of the document to retrieve. - pub fn get(&self, document_id: &str) -> DocumentGetCall<'a> { - DocumentGetCall { - hub: self.hub, - _document_id: document_id.to_string(), - _suggestions_view_mode: Default::default(), - _delegate: Default::default(), - _additional_params: Default::default(), - _scopes: Default::default(), - } - } -} - - - - - -// ################### -// CallBuilders ### -// ################# - -/// Applies one or more updates to the document. 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 document, the document might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the document should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically. -/// -/// A builder for the *batchUpdate* method supported by a *document* resource. -/// It is not used directly, but through a `DocumentMethods` instance. -/// -/// # Example -/// -/// Instantiate a resource method builder -/// -/// ```test_harness,no_run -/// # extern crate hyper; -/// # extern crate hyper_rustls; -/// # extern crate yup_oauth2 as oauth2; -/// # extern crate google_docs1 as docs1; -/// use docs1::api::BatchUpdateDocumentRequest; -/// # async fn dox() { -/// # use std::default::Default; -/// # use oauth2; -/// # use docs1::Docs; -/// -/// # let secret: oauth2::ApplicationSecret = Default::default(); -/// # let auth = yup_oauth2::InstalledFlowAuthenticator::builder( -/// # secret, -/// # yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, -/// # ).build().await.unwrap(); -/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -/// // As the method needs a request, you would usually fill it with the desired information -/// // into the respective structure. Some of the parts shown here might not be applicable ! -/// // Values shown here are possibly random and not representative ! -/// let mut req = BatchUpdateDocumentRequest::default(); -/// -/// // You can configure optional 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.documents().batch_update(req, "documentId") -/// .doit().await; -/// # } -/// ``` -pub struct DocumentBatchUpdateCall<'a> - where { - - hub: &'a Docs<>, - _request: BatchUpdateDocumentRequest, - _document_id: String, - _delegate: Option<&'a mut dyn client::Delegate>, - _additional_params: HashMap, - _scopes: BTreeMap -} - -impl<'a> client::CallBuilder for DocumentBatchUpdateCall<'a> {} - -impl<'a> DocumentBatchUpdateCall<'a> { - - - /// Perform the operation you have build so far. - pub async fn doit(mut self) -> client::Result<(hyper::Response, BatchUpdateDocumentResponse)> { - use std::io::{Read, Seek}; - use hyper::header::{CONTENT_TYPE, CONTENT_LENGTH, AUTHORIZATION, USER_AGENT, LOCATION}; - use client::ToParts; - let mut dd = client::DefaultDelegate; - let mut dlg: &mut dyn client::Delegate = match self._delegate { - Some(d) => d, - None => &mut dd - }; - dlg.begin(client::MethodInfo { id: "docs.documents.batchUpdate", - http_method: hyper::Method::POST }); - let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); - params.push(("documentId", self._document_id.to_string())); - for &field in ["alt", "documentId"].iter() { - if self._additional_params.contains_key(field) { - dlg.finished(false); - return Err(client::Error::FieldClash(field)); - } - } - for (name, value) in self._additional_params.iter() { - params.push((&name, value.clone())); - } - - params.push(("alt", "json".to_string())); - - let mut url = self.hub._base_url.clone() + "v1/documents/{documentId}:batchUpdate"; - if self._scopes.len() == 0 { - self._scopes.insert(Scope::Document.as_ref().to_string(), ()); - } - - for &(find_this, param_name) in [("{documentId}", "documentId")].iter() { - let mut replace_with: Option<&str> = None; - for &(name, ref value) in params.iter() { - if name == param_name { - replace_with = Some(value); - break; - } - } - url = url.replace(find_this, replace_with.expect("to find substitution value in params")); - } - { - let mut indices_for_removal: Vec = Vec::with_capacity(1); - for param_name in ["documentId"].iter() { - if let Some(index) = params.iter().position(|t| &t.0 == param_name) { - indices_for_removal.push(index); - } - } - for &index in indices_for_removal.iter() { - params.remove(index); - } - } - - let url = url::Url::parse_with_params(&url, params).unwrap(); - - let mut json_mime_type: mime::Mime = "application/json".parse().unwrap(); - let mut request_value_reader = - { - let mut value = json::value::to_value(&self._request).expect("serde to work"); - client::remove_json_null_values(&mut value); - let mut dst = io::Cursor::new(Vec::with_capacity(128)); - json::to_writer(&mut dst, &value).unwrap(); - dst - }; - let request_size = request_value_reader.seek(io::SeekFrom::End(0)).unwrap(); - request_value_reader.seek(io::SeekFrom::Start(0)).unwrap(); - - - loop { - let token = match self.hub.auth.token(&self._scopes.keys().collect::>()[..]).await { - Ok(token) => token.clone(), - Err(err) => { - match dlg.token(&err) { - Some(token) => token, - None => { - dlg.finished(false); - return Err(client::Error::MissingToken(err)) - } - } - } - }; - request_value_reader.seek(io::SeekFrom::Start(0)).unwrap(); - let mut req_result = { - let client = &self.hub.client; - dlg.pre_request(); - let mut req_builder = hyper::Request::builder().method(hyper::Method::POST).uri(url.clone().into_string()) - .header(USER_AGENT, self.hub._user_agent.clone()) .header(AUTHORIZATION, format!("Bearer {}", token.as_str())); - - - let request = req_builder - .header(CONTENT_TYPE, format!("{}", json_mime_type.to_string())) - .header(CONTENT_LENGTH, request_size as u64) - .body(hyper::body::Body::from(request_value_reader.get_ref().clone())); - - client.request(request.unwrap()).await - - }; - - match req_result { - Err(err) => { - if let client::Retry::After(d) = dlg.http_error(&err) { - sleep(d); - continue; - } - dlg.finished(false); - return Err(client::Error::HttpError(err)) - } - Ok(mut res) => { - if !res.status().is_success() { - let res_body_string = client::get_body_as_string(res.body_mut()).await; - - let json_server_error = json::from_str::(&res_body_string).ok(); - let server_error = json::from_str::(&res_body_string) - .or_else(|_| json::from_str::(&res_body_string).map(|r| r.error)) - .ok(); - - if let client::Retry::After(d) = dlg.http_failure(&res, - json_server_error, - server_error) { - sleep(d); - continue; - } - dlg.finished(false); - return match json::from_str::(&res_body_string){ - Err(_) => Err(client::Error::Failure(res)), - Ok(serr) => Err(client::Error::BadRequest(serr)) - } - } - let result_value = { - let res_body_string = client::get_body_as_string(res.body_mut()).await; - - match json::from_str(&res_body_string) { - Ok(decoded) => (res, decoded), - Err(err) => { - dlg.response_json_decode_error(&res_body_string, &err); - return Err(client::Error::JsonDecodeError(res_body_string, err)); - } - } - }; - - dlg.finished(true); - return Ok(result_value) - } - } - } - } - - - /// - /// Sets the *request* property to the given value. - /// - /// Even though the property as already been set when instantiating this call, - /// we provide this method for API completeness. - pub fn request(mut self, new_value: BatchUpdateDocumentRequest) -> DocumentBatchUpdateCall<'a> { - self._request = new_value; - self - } - /// The ID of the document to update. - /// - /// Sets the *document id* path property to the given value. - /// - /// Even though the property as already been set when instantiating this call, - /// we provide this method for API completeness. - pub fn document_id(mut self, new_value: &str) -> DocumentBatchUpdateCall<'a> { - self._document_id = new_value.to_string(); - self - } - /// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong - /// while executing the actual API request. - /// - /// It should be used to handle progress information, and to implement a certain level of resilience. - /// - /// Sets the *delegate* property to the given value. - pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DocumentBatchUpdateCall<'a> { - self._delegate = Some(new_value); - self - } - - /// Set any additional parameter of the query string used in the request. - /// It should be used to set parameters which are not yet available through their own - /// setters. - /// - /// Please note that this method must not be used to set any of the known parameters - /// which have their own setter method. If done anyway, the request will fail. - /// - /// # Additional Parameters - /// - /// * *$.xgafv* (query-string) - V1 error format. - /// * *access_token* (query-string) - OAuth access token. - /// * *alt* (query-string) - Data format for response. - /// * *callback* (query-string) - JSONP - /// * *fields* (query-string) - Selector specifying which fields to include in a partial response. - /// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - /// * *oauth_token* (query-string) - OAuth 2.0 token for the current user. - /// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks. - /// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - /// * *uploadType* (query-string) - Legacy upload protocol for media (e.g. "media", "multipart"). - /// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart"). - pub fn param(mut self, name: T, value: T) -> DocumentBatchUpdateCall<'a> - where T: AsRef { - self._additional_params.insert(name.as_ref().to_string(), value.as_ref().to_string()); - self - } - - /// Identifies the authorization scope for the method you are building. - /// - /// Use this method to actively specify which scope should be used, instead the default `Scope` variant - /// `Scope::Document`. - /// - /// The `scope` will be added to a set of scopes. This is important as one can maintain access - /// tokens for more than one scope. - /// If `None` is specified, then all scopes will be removed and no default scope will be used either. - /// In that case, you have to specify your API-key using the `key` parameter (see the `param()` - /// function for details). - /// - /// Usually there is more than one suitable scope to authorize an operation, some of which may - /// encompass more rights than others. For example, for listing resources, a *read-only* scope will be - /// sufficient, a read-write scope will do as well. - pub fn add_scope(mut self, scope: T) -> DocumentBatchUpdateCall<'a> - where T: Into>, - S: AsRef { - match scope.into() { - Some(scope) => self._scopes.insert(scope.as_ref().to_string(), ()), - None => None, - }; - self - } -} - - -/// Creates a blank document using the title given in the request. Other fields in the request, including any provided content, are ignored. Returns the created document. -/// -/// A builder for the *create* method supported by a *document* resource. -/// It is not used directly, but through a `DocumentMethods` instance. -/// -/// # Example -/// -/// Instantiate a resource method builder -/// -/// ```test_harness,no_run -/// # extern crate hyper; -/// # extern crate hyper_rustls; -/// # extern crate yup_oauth2 as oauth2; -/// # extern crate google_docs1 as docs1; -/// use docs1::api::Document; -/// # async fn dox() { -/// # use std::default::Default; -/// # use oauth2; -/// # use docs1::Docs; -/// -/// # let secret: oauth2::ApplicationSecret = Default::default(); -/// # let auth = yup_oauth2::InstalledFlowAuthenticator::builder( -/// # secret, -/// # yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, -/// # ).build().await.unwrap(); -/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -/// // As the method needs a request, you would usually fill it with the desired information -/// // into the respective structure. Some of the parts shown here might not be applicable ! -/// // Values shown here are possibly random and not representative ! -/// let mut req = Document::default(); -/// -/// // You can configure optional 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.documents().create(req) -/// .doit().await; -/// # } -/// ``` -pub struct DocumentCreateCall<'a> - where { - - hub: &'a Docs<>, - _request: Document, - _delegate: Option<&'a mut dyn client::Delegate>, - _additional_params: HashMap, - _scopes: BTreeMap -} - -impl<'a> client::CallBuilder for DocumentCreateCall<'a> {} - -impl<'a> DocumentCreateCall<'a> { - - - /// Perform the operation you have build so far. - pub async fn doit(mut self) -> client::Result<(hyper::Response, Document)> { - use std::io::{Read, Seek}; - use hyper::header::{CONTENT_TYPE, CONTENT_LENGTH, AUTHORIZATION, USER_AGENT, LOCATION}; - use client::ToParts; - let mut dd = client::DefaultDelegate; - let mut dlg: &mut dyn client::Delegate = match self._delegate { - Some(d) => d, - None => &mut dd - }; - dlg.begin(client::MethodInfo { id: "docs.documents.create", - http_method: hyper::Method::POST }); - let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len()); - for &field in ["alt"].iter() { - if self._additional_params.contains_key(field) { - dlg.finished(false); - return Err(client::Error::FieldClash(field)); - } - } - for (name, value) in self._additional_params.iter() { - params.push((&name, value.clone())); - } - - params.push(("alt", "json".to_string())); - - let mut url = self.hub._base_url.clone() + "v1/documents"; - if self._scopes.len() == 0 { - self._scopes.insert(Scope::Document.as_ref().to_string(), ()); - } - - - let url = url::Url::parse_with_params(&url, params).unwrap(); - - let mut json_mime_type: mime::Mime = "application/json".parse().unwrap(); - let mut request_value_reader = - { - let mut value = json::value::to_value(&self._request).expect("serde to work"); - client::remove_json_null_values(&mut value); - let mut dst = io::Cursor::new(Vec::with_capacity(128)); - json::to_writer(&mut dst, &value).unwrap(); - dst - }; - let request_size = request_value_reader.seek(io::SeekFrom::End(0)).unwrap(); - request_value_reader.seek(io::SeekFrom::Start(0)).unwrap(); - - - loop { - let token = match self.hub.auth.token(&self._scopes.keys().collect::>()[..]).await { - Ok(token) => token.clone(), - Err(err) => { - match dlg.token(&err) { - Some(token) => token, - None => { - dlg.finished(false); - return Err(client::Error::MissingToken(err)) - } - } - } - }; - request_value_reader.seek(io::SeekFrom::Start(0)).unwrap(); - let mut req_result = { - let client = &self.hub.client; - dlg.pre_request(); - let mut req_builder = hyper::Request::builder().method(hyper::Method::POST).uri(url.clone().into_string()) - .header(USER_AGENT, self.hub._user_agent.clone()) .header(AUTHORIZATION, format!("Bearer {}", token.as_str())); - - - let request = req_builder - .header(CONTENT_TYPE, format!("{}", json_mime_type.to_string())) - .header(CONTENT_LENGTH, request_size as u64) - .body(hyper::body::Body::from(request_value_reader.get_ref().clone())); - - client.request(request.unwrap()).await - - }; - - match req_result { - Err(err) => { - if let client::Retry::After(d) = dlg.http_error(&err) { - sleep(d); - continue; - } - dlg.finished(false); - return Err(client::Error::HttpError(err)) - } - Ok(mut res) => { - if !res.status().is_success() { - let res_body_string = client::get_body_as_string(res.body_mut()).await; - - let json_server_error = json::from_str::(&res_body_string).ok(); - let server_error = json::from_str::(&res_body_string) - .or_else(|_| json::from_str::(&res_body_string).map(|r| r.error)) - .ok(); - - if let client::Retry::After(d) = dlg.http_failure(&res, - json_server_error, - server_error) { - sleep(d); - continue; - } - dlg.finished(false); - return match json::from_str::(&res_body_string){ - Err(_) => Err(client::Error::Failure(res)), - Ok(serr) => Err(client::Error::BadRequest(serr)) - } - } - let result_value = { - let res_body_string = client::get_body_as_string(res.body_mut()).await; - - match json::from_str(&res_body_string) { - Ok(decoded) => (res, decoded), - Err(err) => { - dlg.response_json_decode_error(&res_body_string, &err); - return Err(client::Error::JsonDecodeError(res_body_string, err)); - } - } - }; - - dlg.finished(true); - return Ok(result_value) - } - } - } - } - - - /// - /// Sets the *request* property to the given value. - /// - /// Even though the property as already been set when instantiating this call, - /// we provide this method for API completeness. - pub fn request(mut self, new_value: Document) -> DocumentCreateCall<'a> { - self._request = new_value; - self - } - /// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong - /// while executing the actual API request. - /// - /// It should be used to handle progress information, and to implement a certain level of resilience. - /// - /// Sets the *delegate* property to the given value. - pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DocumentCreateCall<'a> { - self._delegate = Some(new_value); - self - } - - /// Set any additional parameter of the query string used in the request. - /// It should be used to set parameters which are not yet available through their own - /// setters. - /// - /// Please note that this method must not be used to set any of the known parameters - /// which have their own setter method. If done anyway, the request will fail. - /// - /// # Additional Parameters - /// - /// * *$.xgafv* (query-string) - V1 error format. - /// * *access_token* (query-string) - OAuth access token. - /// * *alt* (query-string) - Data format for response. - /// * *callback* (query-string) - JSONP - /// * *fields* (query-string) - Selector specifying which fields to include in a partial response. - /// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - /// * *oauth_token* (query-string) - OAuth 2.0 token for the current user. - /// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks. - /// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - /// * *uploadType* (query-string) - Legacy upload protocol for media (e.g. "media", "multipart"). - /// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart"). - pub fn param(mut self, name: T, value: T) -> DocumentCreateCall<'a> - where T: AsRef { - self._additional_params.insert(name.as_ref().to_string(), value.as_ref().to_string()); - self - } - - /// Identifies the authorization scope for the method you are building. - /// - /// Use this method to actively specify which scope should be used, instead the default `Scope` variant - /// `Scope::Document`. - /// - /// The `scope` will be added to a set of scopes. This is important as one can maintain access - /// tokens for more than one scope. - /// If `None` is specified, then all scopes will be removed and no default scope will be used either. - /// In that case, you have to specify your API-key using the `key` parameter (see the `param()` - /// function for details). - /// - /// Usually there is more than one suitable scope to authorize an operation, some of which may - /// encompass more rights than others. For example, for listing resources, a *read-only* scope will be - /// sufficient, a read-write scope will do as well. - pub fn add_scope(mut self, scope: T) -> DocumentCreateCall<'a> - where T: Into>, - S: AsRef { - match scope.into() { - Some(scope) => self._scopes.insert(scope.as_ref().to_string(), ()), - None => None, - }; - self - } -} - - -/// Gets the latest version of the specified document. -/// -/// A builder for the *get* method supported by a *document* resource. -/// It is not used directly, but through a `DocumentMethods` instance. -/// -/// # Example -/// -/// Instantiate a resource method builder -/// -/// ```test_harness,no_run -/// # extern crate hyper; -/// # extern crate hyper_rustls; -/// # extern crate yup_oauth2 as oauth2; -/// # extern crate google_docs1 as docs1; -/// # async fn dox() { -/// # use std::default::Default; -/// # use oauth2; -/// # use docs1::Docs; -/// -/// # let secret: oauth2::ApplicationSecret = Default::default(); -/// # let auth = yup_oauth2::InstalledFlowAuthenticator::builder( -/// # secret, -/// # yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, -/// # ).build().await.unwrap(); -/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -/// // You can configure optional 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.documents().get("documentId") -/// .suggestions_view_mode("At") -/// .doit().await; -/// # } -/// ``` -pub struct DocumentGetCall<'a> - where { - - hub: &'a Docs<>, - _document_id: String, - _suggestions_view_mode: Option, - _delegate: Option<&'a mut dyn client::Delegate>, - _additional_params: HashMap, - _scopes: BTreeMap -} - -impl<'a> client::CallBuilder for DocumentGetCall<'a> {} - -impl<'a> DocumentGetCall<'a> { - - - /// Perform the operation you have build so far. - pub async fn doit(mut self) -> client::Result<(hyper::Response, Document)> { - use std::io::{Read, Seek}; - use hyper::header::{CONTENT_TYPE, CONTENT_LENGTH, AUTHORIZATION, USER_AGENT, LOCATION}; - use client::ToParts; - let mut dd = client::DefaultDelegate; - let mut dlg: &mut dyn client::Delegate = match self._delegate { - Some(d) => d, - None => &mut dd - }; - dlg.begin(client::MethodInfo { id: "docs.documents.get", - http_method: hyper::Method::GET }); - let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len()); - params.push(("documentId", self._document_id.to_string())); - if let Some(value) = self._suggestions_view_mode { - params.push(("suggestionsViewMode", value.to_string())); - } - for &field in ["alt", "documentId", "suggestionsViewMode"].iter() { - if self._additional_params.contains_key(field) { - dlg.finished(false); - return Err(client::Error::FieldClash(field)); - } - } - for (name, value) in self._additional_params.iter() { - params.push((&name, value.clone())); - } - - params.push(("alt", "json".to_string())); - - let mut url = self.hub._base_url.clone() + "v1/documents/{documentId}"; - if self._scopes.len() == 0 { - self._scopes.insert(Scope::DocumentReadonly.as_ref().to_string(), ()); - } - - for &(find_this, param_name) in [("{documentId}", "documentId")].iter() { - let mut replace_with: Option<&str> = None; - for &(name, ref value) in params.iter() { - if name == param_name { - replace_with = Some(value); - break; - } - } - url = url.replace(find_this, replace_with.expect("to find substitution value in params")); - } - { - let mut indices_for_removal: Vec = Vec::with_capacity(1); - for param_name in ["documentId"].iter() { - if let Some(index) = params.iter().position(|t| &t.0 == param_name) { - indices_for_removal.push(index); - } - } - for &index in indices_for_removal.iter() { - params.remove(index); - } - } - - let url = url::Url::parse_with_params(&url, params).unwrap(); - - - - loop { - let token = match self.hub.auth.token(&self._scopes.keys().collect::>()[..]).await { - Ok(token) => token.clone(), - Err(err) => { - match dlg.token(&err) { - Some(token) => token, - None => { - dlg.finished(false); - return Err(client::Error::MissingToken(err)) - } - } - } - }; - let mut req_result = { - let client = &self.hub.client; - dlg.pre_request(); - let mut req_builder = hyper::Request::builder().method(hyper::Method::GET).uri(url.clone().into_string()) - .header(USER_AGENT, self.hub._user_agent.clone()) .header(AUTHORIZATION, format!("Bearer {}", token.as_str())); - - - let request = req_builder - .body(hyper::body::Body::empty()); - - client.request(request.unwrap()).await - - }; - - match req_result { - Err(err) => { - if let client::Retry::After(d) = dlg.http_error(&err) { - sleep(d); - continue; - } - dlg.finished(false); - return Err(client::Error::HttpError(err)) - } - Ok(mut res) => { - if !res.status().is_success() { - let res_body_string = client::get_body_as_string(res.body_mut()).await; - - let json_server_error = json::from_str::(&res_body_string).ok(); - let server_error = json::from_str::(&res_body_string) - .or_else(|_| json::from_str::(&res_body_string).map(|r| r.error)) - .ok(); - - if let client::Retry::After(d) = dlg.http_failure(&res, - json_server_error, - server_error) { - sleep(d); - continue; - } - dlg.finished(false); - return match json::from_str::(&res_body_string){ - Err(_) => Err(client::Error::Failure(res)), - Ok(serr) => Err(client::Error::BadRequest(serr)) - } - } - let result_value = { - let res_body_string = client::get_body_as_string(res.body_mut()).await; - - match json::from_str(&res_body_string) { - Ok(decoded) => (res, decoded), - Err(err) => { - dlg.response_json_decode_error(&res_body_string, &err); - return Err(client::Error::JsonDecodeError(res_body_string, err)); - } - } - }; - - dlg.finished(true); - return Ok(result_value) - } - } - } - } - - - /// The ID of the document to retrieve. - /// - /// Sets the *document id* path property to the given value. - /// - /// Even though the property as already been set when instantiating this call, - /// we provide this method for API completeness. - pub fn document_id(mut self, new_value: &str) -> DocumentGetCall<'a> { - self._document_id = new_value.to_string(); - self - } - /// The suggestions view mode to apply to the document. This allows viewing the document with all suggestions inline, accepted or rejected. If one is not specified, DEFAULT_FOR_CURRENT_ACCESS is used. - /// - /// Sets the *suggestions view mode* query property to the given value. - pub fn suggestions_view_mode(mut self, new_value: &str) -> DocumentGetCall<'a> { - self._suggestions_view_mode = Some(new_value.to_string()); - self - } - /// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong - /// while executing the actual API request. - /// - /// It should be used to handle progress information, and to implement a certain level of resilience. - /// - /// Sets the *delegate* property to the given value. - pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> DocumentGetCall<'a> { - self._delegate = Some(new_value); - self - } - - /// Set any additional parameter of the query string used in the request. - /// It should be used to set parameters which are not yet available through their own - /// setters. - /// - /// Please note that this method must not be used to set any of the known parameters - /// which have their own setter method. If done anyway, the request will fail. - /// - /// # Additional Parameters - /// - /// * *$.xgafv* (query-string) - V1 error format. - /// * *access_token* (query-string) - OAuth access token. - /// * *alt* (query-string) - Data format for response. - /// * *callback* (query-string) - JSONP - /// * *fields* (query-string) - Selector specifying which fields to include in a partial response. - /// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. - /// * *oauth_token* (query-string) - OAuth 2.0 token for the current user. - /// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks. - /// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. - /// * *uploadType* (query-string) - Legacy upload protocol for media (e.g. "media", "multipart"). - /// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart"). - pub fn param(mut self, name: T, value: T) -> DocumentGetCall<'a> - where T: AsRef { - self._additional_params.insert(name.as_ref().to_string(), value.as_ref().to_string()); - self - } - - /// Identifies the authorization scope for the method you are building. - /// - /// Use this method to actively specify which scope should be used, instead the default `Scope` variant - /// `Scope::DocumentReadonly`. - /// - /// The `scope` will be added to a set of scopes. This is important as one can maintain access - /// tokens for more than one scope. - /// If `None` is specified, then all scopes will be removed and no default scope will be used either. - /// In that case, you have to specify your API-key using the `key` parameter (see the `param()` - /// function for details). - /// - /// Usually there is more than one suitable scope to authorize an operation, some of which may - /// encompass more rights than others. For example, for listing resources, a *read-only* scope will be - /// sufficient, a read-write scope will do as well. - pub fn add_scope(mut self, scope: T) -> DocumentGetCall<'a> - where T: Into>, - S: AsRef { - match scope.into() { - Some(scope) => self._scopes.insert(scope.as_ref().to_string(), ()), - None => None, - }; - self - } -} - - diff --git a/gen/docs1/src/client.rs b/gen/docs1/src/client.rs deleted file mode 100644 index de8151b4eb..0000000000 --- a/gen/docs1/src/client.rs +++ /dev/null @@ -1,813 +0,0 @@ -// COPY OF 'src/rust/api/client.rs' -// DO NOT EDIT -use std::error; -use std::fmt::{self, Display}; -use std::io::{self, Cursor, Read, Seek, SeekFrom, Write}; -use std::str::FromStr; -use std::thread::sleep; -use std::time::Duration; - -use itertools::Itertools; - -use hyper::body::Buf; -use hyper::header::{HeaderMap, AUTHORIZATION, CONTENT_LENGTH, CONTENT_TYPE, USER_AGENT}; -use hyper::Method; -use hyper::StatusCode; - -use mime::{Attr, Mime, SubLevel, TopLevel, Value}; - -use serde_json as json; - -const LINE_ENDING: &str = "\r\n"; - -pub enum Retry { - /// Signal you don't want to retry - Abort, - /// Signals you want to retry after the given duration - After(Duration), -} - -/// 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 { - pub error: ServerError, -} - -#[derive(Deserialize, Serialize, Debug)] -pub struct ServerError { - pub errors: Vec, - pub code: u16, - pub message: String, -} - -#[derive(Deserialize, Serialize, Debug)] -pub struct ServerMessage { - pub domain: String, - pub reason: String, - pub message: String, - #[serde(rename = "locationType")] - pub location_type: Option, - pub location: Option, -} - -/// 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: Send { - /// 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, _info: MethodInfo) {} - - /// Called whenever there is an [HttpError](hyper::Error), 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, _err: &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: &oauth2::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::Response, - _err: 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(oauth2::Error), - - /// 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::Response), - - /// An IO error occurred while reading a stream into memory - Io(std::io::Error), -} - -impl Display for Error { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - match *self { - Error::Io(ref err) => err.fmt(f), - 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) => { - writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)?; - for err in err.error.errors.iter() { - 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 source(&self) -> Option<&(dyn error::Error + 'static)> { - match *self { - Error::HttpError(ref err) => err.source(), - Error::JsonDecodeError(_, ref err) => err.source(), - _ => None, - } - } -} - -impl From for Error { - fn from(err: std::io::Error) -> Self { - Error::Io(err) - } -} - -/// 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: &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<(HeaderMap, &'a mut dyn Read)>, - current_part: Option<(Cursor>, &'a mut dyn 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 dyn Read, - size: u64, - mime_type: Mime, - ) -> &mut MultiPartReader<'a> { - let mut headers = HeaderMap::new(); - headers.insert( - CONTENT_TYPE, - hyper::header::HeaderValue::from_str(&format!("{}", mime_type)).unwrap(), - ); - headers.insert(CONTENT_LENGTH, size.into()); - 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.is_empty() - && 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.is_empty() && 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 - .iter() - .map(|(k, v)| format!("{}: {}", k, v.to_str().unwrap())) - .join(LINE_ENDING), - 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(&self) -> &Mime { - &self.0 - } -} -impl ::std::ops::DerefMut for XUploadContentType { - fn deref_mut(&mut self) -> &mut Mime { - &mut self.0 - } -} -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 ContentRange { - pub fn header_value(&self) -> String { - format!( - "bytes {}/{}", - match self.range { - Some(ref c) => format!("{}", c), - None => "*".to_string(), - }, - self.total_length - ) - } -} - -#[derive(Clone, PartialEq, Debug)] -pub struct RangeResponseHeader(pub Chunk); - -impl RangeResponseHeader { - fn from_bytes(raw: &[u8]) -> Self { - if !raw.is_empty() { - if let Ok(s) = std::str::from_utf8(raw) { - const PREFIX: &str = "bytes "; - if let Some(stripped) = s.strip_prefix(PREFIX) { - if let Ok(c) = ::from_str(&stripped) { - return RangeResponseHeader(c); - } - } - } - } - - panic!("Unable to parse Range header {:?}", raw) - } -} - -/// A utility type to perform a resumable upload from start to end. -pub struct ResumableUploadHelper<'a, A: 'a> { - pub client: &'a hyper::client::Client< - hyper_rustls::HttpsConnector, - hyper::body::Body, - >, - pub delegate: &'a mut dyn Delegate, - pub start_at: Option, - pub auth: &'a A, - pub user_agent: &'a str, - pub auth_header: String, - pub url: &'a str, - pub reader: &'a mut dyn ReadSeek, - pub media_type: Mime, - pub content_length: u64, -} - -impl<'a, A> ResumableUploadHelper<'a, A> { - async fn query_transfer_status( - &mut self, - ) -> std::result::Result>> { - loop { - match self - .client - .request( - hyper::Request::builder() - .method(hyper::Method::POST) - .uri(self.url) - .header(USER_AGENT, self.user_agent.to_string()) - .header( - "Content-Range", - ContentRange { - range: None, - total_length: self.content_length, - } - .header_value(), - ) - .header(AUTHORIZATION, self.auth_header.clone()) - .body(hyper::body::Body::empty()) - .unwrap(), - ) - .await - { - Ok(r) => { - // 308 = resume-incomplete == PermanentRedirect - let headers = r.headers().clone(); - let h: RangeResponseHeader = match headers.get("Range") { - Some(hh) if r.status() == StatusCode::PERMANENT_REDIRECT => { - RangeResponseHeader::from_bytes(hh.as_bytes()) - } - 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 async fn upload(&mut self) -> Option>> { - let mut start = match self.start_at { - Some(s) => s, - None => match self.query_transfer_status().await { - 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 mut req_bytes = vec![]; - section_reader.read_to_end(&mut req_bytes).unwrap(); - 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 - .request( - hyper::Request::builder() - .method(hyper::Method::POST) - .header("Content-Range", range_header.header_value()) - .header(CONTENT_TYPE, format!("{}", self.media_type)) - .header(USER_AGENT, self.user_agent.to_string()) - .body(hyper::body::Body::from(req_bytes)) - .unwrap(), - ) - .await; - match res { - Ok(res) => { - if res.status() == StatusCode::PERMANENT_REDIRECT { - continue; - } - - let (res_parts, res_body) = res.into_parts(); - let res_body_string: String = String::from_utf8( - hyper::body::to_bytes(res_body) - .await - .unwrap() - .into_iter() - .collect(), - ) - .unwrap(); - let reconstructed_result = - hyper::Response::from_parts(res_parts, res_body_string.clone().into()); - - if !reconstructed_result.status().is_success() { - if let Retry::After(d) = self.delegate.http_failure( - &reconstructed_result, - json::from_str(&res_body_string).ok(), - json::from_str(&res_body_string).ok(), - ) { - sleep(d); - continue; - } - } - return Some(Ok(reconstructed_result)); - } - Err(err) => { - if let Retry::After(d) = self.delegate.http_error(&err) { - sleep(d); - continue; - } - return Some(Err(err)); - } - } - } - } -} - -// Copy of src/rust/cli/client.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); - } - } - json::value::Value::Array(ref mut arr) => { - let mut i = 0; - while i < arr.len() { - if arr[i].is_null() { - arr.remove(i); - } else { - remove_json_null_values(&mut arr[i]); - i += 1; - } - } - } - _ => {} - } -} - -// Borrowing the body object as mutable and converts it to a string -pub async fn get_body_as_string(res_body: &mut hyper::Body) -> String { - let res_body_buf = hyper::body::to_bytes(res_body).await.unwrap(); - let res_body_string = String::from_utf8_lossy(&res_body_buf); - res_body_string.to_string() -} diff --git a/gen/docs1/src/lib.rs b/gen/docs1/src/lib.rs deleted file mode 100644 index 6829a63687..0000000000 --- a/gen/docs1/src/lib.rs +++ /dev/null @@ -1,215 +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 *Docs* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. -//! -//! Everything else about the *Docs* *v1* API can be found at the -//! [official documentation site](https://developers.google.com/docs/). -//! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/docs1). -//! # Features -//! -//! Handle the following *Resources* with ease from the central [hub](Docs) ... -//! -//! * [documents](api::Document) -//! * [*batch update*](api::DocumentBatchUpdateCall), [*create*](api::DocumentCreateCall) and [*get*](api::DocumentGetCall) -//! -//! -//! -//! -//! 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](Docs)** -//! * a central object to maintain state and allow accessing all *Activities* -//! * creates [*Method Builders*](client::MethodsBuilder) which in turn -//! allow access to individual [*Call Builders*](client::CallBuilder) -//! * **[Resources](client::Resource)** -//! * primary types that you can apply *Activities* to -//! * a collection of properties and *Parts* -//! * **[Parts](client::Part)** -//! * a collection of properties -//! * never directly used in *Activities* -//! * **[Activities](client::CallBuilder)** -//! * 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().await -//! ``` -//! -//! Or specifically ... -//! -//! ```ignore -//! let r = hub.documents().batch_update(...).doit().await -//! let r = hub.documents().create(...).doit().await -//! let r = hub.documents().get(...).doit().await -//! ``` -//! -//! 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-docs1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. -//! hyper = "^0.14" -//! hyper-rustls = "^0.22" -//! serde = "^1.0" -//! serde_json = "^1.0" -//! yup-oauth2 = "^5.0" -//! ``` -//! -//! ## A complete example -//! -//! ```test_harness,no_run -//! extern crate hyper; -//! extern crate hyper_rustls; -//! extern crate yup_oauth2 as oauth2; -//! extern crate google_docs1 as docs1; -//! use docs1::api::BatchUpdateDocumentRequest; -//! use docs1::{Result, Error}; -//! # async fn dox() { -//! use std::default::Default; -//! use oauth2; -//! use docs1::Docs; -//! -//! // Get an ApplicationSecret instance by some means. It contains the `client_id` and -//! // `client_secret`, among other things. -//! let secret: oauth2::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 = yup_oauth2::InstalledFlowAuthenticator::builder( -//! secret, -//! yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect, -//! ).build().await.unwrap(); -//! let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); -//! // As the method needs a request, you would usually fill it with the desired information -//! // into the respective structure. Some of the parts shown here might not be applicable ! -//! // Values shown here are possibly random and not representative ! -//! let mut req = BatchUpdateDocumentRequest::default(); -//! -//! // You can configure optional 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.documents().batch_update(req, "documentId") -//! .doit().await; -//! -//! 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::Io(_) -//! |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](client::Result) enumeration as return value of -//! the doit() methods, or handed as possibly intermediate results to either the -//! [Hub Delegate](client::Delegate), 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](client::Result), should be -//! read by you to obtain the media. -//! If such a method also supports a [Response Result](client::ResponseResult), 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](client::Delegate) to the -//! [Method Builder](client::CallBuilder) 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](client::Delegate) 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 [encodable](client::RequestValue) and -//! [decodable](client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses -//! are valid. -//! Most optionals are are considered [Parts](client::Part) 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](client::CallBuilder), 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](client::RequestValue) 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; - -pub mod api; -pub mod client; - -// Re-export the hub type and some basic client structs -pub use api::Docs; -pub use client::{Result, Error, Delegate}; diff --git a/gen/documentai1-cli/Cargo.toml b/gen/documentai1-cli/Cargo.toml index 3b47fc861b..d3c229ffb7 100644 --- a/gen/documentai1-cli/Cargo.toml +++ b/gen/documentai1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-documentai1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-documentai1] path = "../documentai1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/documentai1-cli/README.md b/gen/documentai1-cli/README.md index 5a132bc767..432f247998 100644 --- a/gen/documentai1-cli/README.md +++ b/gen/documentai1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Document* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Document* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash documentai1 [options] diff --git a/gen/documentai1-cli/mkdocs.yml b/gen/documentai1-cli/mkdocs.yml index 3db967602a..0492f66900 100644 --- a/gen/documentai1-cli/mkdocs.yml +++ b/gen/documentai1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Document v2.0.4+20210329 +site_name: Document v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-documentai1-cli site_description: A complete library to interact with Document (protocol v1) diff --git a/gen/documentai1-cli/src/main.rs b/gen/documentai1-cli/src/main.rs index 9a15e318a7..acc4787235 100644 --- a/gen/documentai1-cli/src/main.rs +++ b/gen/documentai1-cli/src/main.rs @@ -1606,7 +1606,7 @@ async fn main() { let mut app = App::new("documentai1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_documentai1_cli") .arg(Arg::with_name("url") diff --git a/gen/documentai1/Cargo.toml b/gen/documentai1/Cargo.toml index a5f99a78ef..bff2eec6bb 100644 --- a/gen/documentai1/Cargo.toml +++ b/gen/documentai1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-documentai1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1" homepage = "https://cloud.google.com/document-ai/docs/" -documentation = "https://docs.rs/google-documentai1/2.0.4+20210329" +documentation = "https://docs.rs/google-documentai1/2.0.5+20210329" license = "MIT" keywords = ["documentai", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/documentai1/README.md b/gen/documentai1/README.md index 2f0f24d148..13ff1b60fc 100644 --- a/gen/documentai1/README.md +++ b/gen/documentai1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-documentai1` library allows access to all features of the *Google Document* service. -This documentation was generated from *Document* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Document* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Document* *v1* API can be found at the [official documentation site](https://cloud.google.com/document-ai/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/Document) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/Document) ... * operations - * [*cancel*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::OperationCancelCall), [*delete*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::OperationListCall) + * [*cancel*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::OperationCancelCall), [*delete*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::OperationListCall) * projects - * [*locations get*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationOperationGetCall), [*locations processors batch process*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationProcessorBatchProcesCall), [*locations processors human review config review document*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationProcessorHumanReviewConfigReviewDocumentCall), [*locations processors process*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationProcessorProcesCall), [*locations processors processor versions batch process*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationProcessorProcessorVersionBatchProcesCall), [*locations processors processor versions process*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectLocationProcessorProcessorVersionProcesCall) and [*operations get*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::ProjectOperationGetCall) + * [*locations get*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationOperationGetCall), [*locations processors batch process*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationProcessorBatchProcesCall), [*locations processors human review config review document*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationProcessorHumanReviewConfigReviewDocumentCall), [*locations processors process*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationProcessorProcesCall), [*locations processors processor versions batch process*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationProcessorProcessorVersionBatchProcesCall), [*locations processors processor versions process*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectLocationProcessorProcessorVersionProcesCall) and [*operations get*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::ProjectOperationGetCall) * uiv1beta3 - * [*projects locations get*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::Uiv1beta3ProjectLocationGetCall), [*projects locations list*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::Uiv1beta3ProjectLocationListCall) and [*projects locations operations get*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/api::Uiv1beta3ProjectLocationOperationGetCall) + * [*projects locations get*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::Uiv1beta3ProjectLocationGetCall), [*projects locations list*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::Uiv1beta3ProjectLocationListCall) and [*projects locations operations get*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/api::Uiv1beta3ProjectLocationOperationGetCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/Document)** +* **[Hub](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/Document)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::CallBuilder) -* **[Resources](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::CallBuilder) +* **[Resources](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Part)** + * **[Parts](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-documentai1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Delegate), 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-documentai1/2.0.4+20210329/google_documentai1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Delegate) to the -[Method Builder](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Delegate) to the +[Method Builder](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::CallBuilder) 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-documentai1/2.0.4+20210329/google_documentai1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Delegate) 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 [encodable](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::RequestValue) and -[decodable](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::RequestValue) and +[decodable](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-documentai1/2.0.4+20210329/google_documentai1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::Part) 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-documentai1/2.0.4+20210329/google_documentai1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::CallBuilder), 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-documentai1/2.0.4+20210329/google_documentai1/client::RequestValue) are moved +* [request values](https://docs.rs/google-documentai1/2.0.5+20210329/google_documentai1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/documentai1/src/api.rs b/gen/documentai1/src/api.rs index 48e127e6dc..98330022e2 100644 --- a/gen/documentai1/src/api.rs +++ b/gen/documentai1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Document<> { Document { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://documentai.googleapis.com/".to_string(), _root_url: "https://documentai.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Document<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/documentai1/src/client.rs b/gen/documentai1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/documentai1/src/client.rs +++ b/gen/documentai1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/documentai1/src/lib.rs b/gen/documentai1/src/lib.rs index f546d3c181..52f3b5c8c8 100644 --- a/gen/documentai1/src/lib.rs +++ b/gen/documentai1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Document* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Document* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Document* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/document-ai/docs/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-documentai1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/documentai1_beta2-cli/Cargo.toml b/gen/documentai1_beta2-cli/Cargo.toml index c16c197146..03a903349f 100644 --- a/gen/documentai1_beta2-cli/Cargo.toml +++ b/gen/documentai1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-documentai1_beta2-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-documentai1_beta2] path = "../documentai1_beta2" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/documentai1_beta2-cli/README.md b/gen/documentai1_beta2-cli/README.md index 368ec9eb8b..7130f49602 100644 --- a/gen/documentai1_beta2-cli/README.md +++ b/gen/documentai1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Document* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Document* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash documentai1-beta2 [options] diff --git a/gen/documentai1_beta2-cli/mkdocs.yml b/gen/documentai1_beta2-cli/mkdocs.yml index a2f9775fa0..b90c450207 100644 --- a/gen/documentai1_beta2-cli/mkdocs.yml +++ b/gen/documentai1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Document v2.0.4+20210329 +site_name: Document v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-documentai1_beta2-cli site_description: A complete library to interact with Document (protocol v1beta2) diff --git a/gen/documentai1_beta2-cli/src/main.rs b/gen/documentai1_beta2-cli/src/main.rs index 8f67b1c3fb..cb35f75b16 100644 --- a/gen/documentai1_beta2-cli/src/main.rs +++ b/gen/documentai1_beta2-cli/src/main.rs @@ -778,7 +778,7 @@ async fn main() { let mut app = App::new("documentai1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_documentai1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/documentai1_beta2/Cargo.toml b/gen/documentai1_beta2/Cargo.toml index d985759e94..03dd358afd 100644 --- a/gen/documentai1_beta2/Cargo.toml +++ b/gen/documentai1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-documentai1_beta2" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1_beta2" homepage = "https://cloud.google.com/document-ai/docs/" -documentation = "https://docs.rs/google-documentai1_beta2/2.0.4+20210329" +documentation = "https://docs.rs/google-documentai1_beta2/2.0.5+20210329" license = "MIT" keywords = ["documentai", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/documentai1_beta2/README.md b/gen/documentai1_beta2/README.md index 46545c66eb..fc220878a2 100644 --- a/gen/documentai1_beta2/README.md +++ b/gen/documentai1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-documentai1_beta2` library allows access to all features of the *Google Document* service. -This documentation was generated from *Document* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Document* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Document* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/document-ai/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/Document) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/Document) ... * projects - * [*documents batch process*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/api::ProjectDocumentBatchProcesCall), [*documents process*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/api::ProjectDocumentProcesCall), [*locations documents batch process*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/api::ProjectLocationDocumentBatchProcesCall), [*locations documents process*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/api::ProjectLocationDocumentProcesCall), [*locations operations get*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/api::ProjectLocationOperationGetCall) and [*operations get*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/api::ProjectOperationGetCall) + * [*documents batch process*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/api::ProjectDocumentBatchProcesCall), [*documents process*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/api::ProjectDocumentProcesCall), [*locations documents batch process*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/api::ProjectLocationDocumentBatchProcesCall), [*locations documents process*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/api::ProjectLocationDocumentProcesCall), [*locations operations get*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/api::ProjectLocationOperationGetCall) and [*operations get*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/api::ProjectOperationGetCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/Document)** +* **[Hub](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/Document)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-documentai1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Delegate), 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-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::CallBuilder) 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-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::Part) 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-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::CallBuilder), 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-documentai1_beta2/2.0.4+20210329/google_documentai1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-documentai1_beta2/2.0.5+20210329/google_documentai1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/documentai1_beta2/src/api.rs b/gen/documentai1_beta2/src/api.rs index 847cc498dd..7a9190b5e3 100644 --- a/gen/documentai1_beta2/src/api.rs +++ b/gen/documentai1_beta2/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Document<> { Document { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://documentai.googleapis.com/".to_string(), _root_url: "https://documentai.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Document<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/documentai1_beta2/src/client.rs b/gen/documentai1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/documentai1_beta2/src/client.rs +++ b/gen/documentai1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/documentai1_beta2/src/lib.rs b/gen/documentai1_beta2/src/lib.rs index 6d75d28002..a2d591d8a9 100644 --- a/gen/documentai1_beta2/src/lib.rs +++ b/gen/documentai1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Document* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Document* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Document* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/document-ai/docs/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-documentai1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/domains1_beta1-cli/Cargo.toml b/gen/domains1_beta1-cli/Cargo.toml index c1ee850fbb..dff55473e5 100644 --- a/gen/domains1_beta1-cli/Cargo.toml +++ b/gen/domains1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-domains1_beta1-cli" -version = "2.0.4+20210216" +version = "2.0.5+20210216" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Domains (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domains1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-domains1_beta1] path = "../domains1_beta1" -version = "2.0.4+20210216" +version = "2.0.5+20210216" diff --git a/gen/domains1_beta1-cli/README.md b/gen/domains1_beta1-cli/README.md index e97e4587d1..c0e3f2c2d6 100644 --- a/gen/domains1_beta1-cli/README.md +++ b/gen/domains1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Domains* API at revision *20210216*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Domains* API at revision *20210216*. The CLI is at version *2.0.5*. ```bash domains1-beta1 [options] diff --git a/gen/domains1_beta1-cli/mkdocs.yml b/gen/domains1_beta1-cli/mkdocs.yml index d496064f44..d5ef6d20dc 100644 --- a/gen/domains1_beta1-cli/mkdocs.yml +++ b/gen/domains1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Domains v2.0.4+20210216 +site_name: Cloud Domains v2.0.5+20210216 site_url: http://byron.github.io/google-apis-rs/google-domains1_beta1-cli site_description: A complete library to interact with Cloud Domains (protocol v1beta1) diff --git a/gen/domains1_beta1-cli/src/main.rs b/gen/domains1_beta1-cli/src/main.rs index 8b3fae32ae..ae110cc219 100644 --- a/gen/domains1_beta1-cli/src/main.rs +++ b/gen/domains1_beta1-cli/src/main.rs @@ -2322,7 +2322,7 @@ async fn main() { let mut app = App::new("domains1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210216") + .version("2.0.5+20210216") .about("Enables management and configuration of domain names.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_domains1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/domains1_beta1/Cargo.toml b/gen/domains1_beta1/Cargo.toml index f489781f85..751661a117 100644 --- a/gen/domains1_beta1/Cargo.toml +++ b/gen/domains1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-domains1_beta1" -version = "2.0.4+20210216" +version = "2.0.5+20210216" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Domains (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domains1_beta1" homepage = "https://cloud.google.com/domains/" -documentation = "https://docs.rs/google-domains1_beta1/2.0.4+20210216" +documentation = "https://docs.rs/google-domains1_beta1/2.0.5+20210216" license = "MIT" keywords = ["domains", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/domains1_beta1/README.md b/gen/domains1_beta1/README.md index 37a6eb9cab..07bfe18822 100644 --- a/gen/domains1_beta1/README.md +++ b/gen/domains1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-domains1_beta1` library allows access to all features of the *Google Cloud Domains* service. -This documentation was generated from *Cloud Domains* crate version *2.0.4+20210216*, where *20210216* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Domains* crate version *2.0.5+20210216*, where *20210216* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Domains* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/domains/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/CloudDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/CloudDomains) ... * projects - * [*locations get*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationSetIamPolicyCall) and [*locations registrations test iam permissions*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/api::ProjectLocationRegistrationTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationSetIamPolicyCall) and [*locations registrations test iam permissions*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/api::ProjectLocationRegistrationTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/CloudDomains)** +* **[Hub](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/CloudDomains)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-domains1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Delegate), 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-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::CallBuilder) 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-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::Part) 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-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::CallBuilder), 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-domains1_beta1/2.0.4+20210216/google_domains1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domains1_beta1/2.0.5+20210216/google_domains1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/domains1_beta1/src/api.rs b/gen/domains1_beta1/src/api.rs index 0d801d4a99..fd0c7ff5a3 100644 --- a/gen/domains1_beta1/src/api.rs +++ b/gen/domains1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudDomains<> { CloudDomains { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://domains.googleapis.com/".to_string(), _root_url: "https://domains.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudDomains<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/domains1_beta1/src/client.rs b/gen/domains1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/domains1_beta1/src/client.rs +++ b/gen/domains1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/domains1_beta1/src/lib.rs b/gen/domains1_beta1/src/lib.rs index dca77cfc4d..648877986f 100644 --- a/gen/domains1_beta1/src/lib.rs +++ b/gen/domains1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Domains* crate version *2.0.4+20210216*, where *20210216* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Domains* crate version *2.0.5+20210216*, where *20210216* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Domains* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/domains/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-domains1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/domainsrdap1-cli/Cargo.toml b/gen/domainsrdap1-cli/Cargo.toml index 14c5549468..1153146cbc 100644 --- a/gen/domainsrdap1-cli/Cargo.toml +++ b/gen/domainsrdap1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-domainsrdap1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Domains RDAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domainsrdap1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-domainsrdap1] path = "../domainsrdap1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/domainsrdap1-cli/README.md b/gen/domainsrdap1-cli/README.md index 1d824e12a4..bcb03e5cf9 100644 --- a/gen/domainsrdap1-cli/README.md +++ b/gen/domainsrdap1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Domains RDAP* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Domains RDAP* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash domainsrdap1 [options] diff --git a/gen/domainsrdap1-cli/mkdocs.yml b/gen/domainsrdap1-cli/mkdocs.yml index 3117fe47c6..3607271541 100644 --- a/gen/domainsrdap1-cli/mkdocs.yml +++ b/gen/domainsrdap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Domains RDAP v2.0.4+20210331 +site_name: Domains RDAP v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-domainsrdap1-cli site_description: A complete library to interact with Domains RDAP (protocol v1) diff --git a/gen/domainsrdap1-cli/src/main.rs b/gen/domainsrdap1-cli/src/main.rs index 2e55385847..d26cc26077 100644 --- a/gen/domainsrdap1-cli/src/main.rs +++ b/gen/domainsrdap1-cli/src/main.rs @@ -903,7 +903,7 @@ async fn main() { let mut app = App::new("domainsrdap1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("Read-only public API that lets users search for information about domain names.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_domainsrdap1_cli") .arg(Arg::with_name("folder") diff --git a/gen/domainsrdap1/Cargo.toml b/gen/domainsrdap1/Cargo.toml index 2cf3c06656..2e16474094 100644 --- a/gen/domainsrdap1/Cargo.toml +++ b/gen/domainsrdap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-domainsrdap1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Domains RDAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domainsrdap1" homepage = "https://developers.google.com/domains/rdap/" -documentation = "https://docs.rs/google-domainsrdap1/2.0.4+20210331" +documentation = "https://docs.rs/google-domainsrdap1/2.0.5+20210331" license = "MIT" keywords = ["domainsrdap", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/domainsrdap1/README.md b/gen/domainsrdap1/README.md index 3b51fadd5e..688db070a9 100644 --- a/gen/domainsrdap1/README.md +++ b/gen/domainsrdap1/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-domainsrdap1` library allows access to all features of the *Google Domains RDAP* service. -This documentation was generated from *Domains RDAP* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Domains RDAP* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Domains RDAP* *v1* API can be found at the [official documentation site](https://developers.google.com/domains/rdap/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/DomainsRDAP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/DomainsRDAP) ... * autnum - * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::AutnumGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::AutnumGetCall) * domain - * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::DomainGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::DomainGetCall) * entity - * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::EntityGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::EntityGetCall) * ip - * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::IpGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::IpGetCall) * nameserver - * [*get*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::NameserverGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::NameserverGetCall) Other activities are ... -* [get domains](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::MethodGetDomainCall) -* [get entities](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::MethodGetEntityCall) -* [get help](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::MethodGetHelpCall) -* [get ip](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::MethodGetIpCall) -* [get nameservers](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/api::MethodGetNameserverCall) +* [get domains](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::MethodGetDomainCall) +* [get entities](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::MethodGetEntityCall) +* [get help](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::MethodGetHelpCall) +* [get ip](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::MethodGetIpCall) +* [get nameservers](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/api::MethodGetNameserverCall) @@ -38,17 +38,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/DomainsRDAP)** +* **[Hub](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/DomainsRDAP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::CallBuilder) +* **[Resources](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Part)** + * **[Parts](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -85,9 +85,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-domainsrdap1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -147,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Delegate), 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-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::ResponseResult), 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")`. @@ -167,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Delegate) to the +[Method Builder](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::CallBuilder) 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-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Delegate) 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 [encodable](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::RequestValue) and -[decodable](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::RequestValue) and +[decodable](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::Part) 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-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::CallBuilder), 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-domainsrdap1/2.0.4+20210331/google_domainsrdap1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domainsrdap1/2.0.5+20210331/google_domainsrdap1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/domainsrdap1/src/api.rs b/gen/domainsrdap1/src/api.rs index 204a5aa61a..f42200e564 100644 --- a/gen/domainsrdap1/src/api.rs +++ b/gen/domainsrdap1/src/api.rs @@ -92,7 +92,7 @@ impl<'a, > DomainsRDAP<> { DomainsRDAP { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://domainsrdap.googleapis.com/".to_string(), _root_url: "https://domainsrdap.googleapis.com/".to_string(), } @@ -118,7 +118,7 @@ impl<'a, > DomainsRDAP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/domainsrdap1/src/client.rs b/gen/domainsrdap1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/domainsrdap1/src/client.rs +++ b/gen/domainsrdap1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/domainsrdap1/src/lib.rs b/gen/domainsrdap1/src/lib.rs index 459c351564..4612ee43b2 100644 --- a/gen/domainsrdap1/src/lib.rs +++ b/gen/domainsrdap1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Domains RDAP* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Domains RDAP* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Domains RDAP* *v1* API can be found at the //! [official documentation site](https://developers.google.com/domains/rdap/). @@ -85,9 +85,6 @@ //! ```toml //! [dependencies] //! google-domainsrdap1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/doubleclickbidmanager1-cli/Cargo.toml b/gen/doubleclickbidmanager1-cli/Cargo.toml index e8bdbf39f8..63ced5d3e1 100644 --- a/gen/doubleclickbidmanager1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclickbidmanager1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-doubleclickbidmanager1] path = "../doubleclickbidmanager1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/doubleclickbidmanager1-cli/README.md b/gen/doubleclickbidmanager1-cli/README.md index 38fb7edeed..a42d742725 100644 --- a/gen/doubleclickbidmanager1-cli/README.md +++ b/gen/doubleclickbidmanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash doubleclickbidmanager1 [options] diff --git a/gen/doubleclickbidmanager1-cli/mkdocs.yml b/gen/doubleclickbidmanager1-cli/mkdocs.yml index 85358bfbfc..45c8860b67 100644 --- a/gen/doubleclickbidmanager1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v2.0.4+20210323 +site_name: DoubleClick Bid Manager v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-doubleclickbidmanager1-cli site_description: A complete library to interact with DoubleClick Bid Manager (protocol v1) diff --git a/gen/doubleclickbidmanager1-cli/src/main.rs b/gen/doubleclickbidmanager1-cli/src/main.rs index e4be59a10a..bd1a9b9c80 100644 --- a/gen/doubleclickbidmanager1-cli/src/main.rs +++ b/gen/doubleclickbidmanager1-cli/src/main.rs @@ -1029,7 +1029,7 @@ async fn main() { let mut app = App::new("doubleclickbidmanager1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("DoubleClick Bid Manager API allows users to manage and create campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclickbidmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclickbidmanager1/Cargo.toml b/gen/doubleclickbidmanager1/Cargo.toml index 3448454752..d40726a8d3 100644 --- a/gen/doubleclickbidmanager1/Cargo.toml +++ b/gen/doubleclickbidmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1" homepage = "https://developers.google.com/bid-manager/" -documentation = "https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323" +documentation = "https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/doubleclickbidmanager1/README.md b/gen/doubleclickbidmanager1/README.md index 56addea33b..0f8236d87c 100644 --- a/gen/doubleclickbidmanager1/README.md +++ b/gen/doubleclickbidmanager1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-doubleclickbidmanager1` library allows access to all features of the *Google DoubleClick Bid Manager* service. -This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the [official documentation site](https://developers.google.com/bid-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/DoubleClickBidManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/DoubleClickBidManager) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::LineitemUploadlineitemCall) -* [queries](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::Query) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::QueryRunqueryCall) -* [reports](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::Report) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::ReportListreportCall) + * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::LineitemUploadlineitemCall) +* [queries](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::Query) + * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::QueryRunqueryCall) +* [reports](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::Report) + * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::ReportListreportCall) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/api::SdfDownloadCall) + * [*download*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/api::SdfDownloadCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/DoubleClickBidManager)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/DoubleClickBidManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Part)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-doubleclickbidmanager1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Delegate) 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 [encodable](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-doubleclickbidmanager1/2.0.4+20210323/google_doubleclickbidmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1/2.0.5+20210323/google_doubleclickbidmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/doubleclickbidmanager1/src/api.rs b/gen/doubleclickbidmanager1/src/api.rs index 6ac32d0009..3ebd00217f 100644 --- a/gen/doubleclickbidmanager1/src/api.rs +++ b/gen/doubleclickbidmanager1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > DoubleClickBidManager<> { DoubleClickBidManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1/".to_string(), _root_url: "https://doubleclickbidmanager.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > DoubleClickBidManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclickbidmanager1/src/client.rs b/gen/doubleclickbidmanager1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/doubleclickbidmanager1/src/client.rs +++ b/gen/doubleclickbidmanager1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/doubleclickbidmanager1/src/lib.rs b/gen/doubleclickbidmanager1/src/lib.rs index 7baae7d12c..41c1997f8e 100644 --- a/gen/doubleclickbidmanager1/src/lib.rs +++ b/gen/doubleclickbidmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-doubleclickbidmanager1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/doubleclickbidmanager1d1-cli/Cargo.toml b/gen/doubleclickbidmanager1d1-cli/Cargo.toml index 9cd9b699b0..e1512caae9 100644 --- a/gen/doubleclickbidmanager1d1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclickbidmanager1d1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1d1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-doubleclickbidmanager1d1] path = "../doubleclickbidmanager1d1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/doubleclickbidmanager1d1-cli/README.md b/gen/doubleclickbidmanager1d1-cli/README.md index 2fcbb6be81..a803e32c83 100644 --- a/gen/doubleclickbidmanager1d1-cli/README.md +++ b/gen/doubleclickbidmanager1d1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash doubleclickbidmanager1d1 [options] diff --git a/gen/doubleclickbidmanager1d1-cli/mkdocs.yml b/gen/doubleclickbidmanager1d1-cli/mkdocs.yml index c9f02efe81..7ccbb50928 100644 --- a/gen/doubleclickbidmanager1d1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v2.0.4+20210323 +site_name: DoubleClick Bid Manager v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-doubleclickbidmanager1d1-cli site_description: A complete library to interact with DoubleClick Bid Manager (protocol v1.1) diff --git a/gen/doubleclickbidmanager1d1-cli/src/main.rs b/gen/doubleclickbidmanager1d1-cli/src/main.rs index 0cccefa585..762deb63d4 100644 --- a/gen/doubleclickbidmanager1d1-cli/src/main.rs +++ b/gen/doubleclickbidmanager1d1-cli/src/main.rs @@ -1055,7 +1055,7 @@ async fn main() { let mut app = App::new("doubleclickbidmanager1d1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("DoubleClick Bid Manager API allows users to manage and create campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclickbidmanager1d1_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclickbidmanager1d1/Cargo.toml b/gen/doubleclickbidmanager1d1/Cargo.toml index 2557d3adae..bc6663fef5 100644 --- a/gen/doubleclickbidmanager1d1/Cargo.toml +++ b/gen/doubleclickbidmanager1d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1d1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1d1" homepage = "https://developers.google.com/bid-manager/" -documentation = "https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323" +documentation = "https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/doubleclickbidmanager1d1/README.md b/gen/doubleclickbidmanager1d1/README.md index 56ced458b8..f8d225c86b 100644 --- a/gen/doubleclickbidmanager1d1/README.md +++ b/gen/doubleclickbidmanager1d1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-doubleclickbidmanager1d1` library allows access to all features of the *Google DoubleClick Bid Manager* service. -This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *DoubleClick Bid Manager* *v1d1* API can be found at the [official documentation site](https://developers.google.com/bid-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::LineitemUploadlineitemCall) -* [queries](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::Query) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::QueryRunqueryCall) -* [reports](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::Report) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::ReportListreportCall) + * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::LineitemUploadlineitemCall) +* [queries](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::Query) + * [*createquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::QueryRunqueryCall) +* [reports](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::Report) + * [*listreports*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::ReportListreportCall) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/api::SdfDownloadCall) + * [*download*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/api::SdfDownloadCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/DoubleClickBidManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::CallBuilder) +* **[Resources](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Part)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-doubleclickbidmanager1d1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Delegate), 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-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Delegate) to the +[Method Builder](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::CallBuilder) 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-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Delegate) 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 [encodable](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::RequestValue) and +[decodable](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::Part) 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-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::CallBuilder), 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-doubleclickbidmanager1d1/2.0.4+20210323/google_doubleclickbidmanager1d1/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1d1/2.0.5+20210323/google_doubleclickbidmanager1d1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/doubleclickbidmanager1d1/src/api.rs b/gen/doubleclickbidmanager1d1/src/api.rs index 71c8ed3247..01c6a56c8e 100644 --- a/gen/doubleclickbidmanager1d1/src/api.rs +++ b/gen/doubleclickbidmanager1d1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > DoubleClickBidManager<> { DoubleClickBidManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1.1/".to_string(), _root_url: "https://doubleclickbidmanager.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > DoubleClickBidManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclickbidmanager1d1/src/client.rs b/gen/doubleclickbidmanager1d1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/doubleclickbidmanager1d1/src/client.rs +++ b/gen/doubleclickbidmanager1d1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/doubleclickbidmanager1d1/src/lib.rs b/gen/doubleclickbidmanager1d1/src/lib.rs index 826885597c..fd9aef441e 100644 --- a/gen/doubleclickbidmanager1d1/src/lib.rs +++ b/gen/doubleclickbidmanager1d1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *DoubleClick Bid Manager* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *DoubleClick Bid Manager* *v1d1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-doubleclickbidmanager1d1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/doubleclicksearch2-cli/Cargo.toml b/gen/doubleclicksearch2-cli/Cargo.toml index 2b3329f35d..d0be3e1eac 100644 --- a/gen/doubleclicksearch2-cli/Cargo.toml +++ b/gen/doubleclicksearch2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclicksearch2-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclicksearch2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-doubleclicksearch2] path = "../doubleclicksearch2" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/doubleclicksearch2-cli/README.md b/gen/doubleclicksearch2-cli/README.md index fb6b49c7be..5c777fc19e 100644 --- a/gen/doubleclicksearch2-cli/README.md +++ b/gen/doubleclicksearch2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Doubleclicksearch* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Doubleclicksearch* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash doubleclicksearch2 [options] diff --git a/gen/doubleclicksearch2-cli/mkdocs.yml b/gen/doubleclicksearch2-cli/mkdocs.yml index 689149b173..b2ccceed55 100644 --- a/gen/doubleclicksearch2-cli/mkdocs.yml +++ b/gen/doubleclicksearch2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Doubleclicksearch v2.0.4+20210323 +site_name: Doubleclicksearch v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-doubleclicksearch2-cli site_description: A complete library to interact with Doubleclicksearch (protocol v2) diff --git a/gen/doubleclicksearch2-cli/src/main.rs b/gen/doubleclicksearch2-cli/src/main.rs index 7422f5bd7f..1d67afa306 100644 --- a/gen/doubleclicksearch2-cli/src/main.rs +++ b/gen/doubleclicksearch2-cli/src/main.rs @@ -1121,7 +1121,7 @@ async fn main() { let mut app = App::new("doubleclicksearch2") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclicksearch2_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclicksearch2/Cargo.toml b/gen/doubleclicksearch2/Cargo.toml index 0b9c09df6f..d962571cdc 100644 --- a/gen/doubleclicksearch2/Cargo.toml +++ b/gen/doubleclicksearch2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclicksearch2" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclicksearch2" homepage = "https://developers.google.com/search-ads" -documentation = "https://docs.rs/google-doubleclicksearch2/2.0.4+20210323" +documentation = "https://docs.rs/google-doubleclicksearch2/2.0.5+20210323" license = "MIT" keywords = ["doubleclicksearch", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/doubleclicksearch2/README.md b/gen/doubleclicksearch2/README.md index b782c5e3fb..7e1f75159e 100644 --- a/gen/doubleclicksearch2/README.md +++ b/gen/doubleclicksearch2/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-doubleclicksearch2` library allows access to all features of the *Google Doubleclicksearch* service. -This documentation was generated from *Doubleclicksearch* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Doubleclicksearch* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Doubleclicksearch* *v2* API can be found at the [official documentation site](https://developers.google.com/search-ads). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/Doubleclicksearch) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/Doubleclicksearch) ... -* [conversion](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::Conversion) - * [*get*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ConversionGetCall), [*insert*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ConversionInsertCall), [*update*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ConversionUpdateCall) and [*update availability*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ConversionUpdateAvailabilityCall) -* [reports](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::Report) - * [*generate*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ReportGenerateCall), [*get*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ReportGetCall), [*get file*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ReportGetFileCall) and [*request*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ReportRequestCall) -* [saved columns](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::SavedColumn) - * [*list*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::SavedColumnListCall) +* [conversion](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::Conversion) + * [*get*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ConversionGetCall), [*insert*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ConversionInsertCall), [*update*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ConversionUpdateCall) and [*update availability*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ConversionUpdateAvailabilityCall) +* [reports](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::Report) + * [*generate*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ReportGenerateCall), [*get*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ReportGetCall), [*get file*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ReportGetFileCall) and [*request*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ReportRequestCall) +* [saved columns](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::SavedColumn) + * [*list*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::SavedColumnListCall) Download supported by ... -* [*get file reports*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/api::ReportGetFileCall) +* [*get file reports*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/api::ReportGetFileCall) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/Doubleclicksearch)** +* **[Hub](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/Doubleclicksearch)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::CallBuilder) +* **[Resources](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Part)** + * **[Parts](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-doubleclicksearch2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Delegate) to the +[Method Builder](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Delegate) 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 [encodable](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::RequestValue) and +[decodable](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-doubleclicksearch2/2.0.4+20210323/google_doubleclicksearch2/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclicksearch2/2.0.5+20210323/google_doubleclicksearch2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/doubleclicksearch2/src/api.rs b/gen/doubleclicksearch2/src/api.rs index 391bd8b155..4baaa33f6c 100644 --- a/gen/doubleclicksearch2/src/api.rs +++ b/gen/doubleclicksearch2/src/api.rs @@ -114,7 +114,7 @@ impl<'a, > Doubleclicksearch<> { Doubleclicksearch { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://doubleclicksearch.googleapis.com/".to_string(), _root_url: "https://doubleclicksearch.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Doubleclicksearch<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclicksearch2/src/client.rs b/gen/doubleclicksearch2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/doubleclicksearch2/src/client.rs +++ b/gen/doubleclicksearch2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs index 78f24b2972..db1422eb14 100644 --- a/gen/doubleclicksearch2/src/lib.rs +++ b/gen/doubleclicksearch2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Doubleclicksearch* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Doubleclicksearch* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Doubleclicksearch* *v2* API can be found at the //! [official documentation site](https://developers.google.com/search-ads). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-doubleclicksearch2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/drive2-cli/Cargo.toml b/gen/drive2-cli/Cargo.toml index 07d0983a5c..56e84099f1 100644 --- a/gen/drive2-cli/Cargo.toml +++ b/gen/drive2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive2-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-drive2] path = "../drive2" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/drive2-cli/README.md b/gen/drive2-cli/README.md index e789207f1e..c39a6d2230 100644 --- a/gen/drive2-cli/README.md +++ b/gen/drive2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *drive* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *drive* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash drive2 [options] diff --git a/gen/drive2-cli/mkdocs.yml b/gen/drive2-cli/mkdocs.yml index d56f52f175..9c9e7ec950 100644 --- a/gen/drive2-cli/mkdocs.yml +++ b/gen/drive2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v2.0.4+20210322 +site_name: drive v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-drive2-cli site_description: A complete library to interact with drive (protocol v2) diff --git a/gen/drive2-cli/src/main.rs b/gen/drive2-cli/src/main.rs index 7054364bb5..9f3f465b82 100644 --- a/gen/drive2-cli/src/main.rs +++ b/gen/drive2-cli/src/main.rs @@ -8543,7 +8543,7 @@ async fn main() { let mut app = App::new("drive2") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive2_cli") .arg(Arg::with_name("url") diff --git a/gen/drive2/Cargo.toml b/gen/drive2/Cargo.toml index 7fbb7939ba..14f77f230e 100644 --- a/gen/drive2/Cargo.toml +++ b/gen/drive2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive2" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive2" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive2/2.0.4+20210322" +documentation = "https://docs.rs/google-drive2/2.0.5+20210322" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/drive2/README.md b/gen/drive2/README.md index 2b34c0b177..79360abe41 100644 --- a/gen/drive2/README.md +++ b/gen/drive2/README.md @@ -5,62 +5,62 @@ DO NOT EDIT ! --> The `google-drive2` library allows access to all features of the *Google drive* service. -This documentation was generated from *drive* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *drive* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *drive* *v2* API can be found at the [official documentation site](https://developers.google.com/drive/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/DriveHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/DriveHub) ... -* [about](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::About) - * [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::AboutGetCall) -* [apps](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::App) - * [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::AppGetCall) and [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::AppListCall) -* [changes](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Change) - * [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChangeGetCall), [*get start page token*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChangeWatchCall) -* [channels](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Channel) - * [*stop*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChannelStopCall) +* [about](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::About) + * [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::AboutGetCall) +* [apps](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::App) + * [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::AppGetCall) and [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::AppListCall) +* [changes](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Change) + * [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChangeGetCall), [*get start page token*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChangeWatchCall) +* [channels](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Channel) + * [*stop*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChannelStopCall) * children - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChildrenDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChildrenGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChildrenInsertCall) and [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChildrenListCall) -* [comments](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Comment) - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::CommentGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::CommentInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::CommentListCall), [*patch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::CommentPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::CommentUpdateCall) -* [drives](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Drive) - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveGetCall), [*hide*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveHideCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveListCall), [*unhide*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::DriveUpdateCall) -* [files](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::File) - * [*copy*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileCopyCall), [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileListCall), [*patch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FilePatchCall), [*touch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileTouchCall), [*trash*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileTrashCall), [*untrash*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileUntrashCall), [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileWatchCall) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChildrenDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChildrenGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChildrenInsertCall) and [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChildrenListCall) +* [comments](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Comment) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::CommentGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::CommentInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::CommentListCall), [*patch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::CommentPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::CommentUpdateCall) +* [drives](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Drive) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveGetCall), [*hide*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveHideCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveListCall), [*unhide*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::DriveUpdateCall) +* [files](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::File) + * [*copy*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileCopyCall), [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileListCall), [*patch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FilePatchCall), [*touch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileTouchCall), [*trash*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileTrashCall), [*untrash*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileUntrashCall), [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileWatchCall) * parents - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ParentDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ParentGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ParentInsertCall) and [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ParentListCall) -* [permissions](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Permission) - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionGetCall), [*get id for email*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionGetIdForEmailCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionListCall), [*patch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PermissionUpdateCall) -* [properties](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Property) - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PropertyDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PropertyGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PropertyInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PropertyListCall), [*patch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PropertyPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::PropertyUpdateCall) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ParentDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ParentGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ParentInsertCall) and [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ParentListCall) +* [permissions](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Permission) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionGetCall), [*get id for email*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionGetIdForEmailCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionListCall), [*patch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PermissionUpdateCall) +* [properties](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Property) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PropertyDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PropertyGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PropertyInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PropertyListCall), [*patch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PropertyPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::PropertyUpdateCall) * replies - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ReplyGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ReplyInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ReplyListCall), [*patch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ReplyPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ReplyUpdateCall) -* [revisions](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::Revision) - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::RevisionGetCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::RevisionListCall), [*patch*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::RevisionPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::RevisionUpdateCall) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ReplyGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ReplyInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ReplyListCall), [*patch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ReplyPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ReplyUpdateCall) +* [revisions](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::Revision) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::RevisionGetCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::RevisionListCall), [*patch*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::RevisionPatchCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::RevisionUpdateCall) * teamdrives - * [*delete*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::TeamdriveGetCall), [*insert*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::TeamdriveInsertCall), [*list*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::TeamdriveUpdateCall) + * [*delete*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::TeamdriveGetCall), [*insert*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::TeamdriveInsertCall), [*list*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::TeamdriveUpdateCall) Upload supported by ... -* [*insert files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileInsertCall) -* [*update files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileUpdateCall) +* [*insert files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileInsertCall) +* [*update files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileUpdateCall) Download supported by ... -* [*export files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileExportCall) -* [*get files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileWatchCall) +* [*export files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileExportCall) +* [*get files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileGetCall) +* [*watch files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileWatchCall) Subscription supported by ... -* [*list changes*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChangeListCall) -* [*watch changes*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::ChangeWatchCall) -* [*get files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileGetCall) -* [*insert files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileInsertCall) -* [*watch files*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/api::FileWatchCall) +* [*list changes*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChangeListCall) +* [*watch changes*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::ChangeWatchCall) +* [*get files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileGetCall) +* [*insert files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileInsertCall) +* [*watch files*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/api::FileWatchCall) @@ -68,17 +68,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/DriveHub)** +* **[Hub](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/DriveHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::CallBuilder) -* **[Resources](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::CallBuilder) +* **[Resources](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Part)** + * **[Parts](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -122,9 +122,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-drive2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -207,17 +204,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::ResponseResult), 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")`. @@ -227,29 +224,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Delegate) to the -[Method Builder](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Delegate) to the +[Method Builder](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Delegate) 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 [encodable](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::RequestValue) and -[decodable](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::RequestValue) and +[decodable](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-drive2/2.0.4+20210322/google_drive2/client::RequestValue) are moved +* [request values](https://docs.rs/google-drive2/2.0.5+20210322/google_drive2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/drive2/src/api.rs b/gen/drive2/src/api.rs index 841693c88c..fbec35c53b 100644 --- a/gen/drive2/src/api.rs +++ b/gen/drive2/src/api.rs @@ -169,7 +169,7 @@ impl<'a, > DriveHub<> { DriveHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/drive/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -219,7 +219,7 @@ impl<'a, > DriveHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -13508,7 +13508,6 @@ impl<'a> FileInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -16000,7 +15999,6 @@ impl<'a> FileUpdateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/drive2/src/client.rs b/gen/drive2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/drive2/src/client.rs +++ b/gen/drive2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs index a590f496e5..466e9ffa91 100644 --- a/gen/drive2/src/lib.rs +++ b/gen/drive2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *drive* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *drive* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *drive* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/). @@ -122,9 +122,6 @@ //! ```toml //! [dependencies] //! google-drive2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index 3a5056a6a5..c9acf5b23e 100644 --- a/gen/drive3-cli/Cargo.toml +++ b/gen/drive3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive3-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-drive3] path = "../drive3" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/drive3-cli/README.md b/gen/drive3-cli/README.md index 18064387dc..a0ff31c032 100644 --- a/gen/drive3-cli/README.md +++ b/gen/drive3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *drive* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *drive* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash drive3 [options] diff --git a/gen/drive3-cli/mkdocs.yml b/gen/drive3-cli/mkdocs.yml index 2625fb685b..aa1b8008e8 100644 --- a/gen/drive3-cli/mkdocs.yml +++ b/gen/drive3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v2.0.4+20210322 +site_name: drive v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-drive3-cli site_description: A complete library to interact with drive (protocol v3) diff --git a/gen/drive3-cli/src/main.rs b/gen/drive3-cli/src/main.rs index 71fbd44848..cbb668e389 100644 --- a/gen/drive3-cli/src/main.rs +++ b/gen/drive3-cli/src/main.rs @@ -5473,7 +5473,7 @@ async fn main() { let mut app = App::new("drive3") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive3_cli") .arg(Arg::with_name("url") diff --git a/gen/drive3/Cargo.toml b/gen/drive3/Cargo.toml index 2208776545..b0dd3697b1 100644 --- a/gen/drive3/Cargo.toml +++ b/gen/drive3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive3" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive3" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive3/2.0.4+20210322" +documentation = "https://docs.rs/google-drive3/2.0.5+20210322" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/drive3/README.md b/gen/drive3/README.md index 287cc89a1c..5ee1f9cfd7 100644 --- a/gen/drive3/README.md +++ b/gen/drive3/README.md @@ -5,55 +5,55 @@ DO NOT EDIT ! --> The `google-drive3` library allows access to all features of the *Google drive* service. -This documentation was generated from *drive* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *drive* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *drive* *v3* API can be found at the [official documentation site](https://developers.google.com/drive/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/DriveHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/DriveHub) ... -* [about](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::About) - * [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::AboutGetCall) -* [changes](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Change) - * [*get start page token*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ChangeWatchCall) -* [channels](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Channel) - * [*stop*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ChannelStopCall) -* [comments](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Comment) - * [*create*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::CommentCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::CommentGetCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::CommentListCall) and [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::CommentUpdateCall) -* [drives](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Drive) - * [*create*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveGetCall), [*hide*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveHideCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveListCall), [*unhide*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::DriveUpdateCall) -* [files](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::File) - * [*copy*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileCopyCall), [*create*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileGetCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileListCall), [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileWatchCall) -* [permissions](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Permission) - * [*create*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::PermissionCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::PermissionGetCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::PermissionListCall) and [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::PermissionUpdateCall) -* [replies](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Reply) - * [*create*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ReplyCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ReplyGetCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ReplyListCall) and [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ReplyUpdateCall) -* [revisions](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::Revision) - * [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::RevisionGetCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::RevisionListCall) and [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::RevisionUpdateCall) +* [about](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::About) + * [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::AboutGetCall) +* [changes](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Change) + * [*get start page token*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ChangeWatchCall) +* [channels](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Channel) + * [*stop*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ChannelStopCall) +* [comments](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Comment) + * [*create*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::CommentCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::CommentGetCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::CommentListCall) and [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::CommentUpdateCall) +* [drives](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Drive) + * [*create*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveGetCall), [*hide*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveHideCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveListCall), [*unhide*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::DriveUpdateCall) +* [files](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::File) + * [*copy*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileCopyCall), [*create*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileGetCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileListCall), [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileWatchCall) +* [permissions](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Permission) + * [*create*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::PermissionCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::PermissionGetCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::PermissionListCall) and [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::PermissionUpdateCall) +* [replies](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Reply) + * [*create*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ReplyCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ReplyGetCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ReplyListCall) and [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ReplyUpdateCall) +* [revisions](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::Revision) + * [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::RevisionGetCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::RevisionListCall) and [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::RevisionUpdateCall) * teamdrives - * [*create*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::TeamdriveCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::TeamdriveGetCall), [*list*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::TeamdriveUpdateCall) + * [*create*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::TeamdriveCreateCall), [*delete*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::TeamdriveGetCall), [*list*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::TeamdriveUpdateCall) Upload supported by ... -* [*create files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileCreateCall) -* [*update files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileUpdateCall) +* [*create files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileCreateCall) +* [*update files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileUpdateCall) Download supported by ... -* [*export files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileExportCall) -* [*get files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileWatchCall) -* [*get revisions*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::RevisionGetCall) +* [*export files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileExportCall) +* [*get files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileGetCall) +* [*watch files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileWatchCall) +* [*get revisions*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::RevisionGetCall) Subscription supported by ... -* [*list changes*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ChangeListCall) -* [*watch changes*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::ChangeWatchCall) -* [*create files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileCreateCall) -* [*get files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/api::FileWatchCall) +* [*list changes*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ChangeListCall) +* [*watch changes*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::ChangeWatchCall) +* [*create files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileCreateCall) +* [*get files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileGetCall) +* [*watch files*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/api::FileWatchCall) @@ -61,17 +61,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/DriveHub)** +* **[Hub](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/DriveHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::CallBuilder) -* **[Resources](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::CallBuilder) +* **[Resources](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Part)** + * **[Parts](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,9 +111,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-drive3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -187,17 +184,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::ResponseResult), 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")`. @@ -207,29 +204,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Delegate) to the -[Method Builder](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Delegate) to the +[Method Builder](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Delegate) 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 [encodable](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::RequestValue) and -[decodable](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::RequestValue) and +[decodable](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-drive3/2.0.4+20210322/google_drive3/client::RequestValue) are moved +* [request values](https://docs.rs/google-drive3/2.0.5+20210322/google_drive3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/drive3/src/api.rs b/gen/drive3/src/api.rs index afc71922a7..e9e346560e 100644 --- a/gen/drive3/src/api.rs +++ b/gen/drive3/src/api.rs @@ -156,7 +156,7 @@ impl<'a, > DriveHub<> { DriveHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/drive/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -194,7 +194,7 @@ impl<'a, > DriveHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -8414,7 +8414,6 @@ impl<'a> FileCreateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -10767,7 +10766,6 @@ impl<'a> FileUpdateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/drive3/src/client.rs b/gen/drive3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/drive3/src/client.rs +++ b/gen/drive3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/drive3/src/lib.rs b/gen/drive3/src/lib.rs index 7a6d7f25c3..366dbfa801 100644 --- a/gen/drive3/src/lib.rs +++ b/gen/drive3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *drive* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *drive* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *drive* *v3* API can be found at the //! [official documentation site](https://developers.google.com/drive/). @@ -111,9 +111,6 @@ //! ```toml //! [dependencies] //! google-drive3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/driveactivity2-cli/Cargo.toml b/gen/driveactivity2-cli/Cargo.toml index 5fb2eba2c5..f8e090268d 100644 --- a/gen/driveactivity2-cli/Cargo.toml +++ b/gen/driveactivity2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-driveactivity2-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Drive Activity (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/driveactivity2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-driveactivity2] path = "../driveactivity2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/driveactivity2-cli/README.md b/gen/driveactivity2-cli/README.md index 53cee5f864..6dbd8d6990 100644 --- a/gen/driveactivity2-cli/README.md +++ b/gen/driveactivity2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Drive Activity* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Drive Activity* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash driveactivity2 [options] diff --git a/gen/driveactivity2-cli/mkdocs.yml b/gen/driveactivity2-cli/mkdocs.yml index 356d595429..a2dd7d2d1b 100644 --- a/gen/driveactivity2-cli/mkdocs.yml +++ b/gen/driveactivity2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Drive Activity v2.0.4+20210326 +site_name: Drive Activity v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-driveactivity2-cli site_description: A complete library to interact with Drive Activity (protocol v2) diff --git a/gen/driveactivity2-cli/src/main.rs b/gen/driveactivity2-cli/src/main.rs index ed6deed44b..0d840dba7e 100644 --- a/gen/driveactivity2-cli/src/main.rs +++ b/gen/driveactivity2-cli/src/main.rs @@ -246,7 +246,7 @@ async fn main() { let mut app = App::new("driveactivity2") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Provides a historical view of activity in Google Drive.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_driveactivity2_cli") .arg(Arg::with_name("url") diff --git a/gen/driveactivity2/Cargo.toml b/gen/driveactivity2/Cargo.toml index 8fb583121b..907dfd7626 100644 --- a/gen/driveactivity2/Cargo.toml +++ b/gen/driveactivity2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-driveactivity2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Drive Activity (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/driveactivity2" homepage = "https://developers.google.com/drive/activity/" -documentation = "https://docs.rs/google-driveactivity2/2.0.4+20210326" +documentation = "https://docs.rs/google-driveactivity2/2.0.5+20210326" license = "MIT" keywords = ["driveactivity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/driveactivity2/README.md b/gen/driveactivity2/README.md index ae96ef5b2b..ebb4617eab 100644 --- a/gen/driveactivity2/README.md +++ b/gen/driveactivity2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-driveactivity2` library allows access to all features of the *Google Drive Activity* service. -This documentation was generated from *Drive Activity* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Drive Activity* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Drive Activity* *v2* API can be found at the [official documentation site](https://developers.google.com/drive/activity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/DriveActivityHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/DriveActivityHub) ... * activity - * [*query*](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/api::ActivityQueryCall) + * [*query*](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/api::ActivityQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/DriveActivityHub)** +* **[Hub](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/DriveActivityHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::CallBuilder) -* **[Resources](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::CallBuilder) +* **[Resources](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Part)** + * **[Parts](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-driveactivity2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Delegate), 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-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Delegate) to the -[Method Builder](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Delegate) to the +[Method Builder](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::CallBuilder) 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-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Delegate) 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 [encodable](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::RequestValue) and -[decodable](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::RequestValue) and +[decodable](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-driveactivity2/2.0.4+20210326/google_driveactivity2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::Part) 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-driveactivity2/2.0.4+20210326/google_driveactivity2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::CallBuilder), 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-driveactivity2/2.0.4+20210326/google_driveactivity2/client::RequestValue) are moved +* [request values](https://docs.rs/google-driveactivity2/2.0.5+20210326/google_driveactivity2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/driveactivity2/src/api.rs b/gen/driveactivity2/src/api.rs index 61c16e2eef..72fce81c21 100644 --- a/gen/driveactivity2/src/api.rs +++ b/gen/driveactivity2/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > DriveActivityHub<> { DriveActivityHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://driveactivity.googleapis.com/".to_string(), _root_url: "https://driveactivity.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > DriveActivityHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/driveactivity2/src/client.rs b/gen/driveactivity2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/driveactivity2/src/client.rs +++ b/gen/driveactivity2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/driveactivity2/src/lib.rs b/gen/driveactivity2/src/lib.rs index 148b94754f..d96eb12d44 100644 --- a/gen/driveactivity2/src/lib.rs +++ b/gen/driveactivity2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Drive Activity* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Drive Activity* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Drive Activity* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/activity/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-driveactivity2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/eventarc1-cli/Cargo.toml b/gen/eventarc1-cli/Cargo.toml index 12dc96e1b1..a11f0ae020 100644 --- a/gen/eventarc1-cli/Cargo.toml +++ b/gen/eventarc1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-eventarc1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Eventarc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/eventarc1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-eventarc1] path = "../eventarc1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/eventarc1-cli/README.md b/gen/eventarc1-cli/README.md index 2e0e7f55ff..37a17d59f7 100644 --- a/gen/eventarc1-cli/README.md +++ b/gen/eventarc1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Eventarc* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Eventarc* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash eventarc1 [options] diff --git a/gen/eventarc1-cli/mkdocs.yml b/gen/eventarc1-cli/mkdocs.yml index 881e477be3..09655bde96 100644 --- a/gen/eventarc1-cli/mkdocs.yml +++ b/gen/eventarc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Eventarc v2.0.4+20210325 +site_name: Eventarc v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-eventarc1-cli site_description: A complete library to interact with Eventarc (protocol v1) diff --git a/gen/eventarc1-cli/src/main.rs b/gen/eventarc1-cli/src/main.rs index 1dd96be6be..1562c10189 100644 --- a/gen/eventarc1-cli/src/main.rs +++ b/gen/eventarc1-cli/src/main.rs @@ -1489,7 +1489,7 @@ async fn main() { let mut app = App::new("eventarc1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_eventarc1_cli") .arg(Arg::with_name("url") diff --git a/gen/eventarc1/Cargo.toml b/gen/eventarc1/Cargo.toml index 017f4eca46..c37f9db247 100644 --- a/gen/eventarc1/Cargo.toml +++ b/gen/eventarc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-eventarc1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Eventarc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/eventarc1" homepage = "https://cloud.google.com/eventarc" -documentation = "https://docs.rs/google-eventarc1/2.0.4+20210325" +documentation = "https://docs.rs/google-eventarc1/2.0.5+20210325" license = "MIT" keywords = ["eventarc", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/eventarc1/README.md b/gen/eventarc1/README.md index 3d2bf0b02b..5bfa3e6486 100644 --- a/gen/eventarc1/README.md +++ b/gen/eventarc1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-eventarc1` library allows access to all features of the *Google Eventarc* service. -This documentation was generated from *Eventarc* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Eventarc* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Eventarc* *v1* API can be found at the [official documentation site](https://cloud.google.com/eventarc). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/Eventarc) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/Eventarc) ... * projects - * [*locations get*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationOperationListCall), [*locations triggers create*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerGetCall), [*locations triggers get iam policy*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerGetIamPolicyCall), [*locations triggers list*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerPatchCall), [*locations triggers set iam policy*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerSetIamPolicyCall) and [*locations triggers test iam permissions*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/api::ProjectLocationTriggerTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationOperationListCall), [*locations triggers create*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerGetCall), [*locations triggers get iam policy*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerGetIamPolicyCall), [*locations triggers list*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerPatchCall), [*locations triggers set iam policy*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerSetIamPolicyCall) and [*locations triggers test iam permissions*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/api::ProjectLocationTriggerTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/Eventarc)** +* **[Hub](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/Eventarc)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::CallBuilder) -* **[Resources](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::CallBuilder) +* **[Resources](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Part)** + * **[Parts](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-eventarc1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Delegate), 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-eventarc1/2.0.4+20210325/google_eventarc1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Delegate) to the -[Method Builder](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Delegate) to the +[Method Builder](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::CallBuilder) 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-eventarc1/2.0.4+20210325/google_eventarc1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Delegate) 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 [encodable](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::RequestValue) and -[decodable](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::RequestValue) and +[decodable](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-eventarc1/2.0.4+20210325/google_eventarc1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::Part) 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-eventarc1/2.0.4+20210325/google_eventarc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::CallBuilder), 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-eventarc1/2.0.4+20210325/google_eventarc1/client::RequestValue) are moved +* [request values](https://docs.rs/google-eventarc1/2.0.5+20210325/google_eventarc1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/eventarc1/src/api.rs b/gen/eventarc1/src/api.rs index 40958df3ea..5e87747568 100644 --- a/gen/eventarc1/src/api.rs +++ b/gen/eventarc1/src/api.rs @@ -123,7 +123,7 @@ impl<'a, > Eventarc<> { Eventarc { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://eventarc.googleapis.com/".to_string(), _root_url: "https://eventarc.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Eventarc<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/eventarc1/src/client.rs b/gen/eventarc1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/eventarc1/src/client.rs +++ b/gen/eventarc1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/eventarc1/src/lib.rs b/gen/eventarc1/src/lib.rs index db5e93c5f5..886c5b6909 100644 --- a/gen/eventarc1/src/lib.rs +++ b/gen/eventarc1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Eventarc* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Eventarc* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Eventarc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/eventarc). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-eventarc1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/factchecktools1_alpha1-cli/Cargo.toml b/gen/factchecktools1_alpha1-cli/Cargo.toml index 80a5bc8b4f..22b3b3c630 100644 --- a/gen/factchecktools1_alpha1-cli/Cargo.toml +++ b/gen/factchecktools1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-factchecktools1_alpha1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fact Check Tools (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/factchecktools1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-factchecktools1_alpha1] path = "../factchecktools1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/factchecktools1_alpha1-cli/README.md b/gen/factchecktools1_alpha1-cli/README.md index 2c6da956dd..468ae15ec8 100644 --- a/gen/factchecktools1_alpha1-cli/README.md +++ b/gen/factchecktools1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Fact Check Tools* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Fact Check Tools* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash factchecktools1-alpha1 [options] diff --git a/gen/factchecktools1_alpha1-cli/mkdocs.yml b/gen/factchecktools1_alpha1-cli/mkdocs.yml index e1b8ca904a..1afa374529 100644 --- a/gen/factchecktools1_alpha1-cli/mkdocs.yml +++ b/gen/factchecktools1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Fact Check Tools v2.0.4+20210330 +site_name: Fact Check Tools v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-factchecktools1_alpha1-cli site_description: A complete library to interact with Fact Check Tools (protocol v1alpha1) diff --git a/gen/factchecktools1_alpha1-cli/src/main.rs b/gen/factchecktools1_alpha1-cli/src/main.rs index ab66579fda..d6b9807104 100644 --- a/gen/factchecktools1_alpha1-cli/src/main.rs +++ b/gen/factchecktools1_alpha1-cli/src/main.rs @@ -710,7 +710,7 @@ async fn main() { let mut app = App::new("factchecktools1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_factchecktools1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/factchecktools1_alpha1/Cargo.toml b/gen/factchecktools1_alpha1/Cargo.toml index ef533262d5..827f860761 100644 --- a/gen/factchecktools1_alpha1/Cargo.toml +++ b/gen/factchecktools1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-factchecktools1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fact Check Tools (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/factchecktools1_alpha1" homepage = "https://developers.google.com/fact-check/tools/api/" -documentation = "https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330" +documentation = "https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330" license = "MIT" keywords = ["factchecktools", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/factchecktools1_alpha1/README.md b/gen/factchecktools1_alpha1/README.md index 53f981f1dc..dd7983496d 100644 --- a/gen/factchecktools1_alpha1/README.md +++ b/gen/factchecktools1_alpha1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-factchecktools1_alpha1` library allows access to all features of the *Google Fact Check Tools* service. -This documentation was generated from *Fact Check Tools* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Fact Check Tools* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Fact Check Tools* *v1_alpha1* API can be found at the [official documentation site](https://developers.google.com/fact-check/tools/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/FactCheckTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/FactCheckTools) ... * claims - * [*search*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::ClaimSearchCall) + * [*search*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/api::ClaimSearchCall) * pages - * [*create*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::PageCreateCall), [*delete*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::PageDeleteCall), [*get*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::PageGetCall), [*list*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::PageListCall) and [*update*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/api::PageUpdateCall) + * [*create*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/api::PageCreateCall), [*delete*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/api::PageDeleteCall), [*get*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/api::PageGetCall), [*list*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/api::PageListCall) and [*update*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/api::PageUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/FactCheckTools)** +* **[Hub](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/FactCheckTools)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-factchecktools1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Delegate), 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-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::CallBuilder) 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-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::Part) 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-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::CallBuilder), 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-factchecktools1_alpha1/2.0.4+20210330/google_factchecktools1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-factchecktools1_alpha1/2.0.5+20210330/google_factchecktools1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/factchecktools1_alpha1/src/api.rs b/gen/factchecktools1_alpha1/src/api.rs index 4ac67ed6d1..b725edd9c9 100644 --- a/gen/factchecktools1_alpha1/src/api.rs +++ b/gen/factchecktools1_alpha1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > FactCheckTools<> { FactCheckTools { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://factchecktools.googleapis.com/".to_string(), _root_url: "https://factchecktools.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > FactCheckTools<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/factchecktools1_alpha1/src/client.rs b/gen/factchecktools1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/factchecktools1_alpha1/src/client.rs +++ b/gen/factchecktools1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/factchecktools1_alpha1/src/lib.rs b/gen/factchecktools1_alpha1/src/lib.rs index 2177d665f3..dd8082f1ee 100644 --- a/gen/factchecktools1_alpha1/src/lib.rs +++ b/gen/factchecktools1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Fact Check Tools* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Fact Check Tools* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Fact Check Tools* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/fact-check/tools/api/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-factchecktools1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/fcm1-cli/Cargo.toml b/gen/fcm1-cli/Cargo.toml index 2af83b55ff..770019bb54 100644 --- a/gen/fcm1-cli/Cargo.toml +++ b/gen/fcm1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fcm1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Cloud Messaging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fcm1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fcm1] path = "../fcm1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/fcm1-cli/README.md b/gen/fcm1-cli/README.md index da057c937d..bbc5bfb0c7 100644 --- a/gen/fcm1-cli/README.md +++ b/gen/fcm1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Cloud Messaging* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Cloud Messaging* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash fcm1 [options] diff --git a/gen/fcm1-cli/mkdocs.yml b/gen/fcm1-cli/mkdocs.yml index f9649c2086..c3e0b74458 100644 --- a/gen/fcm1-cli/mkdocs.yml +++ b/gen/fcm1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Cloud Messaging v2.0.4+20210329 +site_name: Firebase Cloud Messaging v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-fcm1-cli site_description: A complete library to interact with Firebase Cloud Messaging (protocol v1) diff --git a/gen/fcm1-cli/src/main.rs b/gen/fcm1-cli/src/main.rs index ebf8f5ac91..32e2e54d62 100644 --- a/gen/fcm1-cli/src/main.rs +++ b/gen/fcm1-cli/src/main.rs @@ -301,7 +301,7 @@ async fn main() { let mut app = App::new("fcm1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fcm1_cli") .arg(Arg::with_name("url") diff --git a/gen/fcm1/Cargo.toml b/gen/fcm1/Cargo.toml index c529a50d57..7159e8014d 100644 --- a/gen/fcm1/Cargo.toml +++ b/gen/fcm1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fcm1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Cloud Messaging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fcm1" homepage = "https://firebase.google.com/docs/cloud-messaging" -documentation = "https://docs.rs/google-fcm1/2.0.4+20210329" +documentation = "https://docs.rs/google-fcm1/2.0.5+20210329" license = "MIT" keywords = ["fcm", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/fcm1/README.md b/gen/fcm1/README.md index aac23c3d1e..d598f0e73f 100644 --- a/gen/fcm1/README.md +++ b/gen/fcm1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-fcm1` library allows access to all features of the *Google Firebase Cloud Messaging* service. -This documentation was generated from *Firebase Cloud Messaging* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Cloud Messaging* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Cloud Messaging* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/cloud-messaging). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/FirebaseCloudMessaging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/FirebaseCloudMessaging) ... * projects - * [*messages send*](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/api::ProjectMessageSendCall) + * [*messages send*](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/api::ProjectMessageSendCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/FirebaseCloudMessaging)** +* **[Hub](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/FirebaseCloudMessaging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::CallBuilder) +* **[Resources](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Part)** + * **[Parts](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-fcm1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Delegate), 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-fcm1/2.0.4+20210329/google_fcm1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Delegate) to the +[Method Builder](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::CallBuilder) 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-fcm1/2.0.4+20210329/google_fcm1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Delegate) 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 [encodable](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::RequestValue) and -[decodable](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::RequestValue) and +[decodable](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fcm1/2.0.4+20210329/google_fcm1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::Part) 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-fcm1/2.0.4+20210329/google_fcm1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::CallBuilder), 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-fcm1/2.0.4+20210329/google_fcm1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fcm1/2.0.5+20210329/google_fcm1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fcm1/src/api.rs b/gen/fcm1/src/api.rs index 8c6354582d..3003c545d2 100644 --- a/gen/fcm1/src/api.rs +++ b/gen/fcm1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > FirebaseCloudMessaging<> { FirebaseCloudMessaging { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://fcm.googleapis.com/".to_string(), _root_url: "https://fcm.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > FirebaseCloudMessaging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fcm1/src/client.rs b/gen/fcm1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/fcm1/src/client.rs +++ b/gen/fcm1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/fcm1/src/lib.rs b/gen/fcm1/src/lib.rs index 0c47f6b8b2..09fa9f2dbe 100644 --- a/gen/fcm1/src/lib.rs +++ b/gen/fcm1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Cloud Messaging* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Cloud Messaging* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Cloud Messaging* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/cloud-messaging). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-fcm1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/file1-cli/Cargo.toml b/gen/file1-cli/Cargo.toml index 671448f9c3..d86e39013e 100644 --- a/gen/file1-cli/Cargo.toml +++ b/gen/file1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-file1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-file1] path = "../file1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/file1-cli/README.md b/gen/file1-cli/README.md index 92ad2d4ecb..83f01a9615 100644 --- a/gen/file1-cli/README.md +++ b/gen/file1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Filestore* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Filestore* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash file1 [options] diff --git a/gen/file1-cli/mkdocs.yml b/gen/file1-cli/mkdocs.yml index 7045f33cf2..9cd66609de 100644 --- a/gen/file1-cli/mkdocs.yml +++ b/gen/file1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v2.0.4+20210323 +site_name: Cloud Filestore v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-file1-cli site_description: A complete library to interact with Cloud Filestore (protocol v1) diff --git a/gen/file1-cli/src/main.rs b/gen/file1-cli/src/main.rs index 5f9f80fa67..95311095bd 100644 --- a/gen/file1-cli/src/main.rs +++ b/gen/file1-cli/src/main.rs @@ -1774,7 +1774,7 @@ async fn main() { let mut app = App::new("file1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("The Cloud Filestore API is used for creating and managing cloud file servers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_file1_cli") .arg(Arg::with_name("url") diff --git a/gen/file1/Cargo.toml b/gen/file1/Cargo.toml index e48a8a6a1d..f34a5e967a 100644 --- a/gen/file1/Cargo.toml +++ b/gen/file1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1" homepage = "https://cloud.google.com/filestore/" -documentation = "https://docs.rs/google-file1/2.0.4+20210323" +documentation = "https://docs.rs/google-file1/2.0.5+20210323" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/file1/README.md b/gen/file1/README.md index 9fb49c9c2e..d8a0ff7999 100644 --- a/gen/file1/README.md +++ b/gen/file1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-file1` library allows access to all features of the *Google Cloud Filestore* service. -This documentation was generated from *Cloud Filestore* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Filestore* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Filestore* *v1* API can be found at the [official documentation site](https://cloud.google.com/filestore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1/2.0.4+20210323/google_file1/CloudFilestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1/2.0.5+20210323/google_file1/CloudFilestore) ... * projects - * [*locations backups create*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationInstanceRestoreCall), [*locations list*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/api::ProjectLocationOperationListCall) + * [*locations backups create*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationInstanceRestoreCall), [*locations list*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-file1/2.0.4+20210323/google_file1/CloudFilestore)** +* **[Hub](https://docs.rs/google-file1/2.0.5+20210323/google_file1/CloudFilestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::CallBuilder) -* **[Resources](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::CallBuilder) +* **[Resources](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Part)** + * **[Parts](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-file1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Delegate), 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-file1/2.0.4+20210323/google_file1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Delegate) to the -[Method Builder](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Delegate) to the +[Method Builder](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::CallBuilder) 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-file1/2.0.4+20210323/google_file1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Delegate) 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 [encodable](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::RequestValue) and -[decodable](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::RequestValue) and +[decodable](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-file1/2.0.4+20210323/google_file1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::Part) 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-file1/2.0.4+20210323/google_file1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::CallBuilder), 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-file1/2.0.4+20210323/google_file1/client::RequestValue) are moved +* [request values](https://docs.rs/google-file1/2.0.5+20210323/google_file1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/file1/src/api.rs b/gen/file1/src/api.rs index a1e8483c2e..86f1b4d6b6 100644 --- a/gen/file1/src/api.rs +++ b/gen/file1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudFilestore<> { CloudFilestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://file.googleapis.com/".to_string(), _root_url: "https://file.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudFilestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/file1/src/client.rs b/gen/file1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/file1/src/client.rs +++ b/gen/file1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/file1/src/lib.rs b/gen/file1/src/lib.rs index 16c59773be..9f840d76fc 100644 --- a/gen/file1/src/lib.rs +++ b/gen/file1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Filestore* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Filestore* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Filestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-file1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/file1_beta1-cli/Cargo.toml b/gen/file1_beta1-cli/Cargo.toml index 30a28aca08..9338b9e695 100644 --- a/gen/file1_beta1-cli/Cargo.toml +++ b/gen/file1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-file1_beta1-cli" -version = "2.0.4+20210304" +version = "2.0.5+20210304" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-file1_beta1] path = "../file1_beta1" -version = "2.0.4+20210304" +version = "2.0.5+20210304" diff --git a/gen/file1_beta1-cli/README.md b/gen/file1_beta1-cli/README.md index ed4897b63b..eee1dc967c 100644 --- a/gen/file1_beta1-cli/README.md +++ b/gen/file1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Filestore* API at revision *20210304*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Filestore* API at revision *20210304*. The CLI is at version *2.0.5*. ```bash file1-beta1 [options] diff --git a/gen/file1_beta1-cli/mkdocs.yml b/gen/file1_beta1-cli/mkdocs.yml index 802fdb056c..3d67b43d5c 100644 --- a/gen/file1_beta1-cli/mkdocs.yml +++ b/gen/file1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v2.0.4+20210304 +site_name: Cloud Filestore v2.0.5+20210304 site_url: http://byron.github.io/google-apis-rs/google-file1_beta1-cli site_description: A complete library to interact with Cloud Filestore (protocol v1beta1) diff --git a/gen/file1_beta1-cli/src/main.rs b/gen/file1_beta1-cli/src/main.rs index d7aaa2573a..d8f83fbb51 100644 --- a/gen/file1_beta1-cli/src/main.rs +++ b/gen/file1_beta1-cli/src/main.rs @@ -1775,7 +1775,7 @@ async fn main() { let mut app = App::new("file1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210304") + .version("2.0.5+20210304") .about("The Cloud Filestore API is used for creating and managing cloud file servers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_file1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/file1_beta1/Cargo.toml b/gen/file1_beta1/Cargo.toml index cf8fca81ce..47a5a20d36 100644 --- a/gen/file1_beta1/Cargo.toml +++ b/gen/file1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1_beta1" -version = "2.0.4+20210304" +version = "2.0.5+20210304" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1_beta1" homepage = "https://cloud.google.com/filestore/" -documentation = "https://docs.rs/google-file1_beta1/2.0.4+20210304" +documentation = "https://docs.rs/google-file1_beta1/2.0.5+20210304" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/file1_beta1/README.md b/gen/file1_beta1/README.md index 63978b3015..79df6b208c 100644 --- a/gen/file1_beta1/README.md +++ b/gen/file1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-file1_beta1` library allows access to all features of the *Google Cloud Filestore* service. -This documentation was generated from *Cloud Filestore* crate version *2.0.4+20210304*, where *20210304* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Filestore* crate version *2.0.5+20210304*, where *20210304* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Filestore* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/filestore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/CloudFilestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/CloudFilestore) ... * projects - * [*locations backups create*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationInstanceRestoreCall), [*locations list*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/api::ProjectLocationOperationListCall) + * [*locations backups create*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationInstanceRestoreCall), [*locations list*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/CloudFilestore)** +* **[Hub](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/CloudFilestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-file1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Delegate), 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-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::CallBuilder) 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-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-file1_beta1/2.0.4+20210304/google_file1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::Part) 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-file1_beta1/2.0.4+20210304/google_file1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::CallBuilder), 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-file1_beta1/2.0.4+20210304/google_file1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-file1_beta1/2.0.5+20210304/google_file1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/file1_beta1/src/api.rs b/gen/file1_beta1/src/api.rs index 16c8d4e3a4..428c75df9c 100644 --- a/gen/file1_beta1/src/api.rs +++ b/gen/file1_beta1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudFilestore<> { CloudFilestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://file.googleapis.com/".to_string(), _root_url: "https://file.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudFilestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/file1_beta1/src/client.rs b/gen/file1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/file1_beta1/src/client.rs +++ b/gen/file1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/file1_beta1/src/lib.rs b/gen/file1_beta1/src/lib.rs index 0b5dcd903a..b51c6bfd25 100644 --- a/gen/file1_beta1/src/lib.rs +++ b/gen/file1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Filestore* crate version *2.0.4+20210304*, where *20210304* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Filestore* crate version *2.0.5+20210304*, where *20210304* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Filestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-file1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebase1_beta1-cli/Cargo.toml b/gen/firebase1_beta1-cli/Cargo.toml index 65db3b5a4f..85278acc26 100644 --- a/gen/firebase1_beta1-cli/Cargo.toml +++ b/gen/firebase1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebase1_beta1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Management (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebase1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebase1_beta1] path = "../firebase1_beta1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/firebase1_beta1-cli/README.md b/gen/firebase1_beta1-cli/README.md index 9de86917db..9788d1252c 100644 --- a/gen/firebase1_beta1-cli/README.md +++ b/gen/firebase1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Management* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Management* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash firebase1-beta1 [options] diff --git a/gen/firebase1_beta1-cli/mkdocs.yml b/gen/firebase1_beta1-cli/mkdocs.yml index 743c521857..d84aa4f448 100644 --- a/gen/firebase1_beta1-cli/mkdocs.yml +++ b/gen/firebase1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Management v2.0.4+20210329 +site_name: Firebase Management v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-firebase1_beta1-cli site_description: A complete library to interact with Firebase Management (protocol v1beta1) diff --git a/gen/firebase1_beta1-cli/src/main.rs b/gen/firebase1_beta1-cli/src/main.rs index 80456074ed..c417424204 100644 --- a/gen/firebase1_beta1-cli/src/main.rs +++ b/gen/firebase1_beta1-cli/src/main.rs @@ -3106,7 +3106,7 @@ async fn main() { let mut app = App::new("firebase1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebase1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebase1_beta1/Cargo.toml b/gen/firebase1_beta1/Cargo.toml index b964d250a1..c16fa2fda9 100644 --- a/gen/firebase1_beta1/Cargo.toml +++ b/gen/firebase1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebase1_beta1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Management (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebase1_beta1" homepage = "https://firebase.google.com" -documentation = "https://docs.rs/google-firebase1_beta1/2.0.4+20210329" +documentation = "https://docs.rs/google-firebase1_beta1/2.0.5+20210329" license = "MIT" keywords = ["firebase", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebase1_beta1/README.md b/gen/firebase1_beta1/README.md index 3ce7ce9308..ae50832a3a 100644 --- a/gen/firebase1_beta1/README.md +++ b/gen/firebase1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-firebase1_beta1` library allows access to all features of the *Google Firebase Management* service. -This documentation was generated from *Firebase Management* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Management* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Management* *v1_beta1* API can be found at the [official documentation site](https://firebase.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/FirebaseManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/FirebaseManagement) ... * available projects - * [*list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::AvailableProjectListCall) -* [operations](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::Operation) - * [*get*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::OperationGetCall) + * [*list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::AvailableProjectListCall) +* [operations](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::Operation) + * [*get*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::OperationGetCall) * projects - * [*add firebase*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAddFirebaseCall), [*add google analytics*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAddGoogleAnalyticCall), [*android apps create*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppCreateCall), [*android apps get*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppGetCall), [*android apps get config*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppGetConfigCall), [*android apps list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppListCall), [*android apps patch*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppPatchCall), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaCreateCall), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaDeleteCall), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaListCall), [*available locations list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectAvailableLocationListCall), [*default location finalize*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectDefaultLocationFinalizeCall), [*get*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectGetCall), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectGetAdminSdkConfigCall), [*get analytics details*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectGetAnalyticsDetailCall), [*ios apps create*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectIosAppCreateCall), [*ios apps get*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectIosAppGetCall), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectIosAppGetConfigCall), [*ios apps list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectIosAppListCall), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectIosAppPatchCall), [*list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectListCall), [*patch*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectPatchCall), [*remove analytics*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectRemoveAnalyticCall), [*search apps*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectSearchAppCall), [*web apps create*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectWebAppCreateCall), [*web apps get*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectWebAppGetCall), [*web apps get config*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectWebAppGetConfigCall), [*web apps list*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectWebAppListCall) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/api::ProjectWebAppPatchCall) + * [*add firebase*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAddFirebaseCall), [*add google analytics*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAddGoogleAnalyticCall), [*android apps create*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppCreateCall), [*android apps get*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppGetCall), [*android apps get config*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppGetConfigCall), [*android apps list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppListCall), [*android apps patch*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppPatchCall), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaCreateCall), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaDeleteCall), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAndroidAppShaListCall), [*available locations list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectAvailableLocationListCall), [*default location finalize*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectDefaultLocationFinalizeCall), [*get*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectGetCall), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectGetAdminSdkConfigCall), [*get analytics details*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectGetAnalyticsDetailCall), [*ios apps create*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectIosAppCreateCall), [*ios apps get*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectIosAppGetCall), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectIosAppGetConfigCall), [*ios apps list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectIosAppListCall), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectIosAppPatchCall), [*list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectListCall), [*patch*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectPatchCall), [*remove analytics*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectRemoveAnalyticCall), [*search apps*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectSearchAppCall), [*web apps create*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectWebAppCreateCall), [*web apps get*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectWebAppGetCall), [*web apps get config*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectWebAppGetConfigCall), [*web apps list*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectWebAppListCall) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/api::ProjectWebAppPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/FirebaseManagement)** +* **[Hub](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/FirebaseManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -74,9 +74,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebase1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Delegate), 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-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::CallBuilder) 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-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::Part) 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-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::CallBuilder), 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-firebase1_beta1/2.0.4+20210329/google_firebase1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebase1_beta1/2.0.5+20210329/google_firebase1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebase1_beta1/src/api.rs b/gen/firebase1_beta1/src/api.rs index 0af5cbd1b4..1e321e03c9 100644 --- a/gen/firebase1_beta1/src/api.rs +++ b/gen/firebase1_beta1/src/api.rs @@ -132,7 +132,7 @@ impl<'a, > FirebaseManagement<> { FirebaseManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebase.googleapis.com/".to_string(), _root_url: "https://firebase.googleapis.com/".to_string(), } @@ -149,7 +149,7 @@ impl<'a, > FirebaseManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebase1_beta1/src/client.rs b/gen/firebase1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebase1_beta1/src/client.rs +++ b/gen/firebase1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebase1_beta1/src/lib.rs b/gen/firebase1_beta1/src/lib.rs index 39adaf257f..f7d21d6717 100644 --- a/gen/firebase1_beta1/src/lib.rs +++ b/gen/firebase1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Management* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Management* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Management* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com). @@ -74,9 +74,6 @@ //! ```toml //! [dependencies] //! google-firebase1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebasedatabase1_beta-cli/Cargo.toml b/gen/firebasedatabase1_beta-cli/Cargo.toml index e242b4d899..3ec76ee963 100644 --- a/gen/firebasedatabase1_beta-cli/Cargo.toml +++ b/gen/firebasedatabase1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasedatabase1_beta-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Realtime Database (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedatabase1_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasedatabase1_beta] path = "../firebasedatabase1_beta" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/firebasedatabase1_beta-cli/README.md b/gen/firebasedatabase1_beta-cli/README.md index 7af6b8ccb4..a3be542ea6 100644 --- a/gen/firebasedatabase1_beta-cli/README.md +++ b/gen/firebasedatabase1_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Realtime Database* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Realtime Database* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash firebasedatabase1-beta [options] diff --git a/gen/firebasedatabase1_beta-cli/mkdocs.yml b/gen/firebasedatabase1_beta-cli/mkdocs.yml index d6606d5a7b..7a9da84d1d 100644 --- a/gen/firebasedatabase1_beta-cli/mkdocs.yml +++ b/gen/firebasedatabase1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Realtime Database v2.0.4+20210329 +site_name: Firebase Realtime Database v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-firebasedatabase1_beta-cli site_description: A complete library to interact with Firebase Realtime Database (protocol v1beta) diff --git a/gen/firebasedatabase1_beta-cli/src/main.rs b/gen/firebasedatabase1_beta-cli/src/main.rs index 8242ed26fd..a40538502e 100644 --- a/gen/firebasedatabase1_beta-cli/src/main.rs +++ b/gen/firebasedatabase1_beta-cli/src/main.rs @@ -727,7 +727,7 @@ async fn main() { let mut app = App::new("firebasedatabase1-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Firebase Realtime Database Management API enables programmatic provisioning and management of Realtime Database instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasedatabase1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasedatabase1_beta/Cargo.toml b/gen/firebasedatabase1_beta/Cargo.toml index fcd8c52085..646ecf138b 100644 --- a/gen/firebasedatabase1_beta/Cargo.toml +++ b/gen/firebasedatabase1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasedatabase1_beta" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Realtime Database (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedatabase1_beta" homepage = "https://firebase.google.com/docs/reference/rest/database/database-management/rest/" -documentation = "https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329" +documentation = "https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329" license = "MIT" keywords = ["firebasedatabase", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasedatabase1_beta/README.md b/gen/firebasedatabase1_beta/README.md index 2f1429d704..823f473f48 100644 --- a/gen/firebasedatabase1_beta/README.md +++ b/gen/firebasedatabase1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasedatabase1_beta` library allows access to all features of the *Google Firebase Realtime Database* service. -This documentation was generated from *Firebase Realtime Database* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Realtime Database* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Realtime Database* *v1_beta* API can be found at the [official documentation site](https://firebase.google.com/docs/reference/rest/database/database-management/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase) ... * projects - * [*locations instances create*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceDeleteCall), [*locations instances disable*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceDisableCall), [*locations instances get*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceListCall) and [*locations instances reenable*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceReenableCall) + * [*locations instances create*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceDeleteCall), [*locations instances disable*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceDisableCall), [*locations instances get*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceListCall) and [*locations instances reenable*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/api::ProjectLocationInstanceReenableCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase)** +* **[Hub](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/FirebaseRealtimeDatabase)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebasedatabase1_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Delegate), 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-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::CallBuilder) 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-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Delegate) 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 [encodable](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::Part) 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-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::CallBuilder), 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-firebasedatabase1_beta/2.0.4+20210329/google_firebasedatabase1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasedatabase1_beta/2.0.5+20210329/google_firebasedatabase1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasedatabase1_beta/src/api.rs b/gen/firebasedatabase1_beta/src/api.rs index 02472ee2c2..d13ba56f6f 100644 --- a/gen/firebasedatabase1_beta/src/api.rs +++ b/gen/firebasedatabase1_beta/src/api.rs @@ -134,7 +134,7 @@ impl<'a, > FirebaseRealtimeDatabase<> { FirebaseRealtimeDatabase { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebasedatabase.googleapis.com/".to_string(), _root_url: "https://firebasedatabase.googleapis.com/".to_string(), } @@ -145,7 +145,7 @@ impl<'a, > FirebaseRealtimeDatabase<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasedatabase1_beta/src/client.rs b/gen/firebasedatabase1_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebasedatabase1_beta/src/client.rs +++ b/gen/firebasedatabase1_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebasedatabase1_beta/src/lib.rs b/gen/firebasedatabase1_beta/src/lib.rs index 08ca87b6eb..40cd60ef53 100644 --- a/gen/firebasedatabase1_beta/src/lib.rs +++ b/gen/firebasedatabase1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Realtime Database* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Realtime Database* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Realtime Database* *v1_beta* API can be found at the //! [official documentation site](https://firebase.google.com/docs/reference/rest/database/database-management/rest/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-firebasedatabase1_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebasedynamiclinks1-cli/Cargo.toml b/gen/firebasedynamiclinks1-cli/Cargo.toml index ddade47070..cf02be978f 100644 --- a/gen/firebasedynamiclinks1-cli/Cargo.toml +++ b/gen/firebasedynamiclinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasedynamiclinks1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedynamiclinks1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasedynamiclinks1] path = "../firebasedynamiclinks1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/firebasedynamiclinks1-cli/README.md b/gen/firebasedynamiclinks1-cli/README.md index 074d4859a0..df8ee2c05f 100644 --- a/gen/firebasedynamiclinks1-cli/README.md +++ b/gen/firebasedynamiclinks1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Dynamic Links* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Dynamic Links* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash firebasedynamiclinks1 [options] diff --git a/gen/firebasedynamiclinks1-cli/mkdocs.yml b/gen/firebasedynamiclinks1-cli/mkdocs.yml index 6364c9c708..c6933e0eaf 100644 --- a/gen/firebasedynamiclinks1-cli/mkdocs.yml +++ b/gen/firebasedynamiclinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Dynamic Links v2.0.4+20210329 +site_name: Firebase Dynamic Links v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-firebasedynamiclinks1-cli site_description: A complete library to interact with Firebase Dynamic Links (protocol v1) diff --git a/gen/firebasedynamiclinks1-cli/src/main.rs b/gen/firebasedynamiclinks1-cli/src/main.rs index afbb5506c4..febb6cfb7e 100644 --- a/gen/firebasedynamiclinks1-cli/src/main.rs +++ b/gen/firebasedynamiclinks1-cli/src/main.rs @@ -758,7 +758,7 @@ async fn main() { let mut app = App::new("firebasedynamiclinks1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Programmatically creates and manages Firebase Dynamic Links.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasedynamiclinks1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasedynamiclinks1/Cargo.toml b/gen/firebasedynamiclinks1/Cargo.toml index a88af2d4ef..c1c8439b7b 100644 --- a/gen/firebasedynamiclinks1/Cargo.toml +++ b/gen/firebasedynamiclinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasedynamiclinks1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedynamiclinks1" homepage = "https://firebase.google.com/docs/dynamic-links/" -documentation = "https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329" +documentation = "https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329" license = "MIT" keywords = ["firebasedynamiclinks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasedynamiclinks1/README.md b/gen/firebasedynamiclinks1/README.md index 285ed7ffed..540476162a 100644 --- a/gen/firebasedynamiclinks1/README.md +++ b/gen/firebasedynamiclinks1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-firebasedynamiclinks1` library allows access to all features of the *Google Firebase Dynamic Links* service. -This documentation was generated from *Firebase Dynamic Links* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Dynamic Links* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Dynamic Links* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/dynamic-links/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks) ... -* [managed short links](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::ManagedShortLink) - * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::ManagedShortLinkCreateCall) +* [managed short links](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/api::ManagedShortLink) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/api::ManagedShortLinkCreateCall) * short links - * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::ShortLinkCreateCall) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/api::ShortLinkCreateCall) Other activities are ... -* [get link stats](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::MethodGetLinkStatCall) -* [install attribution](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::MethodInstallAttributionCall) -* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/api::MethodReopenAttributionCall) +* [get link stats](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/api::MethodGetLinkStatCall) +* [install attribution](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/api::MethodInstallAttributionCall) +* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/api::MethodReopenAttributionCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks)** +* **[Hub](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/FirebaseDynamicLinks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Part)** + * **[Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebasedynamiclinks1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Delegate) 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 [encodable](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::RequestValue) and +[decodable](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebasedynamiclinks1/2.0.4+20210329/google_firebasedynamiclinks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasedynamiclinks1/2.0.5+20210329/google_firebasedynamiclinks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasedynamiclinks1/src/api.rs b/gen/firebasedynamiclinks1/src/api.rs index 61f194bbf2..d510c91c37 100644 --- a/gen/firebasedynamiclinks1/src/api.rs +++ b/gen/firebasedynamiclinks1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > FirebaseDynamicLinks<> { FirebaseDynamicLinks { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebasedynamiclinks.googleapis.com/".to_string(), _root_url: "https://firebasedynamiclinks.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > FirebaseDynamicLinks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasedynamiclinks1/src/client.rs b/gen/firebasedynamiclinks1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebasedynamiclinks1/src/client.rs +++ b/gen/firebasedynamiclinks1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebasedynamiclinks1/src/lib.rs b/gen/firebasedynamiclinks1/src/lib.rs index 2f361170b4..33800ed780 100644 --- a/gen/firebasedynamiclinks1/src/lib.rs +++ b/gen/firebasedynamiclinks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Dynamic Links* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Dynamic Links* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Dynamic Links* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/dynamic-links/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-firebasedynamiclinks1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebasehosting1-cli/Cargo.toml b/gen/firebasehosting1-cli/Cargo.toml index 892bf8bb7e..95a5032904 100644 --- a/gen/firebasehosting1-cli/Cargo.toml +++ b/gen/firebasehosting1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasehosting1-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasehosting1] path = "../firebasehosting1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/firebasehosting1-cli/README.md b/gen/firebasehosting1-cli/README.md index d3a92b04f8..ffa2a52ce2 100644 --- a/gen/firebasehosting1-cli/README.md +++ b/gen/firebasehosting1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Hosting* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Hosting* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash firebasehosting1 [options] diff --git a/gen/firebasehosting1-cli/mkdocs.yml b/gen/firebasehosting1-cli/mkdocs.yml index 0cb59a0c05..372d5517a0 100644 --- a/gen/firebasehosting1-cli/mkdocs.yml +++ b/gen/firebasehosting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Hosting v2.0.4+20210315 +site_name: Firebase Hosting v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-firebasehosting1-cli site_description: A complete library to interact with Firebase Hosting (protocol v1) diff --git a/gen/firebasehosting1-cli/src/main.rs b/gen/firebasehosting1-cli/src/main.rs index 060a175d6c..c24b661697 100644 --- a/gen/firebasehosting1-cli/src/main.rs +++ b/gen/firebasehosting1-cli/src/main.rs @@ -402,7 +402,7 @@ async fn main() { let mut app = App::new("firebasehosting1") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasehosting1_cli") .arg(Arg::with_name("folder") diff --git a/gen/firebasehosting1/Cargo.toml b/gen/firebasehosting1/Cargo.toml index 31a22726d1..1a15fdd453 100644 --- a/gen/firebasehosting1/Cargo.toml +++ b/gen/firebasehosting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasehosting1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1" homepage = "https://firebase.google.com/docs/hosting/" -documentation = "https://docs.rs/google-firebasehosting1/2.0.4+20210315" +documentation = "https://docs.rs/google-firebasehosting1/2.0.5+20210315" license = "MIT" keywords = ["firebasehosting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasehosting1/README.md b/gen/firebasehosting1/README.md index 331c6d4bb3..b826af6730 100644 --- a/gen/firebasehosting1/README.md +++ b/gen/firebasehosting1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasehosting1` library allows access to all features of the *Google Firebase Hosting* service. -This documentation was generated from *Firebase Hosting* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Hosting* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Hosting* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/hosting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/FirebaseHosting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/FirebaseHosting) ... -* [operations](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/api::Operation) - * [*cancel*](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/api::OperationListCall) +* [operations](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/api::Operation) + * [*cancel*](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/FirebaseHosting)** +* **[Hub](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/FirebaseHosting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Part)** + * **[Parts](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebasehosting1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Delegate), 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-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::CallBuilder) 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-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Delegate) 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 [encodable](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::RequestValue) and +[decodable](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::Part) 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-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::CallBuilder), 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-firebasehosting1/2.0.4+20210315/google_firebasehosting1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasehosting1/2.0.5+20210315/google_firebasehosting1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasehosting1/src/api.rs b/gen/firebasehosting1/src/api.rs index cbacc83650..63cc3f7871 100644 --- a/gen/firebasehosting1/src/api.rs +++ b/gen/firebasehosting1/src/api.rs @@ -95,7 +95,7 @@ impl<'a, > FirebaseHosting<> { FirebaseHosting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebasehosting.googleapis.com/".to_string(), _root_url: "https://firebasehosting.googleapis.com/".to_string(), } @@ -106,7 +106,7 @@ impl<'a, > FirebaseHosting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasehosting1/src/client.rs b/gen/firebasehosting1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebasehosting1/src/client.rs +++ b/gen/firebasehosting1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebasehosting1/src/lib.rs b/gen/firebasehosting1/src/lib.rs index 00fe460a83..9416ffa3aa 100644 --- a/gen/firebasehosting1/src/lib.rs +++ b/gen/firebasehosting1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Hosting* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Hosting* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Hosting* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-firebasehosting1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebasehosting1_beta1-cli/Cargo.toml b/gen/firebasehosting1_beta1-cli/Cargo.toml index a07389e159..078727cb4f 100644 --- a/gen/firebasehosting1_beta1-cli/Cargo.toml +++ b/gen/firebasehosting1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasehosting1_beta1-cli" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasehosting1_beta1] path = "../firebasehosting1_beta1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" diff --git a/gen/firebasehosting1_beta1-cli/README.md b/gen/firebasehosting1_beta1-cli/README.md index e0f746d657..1a5c458ae2 100644 --- a/gen/firebasehosting1_beta1-cli/README.md +++ b/gen/firebasehosting1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Hosting* API at revision *20210315*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Hosting* API at revision *20210315*. The CLI is at version *2.0.5*. ```bash firebasehosting1-beta1 [options] diff --git a/gen/firebasehosting1_beta1-cli/mkdocs.yml b/gen/firebasehosting1_beta1-cli/mkdocs.yml index 1226b5c7c8..cd1ca1f15c 100644 --- a/gen/firebasehosting1_beta1-cli/mkdocs.yml +++ b/gen/firebasehosting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Hosting v2.0.4+20210315 +site_name: Firebase Hosting v2.0.5+20210315 site_url: http://byron.github.io/google-apis-rs/google-firebasehosting1_beta1-cli site_description: A complete library to interact with Firebase Hosting (protocol v1beta1) diff --git a/gen/firebasehosting1_beta1-cli/src/main.rs b/gen/firebasehosting1_beta1-cli/src/main.rs index 27b2949f46..e8dc011181 100644 --- a/gen/firebasehosting1_beta1-cli/src/main.rs +++ b/gen/firebasehosting1_beta1-cli/src/main.rs @@ -5640,7 +5640,7 @@ async fn main() { let mut app = App::new("firebasehosting1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210315") + .version("2.0.5+20210315") .about("The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasehosting1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasehosting1_beta1/Cargo.toml b/gen/firebasehosting1_beta1/Cargo.toml index b4e5a471eb..750785233f 100644 --- a/gen/firebasehosting1_beta1/Cargo.toml +++ b/gen/firebasehosting1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasehosting1_beta1" -version = "2.0.4+20210315" +version = "2.0.5+20210315" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1_beta1" homepage = "https://firebase.google.com/docs/hosting/" -documentation = "https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315" +documentation = "https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315" license = "MIT" keywords = ["firebasehosting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasehosting1_beta1/README.md b/gen/firebasehosting1_beta1/README.md index 138afffe5b..fb9e414583 100644 --- a/gen/firebasehosting1_beta1/README.md +++ b/gen/firebasehosting1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-firebasehosting1_beta1` library allows access to all features of the *Google Firebase Hosting* service. -This documentation was generated from *Firebase Hosting* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Hosting* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Hosting* *v1_beta1* API can be found at the [official documentation site](https://firebase.google.com/docs/hosting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/FirebaseHosting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/FirebaseHosting) ... * projects - * [*operations get*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectOperationGetCall), [*sites channels create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelCreateCall), [*sites channels delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelDeleteCall), [*sites channels get*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelGetCall), [*sites channels list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelListCall), [*sites channels patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelPatchCall), [*sites channels releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseCreateCall), [*sites channels releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseListCall), [*sites create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteCreateCall), [*sites delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteDeleteCall), [*sites domains create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainCreateCall), [*sites domains delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainDeleteCall), [*sites domains get*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainGetCall), [*sites domains list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainListCall), [*sites domains update*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainUpdateCall), [*sites get*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteGetCall), [*sites get config*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteGetConfigCall), [*sites list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteListCall), [*sites patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSitePatchCall), [*sites releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteReleaseCreateCall), [*sites releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteReleaseListCall), [*sites update config*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteUpdateConfigCall), [*sites versions clone*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionCloneCall), [*sites versions create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionCreateCall), [*sites versions delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionDeleteCall), [*sites versions files list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionFileListCall), [*sites versions list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionListCall), [*sites versions patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionPatchCall) and [*sites versions populate files*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionPopulateFileCall) -* [sites](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::Site) - * [*channels create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelCreateCall), [*channels delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelDeleteCall), [*channels get*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelGetCall), [*channels list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelListCall), [*channels patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelPatchCall), [*channels releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelReleaseCreateCall), [*channels releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteChannelReleaseListCall), [*domains create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteDomainCreateCall), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteDomainDeleteCall), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteDomainGetCall), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteDomainListCall), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteDomainUpdateCall), [*get config*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteGetConfigCall), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteReleaseCreateCall), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteReleaseListCall), [*update config*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteUpdateConfigCall), [*versions clone*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionCloneCall), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionCreateCall), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionDeleteCall), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionFileListCall), [*versions list*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionListCall), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionPatchCall) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/api::SiteVersionPopulateFileCall) + * [*operations get*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectOperationGetCall), [*sites channels create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelCreateCall), [*sites channels delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelDeleteCall), [*sites channels get*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelGetCall), [*sites channels list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelListCall), [*sites channels patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelPatchCall), [*sites channels releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseCreateCall), [*sites channels releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseListCall), [*sites create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteCreateCall), [*sites delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteDeleteCall), [*sites domains create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainCreateCall), [*sites domains delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainDeleteCall), [*sites domains get*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainGetCall), [*sites domains list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainListCall), [*sites domains update*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteDomainUpdateCall), [*sites get*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteGetCall), [*sites get config*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteGetConfigCall), [*sites list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteListCall), [*sites patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSitePatchCall), [*sites releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteReleaseCreateCall), [*sites releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteReleaseListCall), [*sites update config*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteUpdateConfigCall), [*sites versions clone*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionCloneCall), [*sites versions create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionCreateCall), [*sites versions delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionDeleteCall), [*sites versions files list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionFileListCall), [*sites versions list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionListCall), [*sites versions patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionPatchCall) and [*sites versions populate files*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::ProjectSiteVersionPopulateFileCall) +* [sites](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::Site) + * [*channels create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelCreateCall), [*channels delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelDeleteCall), [*channels get*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelGetCall), [*channels list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelListCall), [*channels patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelPatchCall), [*channels releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelReleaseCreateCall), [*channels releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteChannelReleaseListCall), [*domains create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteDomainCreateCall), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteDomainDeleteCall), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteDomainGetCall), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteDomainListCall), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteDomainUpdateCall), [*get config*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteGetConfigCall), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteReleaseCreateCall), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteReleaseListCall), [*update config*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteUpdateConfigCall), [*versions clone*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionCloneCall), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionCreateCall), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionDeleteCall), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionFileListCall), [*versions list*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionListCall), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionPatchCall) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/api::SiteVersionPopulateFileCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/FirebaseHosting)** +* **[Hub](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/FirebaseHosting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,9 +91,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebasehosting1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -156,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Delegate), 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-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -176,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::CallBuilder) 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-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::Part) 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-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::CallBuilder), 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-firebasehosting1_beta1/2.0.4+20210315/google_firebasehosting1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasehosting1_beta1/2.0.5+20210315/google_firebasehosting1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasehosting1_beta1/src/api.rs b/gen/firebasehosting1_beta1/src/api.rs index 595b443169..060d0e7cf5 100644 --- a/gen/firebasehosting1_beta1/src/api.rs +++ b/gen/firebasehosting1_beta1/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > FirebaseHosting<> { FirebaseHosting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebasehosting.googleapis.com/".to_string(), _root_url: "https://firebasehosting.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > FirebaseHosting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasehosting1_beta1/src/client.rs b/gen/firebasehosting1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebasehosting1_beta1/src/client.rs +++ b/gen/firebasehosting1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebasehosting1_beta1/src/lib.rs b/gen/firebasehosting1_beta1/src/lib.rs index fd5050010e..f3b0772c3b 100644 --- a/gen/firebasehosting1_beta1/src/lib.rs +++ b/gen/firebasehosting1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Hosting* crate version *2.0.4+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Hosting* crate version *2.0.5+20210315*, where *20210315* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Hosting* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). @@ -91,9 +91,6 @@ //! ```toml //! [dependencies] //! google-firebasehosting1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebaseml1-cli/Cargo.toml b/gen/firebaseml1-cli/Cargo.toml index 56821df31d..1aeb59dbcd 100644 --- a/gen/firebaseml1-cli/Cargo.toml +++ b/gen/firebaseml1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebaseml1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase ML (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseml1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebaseml1] path = "../firebaseml1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/firebaseml1-cli/README.md b/gen/firebaseml1-cli/README.md index cbfce04edf..bf475a819f 100644 --- a/gen/firebaseml1-cli/README.md +++ b/gen/firebaseml1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase ML* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase ML* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash firebaseml1 [options] diff --git a/gen/firebaseml1-cli/mkdocs.yml b/gen/firebaseml1-cli/mkdocs.yml index 28dbec7353..edc876c0db 100644 --- a/gen/firebaseml1-cli/mkdocs.yml +++ b/gen/firebaseml1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase ML v2.0.4+20210329 +site_name: Firebase ML v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-firebaseml1-cli site_description: A complete library to interact with Firebase ML (protocol v1) diff --git a/gen/firebaseml1-cli/src/main.rs b/gen/firebaseml1-cli/src/main.rs index b188ccabea..377b0c0bc2 100644 --- a/gen/firebaseml1-cli/src/main.rs +++ b/gen/firebaseml1-cli/src/main.rs @@ -411,7 +411,7 @@ async fn main() { let mut app = App::new("firebaseml1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Access custom machine learning models hosted via Firebase ML.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebaseml1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebaseml1/Cargo.toml b/gen/firebaseml1/Cargo.toml index a64fb7ffd2..d0540bef9d 100644 --- a/gen/firebaseml1/Cargo.toml +++ b/gen/firebaseml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseml1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase ML (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseml1" homepage = "https://firebase.google.com" -documentation = "https://docs.rs/google-firebaseml1/2.0.4+20210329" +documentation = "https://docs.rs/google-firebaseml1/2.0.5+20210329" license = "MIT" keywords = ["firebaseml", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebaseml1/README.md b/gen/firebaseml1/README.md index 4d97d704b9..7e503c089e 100644 --- a/gen/firebaseml1/README.md +++ b/gen/firebaseml1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebaseml1` library allows access to all features of the *Google Firebase ML* service. -This documentation was generated from *Firebase ML* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase ML* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase ML* *v1* API can be found at the [official documentation site](https://firebase.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/FirebaseML) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/FirebaseML) ... -* [operations](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/api::Operation) - * [*cancel*](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/api::OperationListCall) +* [operations](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/api::Operation) + * [*cancel*](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/FirebaseML)** +* **[Hub](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/FirebaseML)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Part)** + * **[Parts](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebaseml1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Delegate), 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-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::CallBuilder) 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-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Delegate) 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 [encodable](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::RequestValue) and +[decodable](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseml1/2.0.4+20210329/google_firebaseml1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::Part) 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-firebaseml1/2.0.4+20210329/google_firebaseml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::CallBuilder), 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-firebaseml1/2.0.4+20210329/google_firebaseml1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseml1/2.0.5+20210329/google_firebaseml1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebaseml1/src/api.rs b/gen/firebaseml1/src/api.rs index 47b6088662..6be0be5d68 100644 --- a/gen/firebaseml1/src/api.rs +++ b/gen/firebaseml1/src/api.rs @@ -117,7 +117,7 @@ impl<'a, > FirebaseML<> { FirebaseML { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebaseml.googleapis.com/".to_string(), _root_url: "https://firebaseml.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > FirebaseML<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebaseml1/src/client.rs b/gen/firebaseml1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebaseml1/src/client.rs +++ b/gen/firebaseml1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebaseml1/src/lib.rs b/gen/firebaseml1/src/lib.rs index 78a3a95154..34ca3f750e 100644 --- a/gen/firebaseml1/src/lib.rs +++ b/gen/firebaseml1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase ML* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase ML* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase ML* *v1* API can be found at the //! [official documentation site](https://firebase.google.com). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-firebaseml1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebaseremoteconfig1-cli/Cargo.toml b/gen/firebaseremoteconfig1-cli/Cargo.toml index 0e656067ec..e48ae032f5 100644 --- a/gen/firebaseremoteconfig1-cli/Cargo.toml +++ b/gen/firebaseremoteconfig1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebaseremoteconfig1-cli" -version = "2.0.4+20171129" +version = "2.0.5+20171129" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Remote Config (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseremoteconfig1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebaseremoteconfig1] path = "../firebaseremoteconfig1" -version = "2.0.4+20171129" +version = "2.0.5+20171129" diff --git a/gen/firebaseremoteconfig1-cli/README.md b/gen/firebaseremoteconfig1-cli/README.md index 3413a7ef90..6340797a4a 100644 --- a/gen/firebaseremoteconfig1-cli/README.md +++ b/gen/firebaseremoteconfig1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Remote Config* API at revision *20171129*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebase Remote Config* API at revision *20171129*. The CLI is at version *2.0.5*. ```bash firebaseremoteconfig1 [options] diff --git a/gen/firebaseremoteconfig1-cli/mkdocs.yml b/gen/firebaseremoteconfig1-cli/mkdocs.yml index ebdf5f9412..720c7337b5 100644 --- a/gen/firebaseremoteconfig1-cli/mkdocs.yml +++ b/gen/firebaseremoteconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Remote Config v2.0.4+20171129 +site_name: Firebase Remote Config v2.0.5+20171129 site_url: http://byron.github.io/google-apis-rs/google-firebaseremoteconfig1-cli site_description: A complete library to interact with Firebase Remote Config (protocol v1) diff --git a/gen/firebaseremoteconfig1-cli/src/main.rs b/gen/firebaseremoteconfig1-cli/src/main.rs index 013c6d2d7a..d21b035fa6 100644 --- a/gen/firebaseremoteconfig1-cli/src/main.rs +++ b/gen/firebaseremoteconfig1-cli/src/main.rs @@ -344,7 +344,7 @@ async fn main() { let mut app = App::new("firebaseremoteconfig1") .author("Sebastian Thiel ") - .version("2.0.4+20171129") + .version("2.0.5+20171129") .about("Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebaseremoteconfig1_cli") .arg(Arg::with_name("folder") diff --git a/gen/firebaseremoteconfig1/Cargo.toml b/gen/firebaseremoteconfig1/Cargo.toml index 344dd66ef7..ea40614017 100644 --- a/gen/firebaseremoteconfig1/Cargo.toml +++ b/gen/firebaseremoteconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseremoteconfig1" -version = "2.0.4+20171129" +version = "2.0.5+20171129" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Remote Config (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseremoteconfig1" homepage = "https://firebase.google.com/docs/remote-config/" -documentation = "https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129" +documentation = "https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129" license = "MIT" keywords = ["firebaseremoteconfig", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebaseremoteconfig1/README.md b/gen/firebaseremoteconfig1/README.md index 5d39554b68..73131d1ddf 100644 --- a/gen/firebaseremoteconfig1/README.md +++ b/gen/firebaseremoteconfig1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebaseremoteconfig1` library allows access to all features of the *Google Firebase Remote Config* service. -This documentation was generated from *Firebase Remote Config* crate version *2.0.4+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebase Remote Config* crate version *2.0.5+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebase Remote Config* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/remote-config/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig) ... * projects - * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/api::ProjectGetRemoteConfigCall) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/api::ProjectUpdateRemoteConfigCall) + * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/api::ProjectGetRemoteConfigCall) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/api::ProjectUpdateRemoteConfigCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig)** +* **[Hub](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Part)** + * **[Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebaseremoteconfig1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Delegate), 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-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::CallBuilder) 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-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Delegate) 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 [encodable](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::RequestValue) and +[decodable](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::Part) 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-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::CallBuilder), 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-firebaseremoteconfig1/2.0.4+20171129/google_firebaseremoteconfig1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseremoteconfig1/2.0.5+20171129/google_firebaseremoteconfig1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebaseremoteconfig1/src/api.rs b/gen/firebaseremoteconfig1/src/api.rs index 0004f78ae3..c7f82438e3 100644 --- a/gen/firebaseremoteconfig1/src/api.rs +++ b/gen/firebaseremoteconfig1/src/api.rs @@ -99,7 +99,7 @@ impl<'a, > FirebaseRemoteConfig<> { FirebaseRemoteConfig { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebaseremoteconfig.googleapis.com/".to_string(), _root_url: "https://firebaseremoteconfig.googleapis.com/".to_string(), } @@ -110,7 +110,7 @@ impl<'a, > FirebaseRemoteConfig<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebaseremoteconfig1/src/client.rs b/gen/firebaseremoteconfig1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebaseremoteconfig1/src/client.rs +++ b/gen/firebaseremoteconfig1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebaseremoteconfig1/src/lib.rs b/gen/firebaseremoteconfig1/src/lib.rs index 7b2f856f61..5cec4fb912 100644 --- a/gen/firebaseremoteconfig1/src/lib.rs +++ b/gen/firebaseremoteconfig1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Remote Config* crate version *2.0.4+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebase Remote Config* crate version *2.0.5+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebase Remote Config* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/remote-config/). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-firebaseremoteconfig1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firebasestorage1_beta-cli/Cargo.toml b/gen/firebasestorage1_beta-cli/Cargo.toml index 9b814bd6e7..a25cdd7407 100644 --- a/gen/firebasestorage1_beta-cli/Cargo.toml +++ b/gen/firebasestorage1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasestorage1_beta-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebasestorage (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasestorage1_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasestorage1_beta] path = "../firebasestorage1_beta" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/firebasestorage1_beta-cli/README.md b/gen/firebasestorage1_beta-cli/README.md index 77c16b2fb4..c82899946b 100644 --- a/gen/firebasestorage1_beta-cli/README.md +++ b/gen/firebasestorage1_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebasestorage* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firebasestorage* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash firebasestorage1-beta [options] diff --git a/gen/firebasestorage1_beta-cli/mkdocs.yml b/gen/firebasestorage1_beta-cli/mkdocs.yml index 14d3599f57..9efeee311a 100644 --- a/gen/firebasestorage1_beta-cli/mkdocs.yml +++ b/gen/firebasestorage1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebasestorage v2.0.4+20210329 +site_name: Firebasestorage v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-firebasestorage1_beta-cli site_description: A complete library to interact with Firebasestorage (protocol v1beta) diff --git a/gen/firebasestorage1_beta-cli/src/main.rs b/gen/firebasestorage1_beta-cli/src/main.rs index 5c32464c3f..9a9af76c19 100644 --- a/gen/firebasestorage1_beta-cli/src/main.rs +++ b/gen/firebasestorage1_beta-cli/src/main.rs @@ -523,7 +523,7 @@ async fn main() { let mut app = App::new("firebasestorage1-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasestorage1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasestorage1_beta/Cargo.toml b/gen/firebasestorage1_beta/Cargo.toml index 82fd464a36..4306b10792 100644 --- a/gen/firebasestorage1_beta/Cargo.toml +++ b/gen/firebasestorage1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasestorage1_beta" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebasestorage (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasestorage1_beta" homepage = "https://firebase.google.com/docs/storage" -documentation = "https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329" +documentation = "https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329" license = "MIT" keywords = ["firebasestorage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firebasestorage1_beta/README.md b/gen/firebasestorage1_beta/README.md index 79a3bdc0d5..d998d4180c 100644 --- a/gen/firebasestorage1_beta/README.md +++ b/gen/firebasestorage1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasestorage1_beta` library allows access to all features of the *Google Firebasestorage* service. -This documentation was generated from *Firebasestorage* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firebasestorage* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firebasestorage* *v1_beta* API can be found at the [official documentation site](https://firebase.google.com/docs/storage). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/Firebasestorage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/Firebasestorage) ... * projects - * [*buckets add firebase*](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/api::ProjectBucketAddFirebaseCall), [*buckets get*](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/api::ProjectBucketGetCall), [*buckets list*](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/api::ProjectBucketListCall) and [*buckets remove firebase*](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/api::ProjectBucketRemoveFirebaseCall) + * [*buckets add firebase*](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/api::ProjectBucketAddFirebaseCall), [*buckets get*](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/api::ProjectBucketGetCall), [*buckets list*](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/api::ProjectBucketListCall) and [*buckets remove firebase*](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/api::ProjectBucketRemoveFirebaseCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/Firebasestorage)** +* **[Hub](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/Firebasestorage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firebasestorage1_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Delegate), 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-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::CallBuilder) 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-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Delegate) 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 [encodable](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::Part) 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-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::CallBuilder), 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-firebasestorage1_beta/2.0.4+20210329/google_firebasestorage1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasestorage1_beta/2.0.5+20210329/google_firebasestorage1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasestorage1_beta/src/api.rs b/gen/firebasestorage1_beta/src/api.rs index dde24dba39..956ea63ad0 100644 --- a/gen/firebasestorage1_beta/src/api.rs +++ b/gen/firebasestorage1_beta/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Firebasestorage<> { Firebasestorage { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firebasestorage.googleapis.com/".to_string(), _root_url: "https://firebasestorage.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Firebasestorage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasestorage1_beta/src/client.rs b/gen/firebasestorage1_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firebasestorage1_beta/src/client.rs +++ b/gen/firebasestorage1_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firebasestorage1_beta/src/lib.rs b/gen/firebasestorage1_beta/src/lib.rs index 7a965f502b..e30d4631b8 100644 --- a/gen/firebasestorage1_beta/src/lib.rs +++ b/gen/firebasestorage1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebasestorage* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firebasestorage* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firebasestorage* *v1_beta* API can be found at the //! [official documentation site](https://firebase.google.com/docs/storage). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-firebasestorage1_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firestore1-cli/Cargo.toml b/gen/firestore1-cli/Cargo.toml index a13662edb5..8e04af42f8 100644 --- a/gen/firestore1-cli/Cargo.toml +++ b/gen/firestore1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firestore1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firestore1] path = "../firestore1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/firestore1-cli/README.md b/gen/firestore1-cli/README.md index bd6733897b..301d98334c 100644 --- a/gen/firestore1-cli/README.md +++ b/gen/firestore1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firestore* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firestore* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash firestore1 [options] diff --git a/gen/firestore1-cli/mkdocs.yml b/gen/firestore1-cli/mkdocs.yml index 5a9351b505..9fce5e0bca 100644 --- a/gen/firestore1-cli/mkdocs.yml +++ b/gen/firestore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v2.0.4+20210317 +site_name: Firestore v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-firestore1-cli site_description: A complete library to interact with Firestore (protocol v1) diff --git a/gen/firestore1-cli/src/main.rs b/gen/firestore1-cli/src/main.rs index bcf22f0426..6097bbb4f3 100644 --- a/gen/firestore1-cli/src/main.rs +++ b/gen/firestore1-cli/src/main.rs @@ -3308,7 +3308,7 @@ async fn main() { let mut app = App::new("firestore1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firestore1_cli") .arg(Arg::with_name("url") diff --git a/gen/firestore1/Cargo.toml b/gen/firestore1/Cargo.toml index 3232e8c5cc..f6c4aad598 100644 --- a/gen/firestore1/Cargo.toml +++ b/gen/firestore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1" homepage = "https://cloud.google.com/firestore" -documentation = "https://docs.rs/google-firestore1/2.0.4+20210317" +documentation = "https://docs.rs/google-firestore1/2.0.5+20210317" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firestore1/README.md b/gen/firestore1/README.md index d5016d3dca..8cb13f3fa0 100644 --- a/gen/firestore1/README.md +++ b/gen/firestore1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firestore1` library allows access to all features of the *Google Firestore* service. -This documentation was generated from *Firestore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firestore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firestore* *v1* API can be found at the [official documentation site](https://cloud.google.com/firestore). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/Firestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/Firestore) ... * projects - * [*databases collection groups fields get*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldGetCall), [*databases collection groups fields list*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldListCall), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldPatchCall), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeCreateCall), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeDeleteCall), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeGetCall), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeListCall), [*databases documents batch get*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseImportDocumentCall), [*databases operations cancel*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseOperationCancelCall), [*databases operations delete*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseOperationDeleteCall), [*databases operations get*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseOperationGetCall), [*databases operations list*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectDatabaseOperationListCall), [*locations get*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/api::ProjectLocationListCall) + * [*databases collection groups fields get*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldGetCall), [*databases collection groups fields list*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldListCall), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupFieldPatchCall), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeCreateCall), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeDeleteCall), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeGetCall), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeListCall), [*databases documents batch get*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseImportDocumentCall), [*databases operations cancel*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseOperationCancelCall), [*databases operations delete*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseOperationDeleteCall), [*databases operations get*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseOperationGetCall), [*databases operations list*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectDatabaseOperationListCall), [*locations get*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/Firestore)** +* **[Hub](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/Firestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Part)** + * **[Parts](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firestore1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Delegate), 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-firestore1/2.0.4+20210317/google_firestore1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::CallBuilder) 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-firestore1/2.0.4+20210317/google_firestore1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Delegate) 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 [encodable](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::RequestValue) and -[decodable](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::RequestValue) and +[decodable](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firestore1/2.0.4+20210317/google_firestore1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::Part) 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-firestore1/2.0.4+20210317/google_firestore1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::CallBuilder), 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-firestore1/2.0.4+20210317/google_firestore1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firestore1/2.0.5+20210317/google_firestore1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firestore1/src/api.rs b/gen/firestore1/src/api.rs index 5f3bb5f7ca..a99d8ff36a 100644 --- a/gen/firestore1/src/api.rs +++ b/gen/firestore1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > Firestore<> { Firestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firestore.googleapis.com/".to_string(), _root_url: "https://firestore.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Firestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firestore1/src/client.rs b/gen/firestore1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firestore1/src/client.rs +++ b/gen/firestore1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firestore1/src/lib.rs b/gen/firestore1/src/lib.rs index 15424f24ea..a79853ac3a 100644 --- a/gen/firestore1/src/lib.rs +++ b/gen/firestore1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firestore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firestore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-firestore1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/firestore1_beta1-cli/Cargo.toml b/gen/firestore1_beta1-cli/Cargo.toml index c96e83f6cc..3d34350e48 100644 --- a/gen/firestore1_beta1-cli/Cargo.toml +++ b/gen/firestore1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firestore1_beta1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firestore1_beta1] path = "../firestore1_beta1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/firestore1_beta1-cli/README.md b/gen/firestore1_beta1-cli/README.md index 5754005445..9a2e60c143 100644 --- a/gen/firestore1_beta1-cli/README.md +++ b/gen/firestore1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firestore* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Firestore* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash firestore1-beta1 [options] diff --git a/gen/firestore1_beta1-cli/mkdocs.yml b/gen/firestore1_beta1-cli/mkdocs.yml index d41d46942b..d0883bdefb 100644 --- a/gen/firestore1_beta1-cli/mkdocs.yml +++ b/gen/firestore1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v2.0.4+20210317 +site_name: Firestore v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-firestore1_beta1-cli site_description: A complete library to interact with Firestore (protocol v1beta1) diff --git a/gen/firestore1_beta1-cli/src/main.rs b/gen/firestore1_beta1-cli/src/main.rs index cb307aeed3..ed7ea84f8d 100644 --- a/gen/firestore1_beta1-cli/src/main.rs +++ b/gen/firestore1_beta1-cli/src/main.rs @@ -2501,7 +2501,7 @@ async fn main() { let mut app = App::new("firestore1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firestore1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/firestore1_beta1/Cargo.toml b/gen/firestore1_beta1/Cargo.toml index 698af219ef..af79aea560 100644 --- a/gen/firestore1_beta1/Cargo.toml +++ b/gen/firestore1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1_beta1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1_beta1" homepage = "https://cloud.google.com/firestore" -documentation = "https://docs.rs/google-firestore1_beta1/2.0.4+20210317" +documentation = "https://docs.rs/google-firestore1_beta1/2.0.5+20210317" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/firestore1_beta1/README.md b/gen/firestore1_beta1/README.md index 7d704f2bc1..48f2f4acb2 100644 --- a/gen/firestore1_beta1/README.md +++ b/gen/firestore1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firestore1_beta1` library allows access to all features of the *Google Firestore* service. -This documentation was generated from *Firestore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Firestore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Firestore* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/firestore). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/Firestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/Firestore) ... * projects - * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseImportDocumentCall), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeCreateCall), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeDeleteCall), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeGetCall) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeListCall) + * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseImportDocumentCall), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeCreateCall), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeDeleteCall), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeGetCall) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/api::ProjectDatabaseIndexeListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/Firestore)** +* **[Hub](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/Firestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-firestore1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Delegate), 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-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::CallBuilder) 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-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::Part) 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-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::CallBuilder), 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-firestore1_beta1/2.0.4+20210317/google_firestore1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firestore1_beta1/2.0.5+20210317/google_firestore1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firestore1_beta1/src/api.rs b/gen/firestore1_beta1/src/api.rs index 08e8e9b904..fc8b4f4de0 100644 --- a/gen/firestore1_beta1/src/api.rs +++ b/gen/firestore1_beta1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Firestore<> { Firestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://firestore.googleapis.com/".to_string(), _root_url: "https://firestore.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Firestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firestore1_beta1/src/client.rs b/gen/firestore1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/firestore1_beta1/src/client.rs +++ b/gen/firestore1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/firestore1_beta1/src/lib.rs b/gen/firestore1_beta1/src/lib.rs index 066512e8c3..d1801880f5 100644 --- a/gen/firestore1_beta1/src/lib.rs +++ b/gen/firestore1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firestore* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Firestore* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Firestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-firestore1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/fitness1-cli/Cargo.toml b/gen/fitness1-cli/Cargo.toml index c87d0e8e74..0ed81faf40 100644 --- a/gen/fitness1-cli/Cargo.toml +++ b/gen/fitness1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fitness1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fitness1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fitness1] path = "../fitness1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/fitness1-cli/README.md b/gen/fitness1-cli/README.md index ed5a0fca2f..3533067ca5 100644 --- a/gen/fitness1-cli/README.md +++ b/gen/fitness1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *fitness* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *fitness* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash fitness1 [options] diff --git a/gen/fitness1-cli/mkdocs.yml b/gen/fitness1-cli/mkdocs.yml index dbe0f81f66..f8c69da210 100644 --- a/gen/fitness1-cli/mkdocs.yml +++ b/gen/fitness1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fitness v2.0.4+20210323 +site_name: fitness v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-fitness1-cli site_description: A complete library to interact with fitness (protocol v1) diff --git a/gen/fitness1-cli/src/main.rs b/gen/fitness1-cli/src/main.rs index b8b852d4be..0b0293f01c 100644 --- a/gen/fitness1-cli/src/main.rs +++ b/gen/fitness1-cli/src/main.rs @@ -1459,7 +1459,7 @@ async fn main() { let mut app = App::new("fitness1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("The Fitness API for managing users' fitness tracking data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fitness1_cli") .arg(Arg::with_name("url") diff --git a/gen/fitness1/Cargo.toml b/gen/fitness1/Cargo.toml index 11e5b90506..a04d3000fe 100644 --- a/gen/fitness1/Cargo.toml +++ b/gen/fitness1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fitness1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fitness1" homepage = "https://developers.google.com/fit/rest/v1/get-started" -documentation = "https://docs.rs/google-fitness1/2.0.4+20210323" +documentation = "https://docs.rs/google-fitness1/2.0.5+20210323" license = "MIT" keywords = ["fitness", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/fitness1/README.md b/gen/fitness1/README.md index e6bc72b2b0..c0eb5fb901 100644 --- a/gen/fitness1/README.md +++ b/gen/fitness1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-fitness1` library allows access to all features of the *Google fitness* service. -This documentation was generated from *fitness* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *fitness* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *fitness* *v1* API can be found at the [official documentation site](https://developers.google.com/fit/rest/v1/get-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/Fitness) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/Fitness) ... * users - * [*data sources create*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceCreateCall), [*data sources data point changes list*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceDataPointChangeListCall), [*data sources datasets delete*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceDatasetDeleteCall), [*data sources datasets get*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceDatasetGetCall), [*data sources datasets patch*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceDatasetPatchCall), [*data sources delete*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceDeleteCall), [*data sources get*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceGetCall), [*data sources list*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceListCall), [*data sources update*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDataSourceUpdateCall), [*dataset aggregate*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserDatasetAggregateCall), [*sessions delete*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserSessionDeleteCall), [*sessions list*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserSessionListCall) and [*sessions update*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/api::UserSessionUpdateCall) + * [*data sources create*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceCreateCall), [*data sources data point changes list*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceDataPointChangeListCall), [*data sources datasets delete*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceDatasetDeleteCall), [*data sources datasets get*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceDatasetGetCall), [*data sources datasets patch*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceDatasetPatchCall), [*data sources delete*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceDeleteCall), [*data sources get*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceGetCall), [*data sources list*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceListCall), [*data sources update*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDataSourceUpdateCall), [*dataset aggregate*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserDatasetAggregateCall), [*sessions delete*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserSessionDeleteCall), [*sessions list*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserSessionListCall) and [*sessions update*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/api::UserSessionUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/Fitness)** +* **[Hub](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/Fitness)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::CallBuilder) +* **[Resources](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Part)** + * **[Parts](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-fitness1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Delegate) to the +[Method Builder](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Delegate) 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 [encodable](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::RequestValue) and -[decodable](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::RequestValue) and +[decodable](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-fitness1/2.0.4+20210323/google_fitness1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fitness1/2.0.5+20210323/google_fitness1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fitness1/src/api.rs b/gen/fitness1/src/api.rs index a92e55429e..7dbd7fac4f 100644 --- a/gen/fitness1/src/api.rs +++ b/gen/fitness1/src/api.rs @@ -204,7 +204,7 @@ impl<'a, > Fitness<> { Fitness { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://fitness.googleapis.com/fitness/v1/users/".to_string(), _root_url: "https://fitness.googleapis.com/".to_string(), } @@ -215,7 +215,7 @@ impl<'a, > Fitness<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fitness1/src/client.rs b/gen/fitness1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/fitness1/src/client.rs +++ b/gen/fitness1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/fitness1/src/lib.rs b/gen/fitness1/src/lib.rs index 30838a9627..5cdb7450e5 100644 --- a/gen/fitness1/src/lib.rs +++ b/gen/fitness1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *fitness* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *fitness* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *fitness* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fit/rest/v1/get-started). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-fitness1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/fusiontables2-cli/Cargo.toml b/gen/fusiontables2-cli/Cargo.toml index 7fde56c456..69fc66b9d0 100644 --- a/gen/fusiontables2-cli/Cargo.toml +++ b/gen/fusiontables2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fusiontables2-cli" -version = "2.0.4+20171117" +version = "2.0.5+20171117" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fusiontables2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fusiontables2] path = "../fusiontables2" -version = "2.0.4+20171117" +version = "2.0.5+20171117" diff --git a/gen/fusiontables2-cli/README.md b/gen/fusiontables2-cli/README.md index b9a9cd2365..7c62be4f7a 100644 --- a/gen/fusiontables2-cli/README.md +++ b/gen/fusiontables2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *fusiontables* API at revision *20171117*. The CLI is at version *2.0.4*. +This documentation was generated from the *fusiontables* API at revision *20171117*. The CLI is at version *2.0.5*. ```bash fusiontables2 [options] diff --git a/gen/fusiontables2-cli/mkdocs.yml b/gen/fusiontables2-cli/mkdocs.yml index d827879557..0340ac3563 100644 --- a/gen/fusiontables2-cli/mkdocs.yml +++ b/gen/fusiontables2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fusiontables v2.0.4+20171117 +site_name: fusiontables v2.0.5+20171117 site_url: http://byron.github.io/google-apis-rs/google-fusiontables2-cli site_description: A complete library to interact with fusiontables (protocol v2) diff --git a/gen/fusiontables2-cli/src/main.rs b/gen/fusiontables2-cli/src/main.rs index 2965d7d9c6..ff47f8fb37 100644 --- a/gen/fusiontables2-cli/src/main.rs +++ b/gen/fusiontables2-cli/src/main.rs @@ -3643,7 +3643,7 @@ async fn main() { let mut app = App::new("fusiontables2") .author("Sebastian Thiel ") - .version("2.0.4+20171117") + .version("2.0.5+20171117") .about("API for working with Fusion Tables data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fusiontables2_cli") .arg(Arg::with_name("url") diff --git a/gen/fusiontables2/Cargo.toml b/gen/fusiontables2/Cargo.toml index 437cddff41..8b3850321e 100644 --- a/gen/fusiontables2/Cargo.toml +++ b/gen/fusiontables2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fusiontables2" -version = "2.0.4+20171117" +version = "2.0.5+20171117" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fusiontables2" homepage = "https://developers.google.com/fusiontables" -documentation = "https://docs.rs/google-fusiontables2/2.0.4+20171117" +documentation = "https://docs.rs/google-fusiontables2/2.0.5+20171117" license = "MIT" keywords = ["fusiontables", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/fusiontables2/README.md b/gen/fusiontables2/README.md index 4d60727cd5..4b50fccf84 100644 --- a/gen/fusiontables2/README.md +++ b/gen/fusiontables2/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-fusiontables2` library allows access to all features of the *Google fusiontables* service. -This documentation was generated from *fusiontables* crate version *2.0.4+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *fusiontables* crate version *2.0.5+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *fusiontables* *v2* API can be found at the [official documentation site](https://developers.google.com/fusiontables). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/Fusiontables) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/Fusiontables) ... -* [column](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::Column) - * [*delete*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::ColumnDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::ColumnGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::ColumnInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::ColumnListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::ColumnPatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::ColumnUpdateCall) +* [column](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::Column) + * [*delete*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::ColumnDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::ColumnGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::ColumnInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::ColumnListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::ColumnPatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::ColumnUpdateCall) * query - * [*sql*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::QuerySqlCall) and [*sql get*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::QuerySqlGetCall) + * [*sql*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::QuerySqlCall) and [*sql get*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::QuerySqlGetCall) * style - * [*delete*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::StyleDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::StyleGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::StyleInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::StyleListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::StylePatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::StyleUpdateCall) -* [table](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::Table) - * [*copy*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableCopyCall), [*delete*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableGetCall), [*import rows*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableImportRowCall), [*import table*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableImportTableCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TablePatchCall), [*refetch sheet*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableRefetchSheetCall), [*replace rows*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableReplaceRowCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableUpdateCall) -* [task](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::Task) - * [*delete*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TaskDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TaskGetCall) and [*list*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TaskListCall) -* [template](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::Template) - * [*delete*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TemplateGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TemplateInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TemplateListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TemplatePatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TemplateUpdateCall) + * [*delete*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::StyleDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::StyleGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::StyleInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::StyleListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::StylePatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::StyleUpdateCall) +* [table](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::Table) + * [*copy*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableCopyCall), [*delete*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableGetCall), [*import rows*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableImportRowCall), [*import table*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableImportTableCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TablePatchCall), [*refetch sheet*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableRefetchSheetCall), [*replace rows*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableReplaceRowCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableUpdateCall) +* [task](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::Task) + * [*delete*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TaskDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TaskGetCall) and [*list*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TaskListCall) +* [template](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::Template) + * [*delete*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TemplateGetCall), [*insert*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TemplateInsertCall), [*list*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TemplateListCall), [*patch*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TemplatePatchCall) and [*update*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TemplateUpdateCall) Upload supported by ... -* [*import rows table*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableImportRowCall) -* [*import table table*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableImportTableCall) -* [*replace rows table*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::TableReplaceRowCall) +* [*import rows table*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableImportRowCall) +* [*import table table*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableImportTableCall) +* [*replace rows table*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::TableReplaceRowCall) Download supported by ... -* [*sql query*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::QuerySqlCall) -* [*sql get query*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/api::QuerySqlGetCall) +* [*sql query*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::QuerySqlCall) +* [*sql get query*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/api::QuerySqlGetCall) @@ -44,17 +44,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/Fusiontables)** +* **[Hub](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/Fusiontables)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::CallBuilder) -* **[Resources](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::CallBuilder) +* **[Resources](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Part)** + * **[Parts](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,9 +90,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-fusiontables2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -155,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::ResponseResult), 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")`. @@ -175,29 +172,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Delegate) to the -[Method Builder](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Delegate) to the +[Method Builder](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Delegate) 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 [encodable](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::RequestValue) and -[decodable](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::RequestValue) and +[decodable](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-fusiontables2/2.0.4+20171117/google_fusiontables2/client::RequestValue) are moved +* [request values](https://docs.rs/google-fusiontables2/2.0.5+20171117/google_fusiontables2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fusiontables2/src/api.rs b/gen/fusiontables2/src/api.rs index 336884fd88..c84b1a30af 100644 --- a/gen/fusiontables2/src/api.rs +++ b/gen/fusiontables2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Fusiontables<> { Fusiontables { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/fusiontables/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -147,7 +147,7 @@ impl<'a, > Fusiontables<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -6456,7 +6456,6 @@ impl<'a> TableImportRowCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -6840,7 +6839,6 @@ impl<'a> TableImportTableCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -8269,7 +8267,6 @@ impl<'a> TableReplaceRowCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/fusiontables2/src/client.rs b/gen/fusiontables2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/fusiontables2/src/client.rs +++ b/gen/fusiontables2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/fusiontables2/src/lib.rs b/gen/fusiontables2/src/lib.rs index 04f78854dd..124ccb9343 100644 --- a/gen/fusiontables2/src/lib.rs +++ b/gen/fusiontables2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *fusiontables* crate version *2.0.4+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *fusiontables* crate version *2.0.5+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *fusiontables* *v2* API can be found at the //! [official documentation site](https://developers.google.com/fusiontables). @@ -90,9 +90,6 @@ //! ```toml //! [dependencies] //! google-fusiontables2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/games1-cli/Cargo.toml b/gen/games1-cli/Cargo.toml index 2e973d4f2e..a7c87f4286 100644 --- a/gen/games1-cli/Cargo.toml +++ b/gen/games1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-games1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/games1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-games1] path = "../games1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/games1-cli/README.md b/gen/games1-cli/README.md index 088369a425..11e2ee44a1 100644 --- a/gen/games1-cli/README.md +++ b/gen/games1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Games* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Games* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash games1 [options] diff --git a/gen/games1-cli/mkdocs.yml b/gen/games1-cli/mkdocs.yml index c74406810c..435732ae10 100644 --- a/gen/games1-cli/mkdocs.yml +++ b/gen/games1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games v2.0.4+20210325 +site_name: Games v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-games1-cli site_description: A complete library to interact with Games (protocol v1) diff --git a/gen/games1-cli/src/main.rs b/gen/games1-cli/src/main.rs index b95f028e39..6f16496fa2 100644 --- a/gen/games1-cli/src/main.rs +++ b/gen/games1-cli/src/main.rs @@ -2871,7 +2871,7 @@ async fn main() { let mut app = App::new("games1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_games1_cli") .arg(Arg::with_name("url") diff --git a/gen/games1/Cargo.toml b/gen/games1/Cargo.toml index b12107a1a8..5db6e410fc 100644 --- a/gen/games1/Cargo.toml +++ b/gen/games1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-games1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/games1" homepage = "https://developers.google.com/games/" -documentation = "https://docs.rs/google-games1/2.0.4+20210325" +documentation = "https://docs.rs/google-games1/2.0.5+20210325" license = "MIT" keywords = ["games", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/games1/README.md b/gen/games1/README.md index b68d2927a3..373c55c59a 100644 --- a/gen/games1/README.md +++ b/gen/games1/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-games1` library allows access to all features of the *Google Games* service. -This documentation was generated from *Games* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Games* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Games* *v1* API can be found at the [official documentation site](https://developers.google.com/games/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/2.0.4+20210325/google_games1/Games) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/2.0.5+20210325/google_games1/Games) ... -* [achievement definitions](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementDefinition) - * [*list*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementDefinitionListCall) +* [achievement definitions](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementDefinition) + * [*list*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementDefinitionListCall) * achievements - * [*increment*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementIncrementCall), [*list*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementListCall), [*reveal*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementRevealCall), [*set steps at least*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementSetStepsAtLeastCall), [*unlock*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementUnlockCall) and [*update multiple*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::AchievementUpdateMultipleCall) -* [applications](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::Application) - * [*get*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ApplicationGetCall), [*get end point*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ApplicationGetEndPointCall), [*played*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ApplicationPlayedCall) and [*verify*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ApplicationVerifyCall) + * [*increment*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementIncrementCall), [*list*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementListCall), [*reveal*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementRevealCall), [*set steps at least*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementSetStepsAtLeastCall), [*unlock*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementUnlockCall) and [*update multiple*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::AchievementUpdateMultipleCall) +* [applications](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::Application) + * [*get*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ApplicationGetCall), [*get end point*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ApplicationGetEndPointCall), [*played*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ApplicationPlayedCall) and [*verify*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ApplicationVerifyCall) * events - * [*list by player*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::EventListByPlayerCall), [*list definitions*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::EventListDefinitionCall) and [*record*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::EventRecordCall) -* [leaderboards](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::Leaderboard) - * [*get*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::LeaderboardGetCall) and [*list*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::LeaderboardListCall) + * [*list by player*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::EventListByPlayerCall), [*list definitions*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::EventListDefinitionCall) and [*record*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::EventRecordCall) +* [leaderboards](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::Leaderboard) + * [*get*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::LeaderboardGetCall) and [*list*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::LeaderboardListCall) * metagame - * [*get metagame config*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::MetagameGetMetagameConfigCall) and [*list categories by player*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::MetagameListCategoriesByPlayerCall) -* [players](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::Player) - * [*get*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::PlayerGetCall) and [*list*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::PlayerListCall) + * [*get metagame config*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::MetagameGetMetagameConfigCall) and [*list categories by player*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::MetagameListCategoriesByPlayerCall) +* [players](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::Player) + * [*get*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::PlayerGetCall) and [*list*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::PlayerListCall) * revisions - * [*check*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::RevisionCheckCall) + * [*check*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::RevisionCheckCall) * scores - * [*get*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ScoreGetCall), [*list*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ScoreListCall), [*list window*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ScoreListWindowCall), [*submit*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ScoreSubmitCall) and [*submit multiple*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::ScoreSubmitMultipleCall) -* [snapshots](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::Snapshot) - * [*get*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::SnapshotGetCall) and [*list*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::SnapshotListCall) + * [*get*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ScoreGetCall), [*list*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ScoreListCall), [*list window*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ScoreListWindowCall), [*submit*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ScoreSubmitCall) and [*submit multiple*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::ScoreSubmitMultipleCall) +* [snapshots](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::Snapshot) + * [*get*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::SnapshotGetCall) and [*list*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::SnapshotListCall) * snapshots extended - * [*resolve snapshot head*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::SnapshotsExtendedResolveSnapshotHeadCall) + * [*resolve snapshot head*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::SnapshotsExtendedResolveSnapshotHeadCall) * stats - * [*get*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/api::StatGetCall) + * [*get*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/api::StatGetCall) @@ -45,17 +45,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-games1/2.0.4+20210325/google_games1/Games)** +* **[Hub](https://docs.rs/google-games1/2.0.5+20210325/google_games1/Games)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::CallBuilder) -* **[Resources](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::CallBuilder) +* **[Resources](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Part)** + * **[Parts](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -89,9 +89,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-games1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Delegate) to the -[Method Builder](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Delegate) to the +[Method Builder](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Delegate) 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 [encodable](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::RequestValue) and -[decodable](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::RequestValue) and +[decodable](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-games1/2.0.4+20210325/google_games1/client::RequestValue) are moved +* [request values](https://docs.rs/google-games1/2.0.5+20210325/google_games1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/games1/src/api.rs b/gen/games1/src/api.rs index 6ff5b4a700..3b67953f0e 100644 --- a/gen/games1/src/api.rs +++ b/gen/games1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Games<> { Games { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://games.googleapis.com/".to_string(), _root_url: "https://games.googleapis.com/".to_string(), } @@ -164,7 +164,7 @@ impl<'a, > Games<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/games1/src/client.rs b/gen/games1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/games1/src/client.rs +++ b/gen/games1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs index f81fd0848d..72601c3282 100644 --- a/gen/games1/src/lib.rs +++ b/gen/games1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Games* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Games* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/). @@ -89,9 +89,6 @@ //! ```toml //! [dependencies] //! google-games1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gamesconfiguration1_configuration-cli/Cargo.toml b/gen/gamesconfiguration1_configuration-cli/Cargo.toml index ac6033e15f..5110842ccc 100644 --- a/gen/gamesconfiguration1_configuration-cli/Cargo.toml +++ b/gen/gamesconfiguration1_configuration-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gamesconfiguration1_configuration-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesconfiguration1_configuration-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gamesconfiguration1_configuration] path = "../gamesconfiguration1_configuration" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/gamesconfiguration1_configuration-cli/README.md b/gen/gamesconfiguration1_configuration-cli/README.md index 1fce73a867..92afca06fa 100644 --- a/gen/gamesconfiguration1_configuration-cli/README.md +++ b/gen/gamesconfiguration1_configuration-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Games Configuration* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Games Configuration* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash gamesconfiguration1-configuration [options] diff --git a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml index e7c535fe52..a1ac8122f0 100644 --- a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml +++ b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Configuration v2.0.4+20210325 +site_name: Games Configuration v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-gamesconfiguration1_configuration-cli site_description: A complete library to interact with Games Configuration (protocol v1configuration) diff --git a/gen/gamesconfiguration1_configuration-cli/src/main.rs b/gen/gamesconfiguration1_configuration-cli/src/main.rs index 2557ceb522..b10ec1854e 100644 --- a/gen/gamesconfiguration1_configuration-cli/src/main.rs +++ b/gen/gamesconfiguration1_configuration-cli/src/main.rs @@ -1255,7 +1255,7 @@ async fn main() { let mut app = App::new("gamesconfiguration1-configuration") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("The Google Play Game Services Publishing API allows developers to configure their games in Game Services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gamesconfiguration1_configuration_cli") .arg(Arg::with_name("url") diff --git a/gen/gamesconfiguration1_configuration/Cargo.toml b/gen/gamesconfiguration1_configuration/Cargo.toml index acbf98dcd3..8676426041 100644 --- a/gen/gamesconfiguration1_configuration/Cargo.toml +++ b/gen/gamesconfiguration1_configuration/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gamesconfiguration1_configuration" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesconfiguration1_configuration" homepage = "https://developers.google.com/games/" -documentation = "https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325" +documentation = "https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325" license = "MIT" keywords = ["gamesConfiguration", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gamesconfiguration1_configuration/README.md b/gen/gamesconfiguration1_configuration/README.md index 06d479b9e7..a06df3644c 100644 --- a/gen/gamesconfiguration1_configuration/README.md +++ b/gen/gamesconfiguration1_configuration/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-gamesconfiguration1_configuration` library allows access to all features of the *Google Games Configuration* service. -This documentation was generated from *Games Configuration* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Games Configuration* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Games Configuration* *v1_configuration* API can be found at the [official documentation site](https://developers.google.com/games/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/GamesConfiguration) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/GamesConfiguration) ... -* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::AchievementConfiguration) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationUpdateCall) -* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::ImageConfiguration) - * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) -* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfiguration) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationUpdateCall) +* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::AchievementConfiguration) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::AchievementConfigurationUpdateCall) +* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::ImageConfiguration) + * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) +* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfiguration) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationUpdateCall) Upload supported by ... -* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) +* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) @@ -31,17 +31,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/GamesConfiguration)** +* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/GamesConfiguration)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::CallBuilder) -* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::CallBuilder) +* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Part)** + * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gamesconfiguration1_configuration = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Delegate) to the -[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Delegate) to the +[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Delegate) 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 [encodable](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::RequestValue) and -[decodable](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::RequestValue) and +[decodable](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gamesconfiguration1_configuration/2.0.4+20210325/google_gamesconfiguration1_configuration/client::RequestValue) are moved +* [request values](https://docs.rs/google-gamesconfiguration1_configuration/2.0.5+20210325/google_gamesconfiguration1_configuration/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gamesconfiguration1_configuration/src/api.rs b/gen/gamesconfiguration1_configuration/src/api.rs index 5a3eadc31d..5d1ba9ef41 100644 --- a/gen/gamesconfiguration1_configuration/src/api.rs +++ b/gen/gamesconfiguration1_configuration/src/api.rs @@ -116,7 +116,7 @@ impl<'a, > GamesConfiguration<> { GamesConfiguration { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gamesconfiguration.googleapis.com/".to_string(), _root_url: "https://gamesconfiguration.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > GamesConfiguration<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gamesconfiguration1_configuration/src/client.rs b/gen/gamesconfiguration1_configuration/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gamesconfiguration1_configuration/src/client.rs +++ b/gen/gamesconfiguration1_configuration/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs b/gen/gamesconfiguration1_configuration/src/lib.rs index ae3728e70c..9df7e1a794 100644 --- a/gen/gamesconfiguration1_configuration/src/lib.rs +++ b/gen/gamesconfiguration1_configuration/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games Configuration* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Games Configuration* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Games Configuration* *v1_configuration* API can be found at the //! [official documentation site](https://developers.google.com/games/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-gamesconfiguration1_configuration = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gameservices1-cli/Cargo.toml b/gen/gameservices1-cli/Cargo.toml index 44f8765953..3deb53ad82 100644 --- a/gen/gameservices1-cli/Cargo.toml +++ b/gen/gameservices1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gameservices1-cli" -version = "2.0.4+20210312" +version = "2.0.5+20210312" authors = ["Sebastian Thiel "] description = "A complete library to interact with Game Services (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gameservices1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gameservices1] path = "../gameservices1" -version = "2.0.4+20210312" +version = "2.0.5+20210312" diff --git a/gen/gameservices1-cli/README.md b/gen/gameservices1-cli/README.md index 749b47d2a1..1be3487f4c 100644 --- a/gen/gameservices1-cli/README.md +++ b/gen/gameservices1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Game Services* API at revision *20210312*. The CLI is at version *2.0.4*. +This documentation was generated from the *Game Services* API at revision *20210312*. The CLI is at version *2.0.5*. ```bash gameservices1 [options] diff --git a/gen/gameservices1-cli/mkdocs.yml b/gen/gameservices1-cli/mkdocs.yml index 600222ca59..726fe83768 100644 --- a/gen/gameservices1-cli/mkdocs.yml +++ b/gen/gameservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Game Services v2.0.4+20210312 +site_name: Game Services v2.0.5+20210312 site_url: http://byron.github.io/google-apis-rs/google-gameservices1-cli site_description: A complete library to interact with Game Services (protocol v1) diff --git a/gen/gameservices1-cli/src/main.rs b/gen/gameservices1-cli/src/main.rs index 77eb66e109..ee9b13c108 100644 --- a/gen/gameservices1-cli/src/main.rs +++ b/gen/gameservices1-cli/src/main.rs @@ -3740,7 +3740,7 @@ async fn main() { let mut app = App::new("gameservices1") .author("Sebastian Thiel ") - .version("2.0.4+20210312") + .version("2.0.5+20210312") .about("Deploy and manage infrastructure for global multiplayer gaming experiences.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gameservices1_cli") .arg(Arg::with_name("url") diff --git a/gen/gameservices1/Cargo.toml b/gen/gameservices1/Cargo.toml index 177f95f0cd..59586bdcbe 100644 --- a/gen/gameservices1/Cargo.toml +++ b/gen/gameservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gameservices1" -version = "2.0.4+20210312" +version = "2.0.5+20210312" authors = ["Sebastian Thiel "] description = "A complete library to interact with Game Services (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gameservices1" homepage = "https://cloud.google.com/solutions/gaming/" -documentation = "https://docs.rs/google-gameservices1/2.0.4+20210312" +documentation = "https://docs.rs/google-gameservices1/2.0.5+20210312" license = "MIT" keywords = ["gameservices", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gameservices1/README.md b/gen/gameservices1/README.md index fe2ddf1988..97d1af0edd 100644 --- a/gen/gameservices1/README.md +++ b/gen/gameservices1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gameservices1` library allows access to all features of the *Google Game Services* service. -This documentation was generated from *Game Services* crate version *2.0.4+20210312*, where *20210312* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Game Services* crate version *2.0.5+20210312*, where *20210312* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Game Services* *v1* API can be found at the [official documentation site](https://cloud.google.com/solutions/gaming/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/GameServices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/GameServices) ... * projects - * [*locations game server deployments configs create*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigCreateCall), [*locations game server deployments configs delete*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigDeleteCall), [*locations game server deployments configs get*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigGetCall), [*locations game server deployments configs list*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigListCall), [*locations game server deployments create*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentCreateCall), [*locations game server deployments delete*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentDeleteCall), [*locations game server deployments fetch deployment state*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentFetchDeploymentStateCall), [*locations game server deployments get*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetCall), [*locations game server deployments get iam policy*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetIamPolicyCall), [*locations game server deployments get rollout*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetRolloutCall), [*locations game server deployments list*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentListCall), [*locations game server deployments patch*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentPatchCall), [*locations game server deployments preview rollout*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentPreviewRolloutCall), [*locations game server deployments set iam policy*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentSetIamPolicyCall), [*locations game server deployments test iam permissions*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentTestIamPermissionCall), [*locations game server deployments update rollout*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentUpdateRolloutCall), [*locations get*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationOperationListCall), [*locations realms create*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmCreateCall), [*locations realms delete*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmDeleteCall), [*locations realms game server clusters create*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterCreateCall), [*locations realms game server clusters delete*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterDeleteCall), [*locations realms game server clusters get*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterGetCall), [*locations realms game server clusters list*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterListCall), [*locations realms game server clusters patch*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPatchCall), [*locations realms game server clusters preview create*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewCreateCall), [*locations realms game server clusters preview delete*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewDeleteCall), [*locations realms game server clusters preview update*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewUpdateCall), [*locations realms get*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmGetCall), [*locations realms list*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmListCall), [*locations realms patch*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmPatchCall) and [*locations realms preview update*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/api::ProjectLocationRealmPreviewUpdateCall) + * [*locations game server deployments configs create*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigCreateCall), [*locations game server deployments configs delete*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigDeleteCall), [*locations game server deployments configs get*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigGetCall), [*locations game server deployments configs list*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigListCall), [*locations game server deployments create*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentCreateCall), [*locations game server deployments delete*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentDeleteCall), [*locations game server deployments fetch deployment state*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentFetchDeploymentStateCall), [*locations game server deployments get*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetCall), [*locations game server deployments get iam policy*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetIamPolicyCall), [*locations game server deployments get rollout*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentGetRolloutCall), [*locations game server deployments list*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentListCall), [*locations game server deployments patch*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentPatchCall), [*locations game server deployments preview rollout*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentPreviewRolloutCall), [*locations game server deployments set iam policy*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentSetIamPolicyCall), [*locations game server deployments test iam permissions*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentTestIamPermissionCall), [*locations game server deployments update rollout*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGameServerDeploymentUpdateRolloutCall), [*locations get*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationOperationListCall), [*locations realms create*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmCreateCall), [*locations realms delete*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmDeleteCall), [*locations realms game server clusters create*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterCreateCall), [*locations realms game server clusters delete*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterDeleteCall), [*locations realms game server clusters get*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterGetCall), [*locations realms game server clusters list*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterListCall), [*locations realms game server clusters patch*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPatchCall), [*locations realms game server clusters preview create*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewCreateCall), [*locations realms game server clusters preview delete*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewDeleteCall), [*locations realms game server clusters preview update*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewUpdateCall), [*locations realms get*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmGetCall), [*locations realms list*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmListCall), [*locations realms patch*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmPatchCall) and [*locations realms preview update*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/api::ProjectLocationRealmPreviewUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/GameServices)** +* **[Hub](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/GameServices)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Part)** + * **[Parts](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gameservices1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -145,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Delegate), 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-gameservices1/2.0.4+20210312/google_gameservices1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::CallBuilder) 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-gameservices1/2.0.4+20210312/google_gameservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Delegate) 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 [encodable](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::RequestValue) and -[decodable](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::RequestValue) and +[decodable](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gameservices1/2.0.4+20210312/google_gameservices1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::Part) 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-gameservices1/2.0.4+20210312/google_gameservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::CallBuilder), 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-gameservices1/2.0.4+20210312/google_gameservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gameservices1/2.0.5+20210312/google_gameservices1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gameservices1/src/api.rs b/gen/gameservices1/src/api.rs index 8ea2ff65e2..c6639812c7 100644 --- a/gen/gameservices1/src/api.rs +++ b/gen/gameservices1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > GameServices<> { GameServices { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gameservices.googleapis.com/".to_string(), _root_url: "https://gameservices.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > GameServices<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gameservices1/src/client.rs b/gen/gameservices1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gameservices1/src/client.rs +++ b/gen/gameservices1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gameservices1/src/lib.rs b/gen/gameservices1/src/lib.rs index dfbc884fc7..470b9d9849 100644 --- a/gen/gameservices1/src/lib.rs +++ b/gen/gameservices1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Game Services* crate version *2.0.4+20210312*, where *20210312* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Game Services* crate version *2.0.5+20210312*, where *20210312* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Game Services* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/solutions/gaming/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-gameservices1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gamesmanagement1_management-cli/Cargo.toml b/gen/gamesmanagement1_management-cli/Cargo.toml index 4cf7559366..416b4a8d74 100644 --- a/gen/gamesmanagement1_management-cli/Cargo.toml +++ b/gen/gamesmanagement1_management-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gamesmanagement1_management-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesmanagement1_management-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gamesmanagement1_management] path = "../gamesmanagement1_management" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/gamesmanagement1_management-cli/README.md b/gen/gamesmanagement1_management-cli/README.md index a084bada96..e60bedd20e 100644 --- a/gen/gamesmanagement1_management-cli/README.md +++ b/gen/gamesmanagement1_management-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Games Management* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Games Management* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash gamesmanagement1-management [options] diff --git a/gen/gamesmanagement1_management-cli/mkdocs.yml b/gen/gamesmanagement1_management-cli/mkdocs.yml index 5fc06c718b..15bca85159 100644 --- a/gen/gamesmanagement1_management-cli/mkdocs.yml +++ b/gen/gamesmanagement1_management-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Management v2.0.4+20210325 +site_name: Games Management v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-gamesmanagement1_management-cli site_description: A complete library to interact with Games Management (protocol v1management) diff --git a/gen/gamesmanagement1_management-cli/src/main.rs b/gen/gamesmanagement1_management-cli/src/main.rs index b0354d2933..48fbe78b42 100644 --- a/gen/gamesmanagement1_management-cli/src/main.rs +++ b/gen/gamesmanagement1_management-cli/src/main.rs @@ -1465,7 +1465,7 @@ async fn main() { let mut app = App::new("gamesmanagement1-management") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("The Google Play Game Management API allows developers to manage resources from the Google Play Game service.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gamesmanagement1_management_cli") .arg(Arg::with_name("url") diff --git a/gen/gamesmanagement1_management/Cargo.toml b/gen/gamesmanagement1_management/Cargo.toml index 6a94a9954b..e6da3ca3a0 100644 --- a/gen/gamesmanagement1_management/Cargo.toml +++ b/gen/gamesmanagement1_management/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gamesmanagement1_management" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesmanagement1_management" homepage = "https://developers.google.com/games/" -documentation = "https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325" +documentation = "https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325" license = "MIT" keywords = ["gamesManagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gamesmanagement1_management/README.md b/gen/gamesmanagement1_management/README.md index 5d5399aa0d..712e745a40 100644 --- a/gen/gamesmanagement1_management/README.md +++ b/gen/gamesmanagement1_management/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-gamesmanagement1_management` library allows access to all features of the *Google Games Management* service. -This documentation was generated from *Games Management* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Games Management* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Games Management* *v1_management* API can be found at the [official documentation site](https://developers.google.com/games/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/GamesManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/GamesManagement) ... * achievements - * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::AchievementResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::AchievementResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::AchievementResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::AchievementResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::AchievementResetMultipleForAllPlayerCall) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::AchievementResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::AchievementResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::AchievementResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::AchievementResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::AchievementResetMultipleForAllPlayerCall) * applications - * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ApplicationListHiddenCall) + * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::ApplicationListHiddenCall) * events - * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::EventResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::EventResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::EventResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::EventResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::EventResetMultipleForAllPlayerCall) -* [players](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::Player) - * [*hide*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::PlayerHideCall) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::PlayerUnhideCall) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::EventResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::EventResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::EventResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::EventResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::EventResetMultipleForAllPlayerCall) +* [players](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::Player) + * [*hide*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::PlayerHideCall) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::PlayerUnhideCall) * scores - * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ScoreResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ScoreResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ScoreResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ScoreResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/api::ScoreResetMultipleForAllPlayerCall) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::ScoreResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::ScoreResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::ScoreResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::ScoreResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/api::ScoreResetMultipleForAllPlayerCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/GamesManagement)** +* **[Hub](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/GamesManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::CallBuilder) -* **[Resources](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::CallBuilder) +* **[Resources](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Part)** + * **[Parts](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gamesmanagement1_management = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Delegate) to the -[Method Builder](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Delegate) to the +[Method Builder](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Delegate) 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 [encodable](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::RequestValue) and -[decodable](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::RequestValue) and +[decodable](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gamesmanagement1_management/2.0.4+20210325/google_gamesmanagement1_management/client::RequestValue) are moved +* [request values](https://docs.rs/google-gamesmanagement1_management/2.0.5+20210325/google_gamesmanagement1_management/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gamesmanagement1_management/src/api.rs b/gen/gamesmanagement1_management/src/api.rs index 5db6470fba..ab53f0088f 100644 --- a/gen/gamesmanagement1_management/src/api.rs +++ b/gen/gamesmanagement1_management/src/api.rs @@ -114,7 +114,7 @@ impl<'a, > GamesManagement<> { GamesManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gamesmanagement.googleapis.com/".to_string(), _root_url: "https://gamesmanagement.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > GamesManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gamesmanagement1_management/src/client.rs b/gen/gamesmanagement1_management/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gamesmanagement1_management/src/client.rs +++ b/gen/gamesmanagement1_management/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gamesmanagement1_management/src/lib.rs b/gen/gamesmanagement1_management/src/lib.rs index 567733d911..6857d5662e 100644 --- a/gen/gamesmanagement1_management/src/lib.rs +++ b/gen/gamesmanagement1_management/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games Management* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Games Management* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Games Management* *v1_management* API can be found at the //! [official documentation site](https://developers.google.com/games/). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-gamesmanagement1_management = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gan1_beta1-cli/Cargo.toml b/gen/gan1_beta1-cli/Cargo.toml index 511545e887..000766a933 100644 --- a/gen/gan1_beta1-cli/Cargo.toml +++ b/gen/gan1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gan1_beta1-cli" -version = "2.0.4+20130205" +version = "2.0.5+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gan1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gan1_beta1] path = "../gan1_beta1" -version = "2.0.4+20130205" +version = "2.0.5+20130205" diff --git a/gen/gan1_beta1-cli/README.md b/gen/gan1_beta1-cli/README.md index 331e870d4a..95ba0f197c 100644 --- a/gen/gan1_beta1-cli/README.md +++ b/gen/gan1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *2.0.4*. +This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *2.0.5*. ```bash gan1-beta1 [options] diff --git a/gen/gan1_beta1-cli/mkdocs.yml b/gen/gan1_beta1-cli/mkdocs.yml index c80dff5322..f733606e92 100644 --- a/gen/gan1_beta1-cli/mkdocs.yml +++ b/gen/gan1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: gan v2.0.4+20130205 +site_name: gan v2.0.5+20130205 site_url: http://byron.github.io/google-apis-rs/google-gan1_beta1-cli site_description: A complete library to interact with gan (protocol v1beta1) diff --git a/gen/gan1_beta1-cli/src/main.rs b/gen/gan1_beta1-cli/src/main.rs index 10e515fd2c..31da2798cd 100644 --- a/gen/gan1_beta1-cli/src/main.rs +++ b/gen/gan1_beta1-cli/src/main.rs @@ -1244,7 +1244,7 @@ async fn main() { let mut app = App::new("gan1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20130205") + .version("2.0.5+20130205") .about("Lets you have programmatic access to your Google Affiliate Network data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gan1_beta1_cli") .arg(Arg::with_name("folder") diff --git a/gen/gan1_beta1/Cargo.toml b/gen/gan1_beta1/Cargo.toml index f7b1f7b0be..ea540953ea 100644 --- a/gen/gan1_beta1/Cargo.toml +++ b/gen/gan1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gan1_beta1" -version = "2.0.4+20130205" +version = "2.0.5+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gan1_beta1" homepage = "https://developers.google.com/affiliate-network/" -documentation = "https://docs.rs/google-gan1_beta1/2.0.4+20130205" +documentation = "https://docs.rs/google-gan1_beta1/2.0.5+20130205" license = "MIT" keywords = ["gan", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gan1_beta1/README.md b/gen/gan1_beta1/README.md index e539a35ba0..c457b0a676 100644 --- a/gen/gan1_beta1/README.md +++ b/gen/gan1_beta1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-gan1_beta1` library allows access to all features of the *Google gan* service. -This documentation was generated from *gan* crate version *2.0.4+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *gan* crate version *2.0.5+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *gan* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/affiliate-network/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/Gan) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/Gan) ... -* [advertisers](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::Advertiser) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::AdvertiserGetCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::AdvertiserListCall) -* [cc offers](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::CcOffer) - * [*list*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::CcOfferListCall) -* [events](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::Event) - * [*list*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::EventListCall) -* [links](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::Link) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::LinkGetCall), [*insert*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::LinkInsertCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::LinkListCall) -* [publishers](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::Publisher) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::PublisherGetCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::PublisherListCall) -* [reports](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::Report) - * [*get*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/api::ReportGetCall) +* [advertisers](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::Advertiser) + * [*get*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::AdvertiserGetCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::AdvertiserListCall) +* [cc offers](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::CcOffer) + * [*list*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::CcOfferListCall) +* [events](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::Event) + * [*list*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::EventListCall) +* [links](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::Link) + * [*get*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::LinkGetCall), [*insert*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::LinkInsertCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::LinkListCall) +* [publishers](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::Publisher) + * [*get*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::PublisherGetCall) and [*list*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::PublisherListCall) +* [reports](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::Report) + * [*get*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/api::ReportGetCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/Gan)** +* **[Hub](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/Gan)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gan1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -151,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::ResponseResult), 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")`. @@ -171,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gan1_beta1/2.0.4+20130205/google_gan1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gan1_beta1/2.0.5+20130205/google_gan1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gan1_beta1/src/api.rs b/gen/gan1_beta1/src/api.rs index 42b6edeadf..737dbb6e35 100644 --- a/gen/gan1_beta1/src/api.rs +++ b/gen/gan1_beta1/src/api.rs @@ -105,7 +105,7 @@ impl<'a, > Gan<> { Gan { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/gan/v1beta1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Gan<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gan1_beta1/src/client.rs b/gen/gan1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gan1_beta1/src/client.rs +++ b/gen/gan1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gan1_beta1/src/lib.rs b/gen/gan1_beta1/src/lib.rs index 5bc65e5803..87cbcf738c 100644 --- a/gen/gan1_beta1/src/lib.rs +++ b/gen/gan1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *gan* crate version *2.0.4+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *gan* crate version *2.0.5+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *gan* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/affiliate-network/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-gan1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/genomics1-cli/Cargo.toml b/gen/genomics1-cli/Cargo.toml index dc90365665..e2342d6d54 100644 --- a/gen/genomics1-cli/Cargo.toml +++ b/gen/genomics1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-genomics1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/genomics1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-genomics1] path = "../genomics1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/genomics1-cli/README.md b/gen/genomics1-cli/README.md index 85a5524fe9..37423fbdaa 100644 --- a/gen/genomics1-cli/README.md +++ b/gen/genomics1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *genomics* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *genomics* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash genomics1 [options] diff --git a/gen/genomics1-cli/mkdocs.yml b/gen/genomics1-cli/mkdocs.yml index c7793b361d..aae6d5a8fe 100644 --- a/gen/genomics1-cli/mkdocs.yml +++ b/gen/genomics1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: genomics v2.0.4+20210324 +site_name: genomics v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-genomics1-cli site_description: A complete library to interact with genomics (protocol v1) diff --git a/gen/genomics1-cli/src/main.rs b/gen/genomics1-cli/src/main.rs index 84d0bd7b2a..a97625240b 100644 --- a/gen/genomics1-cli/src/main.rs +++ b/gen/genomics1-cli/src/main.rs @@ -411,7 +411,7 @@ async fn main() { let mut app = App::new("genomics1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Uploads, processes, queries, and searches Genomics data in the cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_genomics1_cli") .arg(Arg::with_name("url") diff --git a/gen/genomics1/Cargo.toml b/gen/genomics1/Cargo.toml index 68bdccf058..315fbf095e 100644 --- a/gen/genomics1/Cargo.toml +++ b/gen/genomics1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-genomics1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/genomics1" homepage = "https://cloud.google.com/genomics" -documentation = "https://docs.rs/google-genomics1/2.0.4+20210324" +documentation = "https://docs.rs/google-genomics1/2.0.5+20210324" license = "MIT" keywords = ["genomics", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/genomics1/README.md b/gen/genomics1/README.md index 0af488ddb3..bb97427f68 100644 --- a/gen/genomics1/README.md +++ b/gen/genomics1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-genomics1` library allows access to all features of the *Google genomics* service. -This documentation was generated from *genomics* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *genomics* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *genomics* *v1* API can be found at the [official documentation site](https://cloud.google.com/genomics). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/Genomics) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/Genomics) ... -* [operations](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/api::Operation) - * [*cancel*](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/api::OperationCancelCall), [*get*](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/api::OperationGetCall) and [*list*](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/api::OperationListCall) +* [operations](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/api::Operation) + * [*cancel*](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/api::OperationCancelCall), [*get*](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/api::OperationGetCall) and [*list*](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/Genomics)** +* **[Hub](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/Genomics)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::CallBuilder) -* **[Resources](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::CallBuilder) +* **[Resources](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Part)** + * **[Parts](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-genomics1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Delegate) to the -[Method Builder](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Delegate) to the +[Method Builder](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Delegate) 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 [encodable](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::RequestValue) and -[decodable](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::RequestValue) and +[decodable](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-genomics1/2.0.4+20210324/google_genomics1/client::RequestValue) are moved +* [request values](https://docs.rs/google-genomics1/2.0.5+20210324/google_genomics1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/genomics1/src/api.rs b/gen/genomics1/src/api.rs index b673c8809f..ca207190d5 100644 --- a/gen/genomics1/src/api.rs +++ b/gen/genomics1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Genomics<> { Genomics { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://genomics.googleapis.com/".to_string(), _root_url: "https://genomics.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Genomics<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/genomics1/src/client.rs b/gen/genomics1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/genomics1/src/client.rs +++ b/gen/genomics1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/genomics1/src/lib.rs b/gen/genomics1/src/lib.rs index 7a8497ce32..a6b8e5d32c 100644 --- a/gen/genomics1/src/lib.rs +++ b/gen/genomics1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *genomics* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *genomics* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *genomics* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/genomics). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-genomics1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gkehub1-cli/Cargo.toml b/gen/gkehub1-cli/Cargo.toml index d315ac12a3..6e065dab59 100644 --- a/gen/gkehub1-cli/Cargo.toml +++ b/gen/gkehub1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gkehub1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with GKE Hub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gkehub1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gkehub1] path = "../gkehub1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/gkehub1-cli/README.md b/gen/gkehub1-cli/README.md index 1c9ccba25b..71eac697a3 100644 --- a/gen/gkehub1-cli/README.md +++ b/gen/gkehub1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *GKE Hub* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *GKE Hub* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash gkehub1 [options] diff --git a/gen/gkehub1-cli/mkdocs.yml b/gen/gkehub1-cli/mkdocs.yml index 313a0f4c16..1128fab909 100644 --- a/gen/gkehub1-cli/mkdocs.yml +++ b/gen/gkehub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: GKE Hub v2.0.4+20210322 +site_name: GKE Hub v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-gkehub1-cli site_description: A complete library to interact with GKE Hub (protocol v1) diff --git a/gen/gkehub1-cli/src/main.rs b/gen/gkehub1-cli/src/main.rs index 9ec7ec4d20..222c8b6a08 100644 --- a/gen/gkehub1-cli/src/main.rs +++ b/gen/gkehub1-cli/src/main.rs @@ -1595,7 +1595,7 @@ async fn main() { let mut app = App::new("gkehub1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gkehub1_cli") .arg(Arg::with_name("url") diff --git a/gen/gkehub1/Cargo.toml b/gen/gkehub1/Cargo.toml index 5dfe0f9a9c..3109ca358e 100644 --- a/gen/gkehub1/Cargo.toml +++ b/gen/gkehub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gkehub1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with GKE Hub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gkehub1" homepage = "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster" -documentation = "https://docs.rs/google-gkehub1/2.0.4+20210322" +documentation = "https://docs.rs/google-gkehub1/2.0.5+20210322" license = "MIT" keywords = ["gkehub", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gkehub1/README.md b/gen/gkehub1/README.md index eb3417fd49..ac5ffd7c3f 100644 --- a/gen/gkehub1/README.md +++ b/gen/gkehub1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gkehub1` library allows access to all features of the *Google GKE Hub* service. -This documentation was generated from *GKE Hub* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *GKE Hub* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *GKE Hub* *v1* API can be found at the [official documentation site](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/GKEHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/GKEHub) ... * projects - * [*locations get*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationListCall), [*locations memberships create*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipCreateCall), [*locations memberships delete*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipDeleteCall), [*locations memberships generate connect manifest*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipGenerateConnectManifestCall), [*locations memberships get*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipGetCall), [*locations memberships get iam policy*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipGetIamPolicyCall), [*locations memberships list*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipListCall), [*locations memberships patch*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipPatchCall), [*locations memberships set iam policy*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipSetIamPolicyCall), [*locations memberships test iam permissions*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationMembershipTestIamPermissionCall), [*locations operations cancel*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationListCall), [*locations memberships create*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipCreateCall), [*locations memberships delete*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipDeleteCall), [*locations memberships generate connect manifest*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipGenerateConnectManifestCall), [*locations memberships get*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipGetCall), [*locations memberships get iam policy*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipGetIamPolicyCall), [*locations memberships list*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipListCall), [*locations memberships patch*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipPatchCall), [*locations memberships set iam policy*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipSetIamPolicyCall), [*locations memberships test iam permissions*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationMembershipTestIamPermissionCall), [*locations operations cancel*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/GKEHub)** +* **[Hub](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/GKEHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Part)** + * **[Parts](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gkehub1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Delegate), 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-gkehub1/2.0.4+20210322/google_gkehub1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::CallBuilder) 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-gkehub1/2.0.4+20210322/google_gkehub1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Delegate) 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 [encodable](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::RequestValue) and -[decodable](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::RequestValue) and +[decodable](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gkehub1/2.0.4+20210322/google_gkehub1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::Part) 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-gkehub1/2.0.4+20210322/google_gkehub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::CallBuilder), 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-gkehub1/2.0.4+20210322/google_gkehub1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gkehub1/2.0.5+20210322/google_gkehub1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gkehub1/src/api.rs b/gen/gkehub1/src/api.rs index 8f96d52233..1ab58312e6 100644 --- a/gen/gkehub1/src/api.rs +++ b/gen/gkehub1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > GKEHub<> { GKEHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gkehub.googleapis.com/".to_string(), _root_url: "https://gkehub.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > GKEHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gkehub1/src/client.rs b/gen/gkehub1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gkehub1/src/client.rs +++ b/gen/gkehub1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gkehub1/src/lib.rs b/gen/gkehub1/src/lib.rs index e0f13927b9..341c3c92dd 100644 --- a/gen/gkehub1/src/lib.rs +++ b/gen/gkehub1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *GKE Hub* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *GKE Hub* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *GKE Hub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-gkehub1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gmail1-cli/Cargo.toml b/gen/gmail1-cli/Cargo.toml index e42933ff30..d14becd9ef 100644 --- a/gen/gmail1-cli/Cargo.toml +++ b/gen/gmail1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmail1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Gmail (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmail1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gmail1] path = "../gmail1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/gmail1-cli/README.md b/gen/gmail1-cli/README.md index 380878b024..49a3c96eb6 100644 --- a/gen/gmail1-cli/README.md +++ b/gen/gmail1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Gmail* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Gmail* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash gmail1 [options] diff --git a/gen/gmail1-cli/mkdocs.yml b/gen/gmail1-cli/mkdocs.yml index 8f927e69ca..008c123c18 100644 --- a/gen/gmail1-cli/mkdocs.yml +++ b/gen/gmail1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Gmail v2.0.4+20210322 +site_name: Gmail v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-gmail1-cli site_description: A complete library to interact with Gmail (protocol v1) diff --git a/gen/gmail1-cli/src/main.rs b/gen/gmail1-cli/src/main.rs index ce5165ffea..243bcd44ed 100644 --- a/gen/gmail1-cli/src/main.rs +++ b/gen/gmail1-cli/src/main.rs @@ -6754,7 +6754,7 @@ async fn main() { let mut app = App::new("gmail1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmail1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmail1/Cargo.toml b/gen/gmail1/Cargo.toml index b4a42f2880..c816c193e1 100644 --- a/gen/gmail1/Cargo.toml +++ b/gen/gmail1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmail1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Gmail (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmail1" homepage = "https://developers.google.com/gmail/api/" -documentation = "https://docs.rs/google-gmail1/2.0.4+20210322" +documentation = "https://docs.rs/google-gmail1/2.0.5+20210322" license = "MIT" keywords = ["gmail", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gmail1/README.md b/gen/gmail1/README.md index fa81bcc6e2..90255af200 100644 --- a/gen/gmail1/README.md +++ b/gen/gmail1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-gmail1` library allows access to all features of the *Google Gmail* service. -This documentation was generated from *Gmail* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Gmail* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Gmail* *v1* API can be found at the [official documentation site](https://developers.google.com/gmail/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/Gmail) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/Gmail) ... * users - * [*drafts create*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftCreateCall), [*drafts delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftDeleteCall), [*drafts get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftGetCall), [*drafts list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftListCall), [*drafts send*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftSendCall), [*drafts update*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftUpdateCall), [*get profile*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserGetProfileCall), [*history list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserHistoryListCall), [*labels create*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserLabelCreateCall), [*labels delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserLabelDeleteCall), [*labels get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserLabelGetCall), [*labels list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserLabelListCall), [*labels patch*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserLabelPatchCall), [*labels update*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserLabelUpdateCall), [*messages attachments get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageAttachmentGetCall), [*messages batch delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageBatchDeleteCall), [*messages batch modify*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageBatchModifyCall), [*messages delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageDeleteCall), [*messages get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageGetCall), [*messages import*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageImportCall), [*messages insert*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageInsertCall), [*messages list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageListCall), [*messages modify*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageModifyCall), [*messages send*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageSendCall), [*messages trash*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageTrashCall), [*messages untrash*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageUntrashCall), [*settings delegates create*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingDelegateCreateCall), [*settings delegates delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingDelegateDeleteCall), [*settings delegates get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingDelegateGetCall), [*settings delegates list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingDelegateListCall), [*settings filters create*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingFilterCreateCall), [*settings filters delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingFilterDeleteCall), [*settings filters get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingFilterGetCall), [*settings filters list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingFilterListCall), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingForwardingAddresseCreateCall), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingForwardingAddresseDeleteCall), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingForwardingAddresseGetCall), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingForwardingAddresseListCall), [*settings get auto forwarding*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingGetAutoForwardingCall), [*settings get imap*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingGetImapCall), [*settings get language*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingGetLanguageCall), [*settings get pop*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingGetPopCall), [*settings get vacation*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingGetVacationCall), [*settings send as create*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendACreateCall), [*settings send as delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendADeleteCall), [*settings send as get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendAGetCall), [*settings send as list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendAListCall), [*settings send as patch*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendAPatchCall), [*settings send as smime info delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendASmimeInfoDeleteCall), [*settings send as smime info get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendASmimeInfoGetCall), [*settings send as smime info insert*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendASmimeInfoInsertCall), [*settings send as smime info list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendASmimeInfoListCall), [*settings send as smime info set default*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendASmimeInfoSetDefaultCall), [*settings send as update*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendAUpdateCall), [*settings send as verify*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingSendAVerifyCall), [*settings update auto forwarding*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingUpdateAutoForwardingCall), [*settings update imap*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingUpdateImapCall), [*settings update language*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingUpdateLanguageCall), [*settings update pop*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingUpdatePopCall), [*settings update vacation*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserSettingUpdateVacationCall), [*stop*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserStopCall), [*threads delete*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserThreadDeleteCall), [*threads get*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserThreadGetCall), [*threads list*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserThreadListCall), [*threads modify*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserThreadModifyCall), [*threads trash*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserThreadTrashCall), [*threads untrash*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserThreadUntrashCall) and [*watch*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserWatchCall) + * [*drafts create*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftCreateCall), [*drafts delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftDeleteCall), [*drafts get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftGetCall), [*drafts list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftListCall), [*drafts send*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftSendCall), [*drafts update*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftUpdateCall), [*get profile*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserGetProfileCall), [*history list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserHistoryListCall), [*labels create*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserLabelCreateCall), [*labels delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserLabelDeleteCall), [*labels get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserLabelGetCall), [*labels list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserLabelListCall), [*labels patch*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserLabelPatchCall), [*labels update*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserLabelUpdateCall), [*messages attachments get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageAttachmentGetCall), [*messages batch delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageBatchDeleteCall), [*messages batch modify*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageBatchModifyCall), [*messages delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageDeleteCall), [*messages get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageGetCall), [*messages import*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageImportCall), [*messages insert*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageInsertCall), [*messages list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageListCall), [*messages modify*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageModifyCall), [*messages send*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageSendCall), [*messages trash*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageTrashCall), [*messages untrash*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageUntrashCall), [*settings delegates create*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingDelegateCreateCall), [*settings delegates delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingDelegateDeleteCall), [*settings delegates get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingDelegateGetCall), [*settings delegates list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingDelegateListCall), [*settings filters create*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingFilterCreateCall), [*settings filters delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingFilterDeleteCall), [*settings filters get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingFilterGetCall), [*settings filters list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingFilterListCall), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingForwardingAddresseCreateCall), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingForwardingAddresseDeleteCall), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingForwardingAddresseGetCall), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingForwardingAddresseListCall), [*settings get auto forwarding*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingGetAutoForwardingCall), [*settings get imap*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingGetImapCall), [*settings get language*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingGetLanguageCall), [*settings get pop*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingGetPopCall), [*settings get vacation*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingGetVacationCall), [*settings send as create*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendACreateCall), [*settings send as delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendADeleteCall), [*settings send as get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendAGetCall), [*settings send as list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendAListCall), [*settings send as patch*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendAPatchCall), [*settings send as smime info delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendASmimeInfoDeleteCall), [*settings send as smime info get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendASmimeInfoGetCall), [*settings send as smime info insert*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendASmimeInfoInsertCall), [*settings send as smime info list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendASmimeInfoListCall), [*settings send as smime info set default*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendASmimeInfoSetDefaultCall), [*settings send as update*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendAUpdateCall), [*settings send as verify*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingSendAVerifyCall), [*settings update auto forwarding*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingUpdateAutoForwardingCall), [*settings update imap*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingUpdateImapCall), [*settings update language*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingUpdateLanguageCall), [*settings update pop*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingUpdatePopCall), [*settings update vacation*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserSettingUpdateVacationCall), [*stop*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserStopCall), [*threads delete*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserThreadDeleteCall), [*threads get*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserThreadGetCall), [*threads list*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserThreadListCall), [*threads modify*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserThreadModifyCall), [*threads trash*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserThreadTrashCall), [*threads untrash*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserThreadUntrashCall) and [*watch*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserWatchCall) Upload supported by ... -* [*drafts create users*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftCreateCall) -* [*drafts send users*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftSendCall) -* [*drafts update users*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserDraftUpdateCall) -* [*messages import users*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageImportCall) -* [*messages insert users*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageInsertCall) -* [*messages send users*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/api::UserMessageSendCall) +* [*drafts create users*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftCreateCall) +* [*drafts send users*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftSendCall) +* [*drafts update users*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserDraftUpdateCall) +* [*messages import users*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageImportCall) +* [*messages insert users*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageInsertCall) +* [*messages send users*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/api::UserMessageSendCall) @@ -32,17 +32,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/Gmail)** +* **[Hub](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/Gmail)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Part)** + * **[Parts](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -80,9 +80,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gmail1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Delegate) 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 [encodable](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::RequestValue) and -[decodable](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::RequestValue) and +[decodable](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gmail1/2.0.4+20210322/google_gmail1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmail1/2.0.5+20210322/google_gmail1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmail1/src/api.rs b/gen/gmail1/src/api.rs index f43728a43f..0d76c87dd2 100644 --- a/gen/gmail1/src/api.rs +++ b/gen/gmail1/src/api.rs @@ -177,7 +177,7 @@ impl<'a, > Gmail<> { Gmail { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gmail.googleapis.com/".to_string(), _root_url: "https://gmail.googleapis.com/".to_string(), } @@ -188,7 +188,7 @@ impl<'a, > Gmail<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2782,7 +2782,6 @@ impl<'a> UserDraftCreateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -4016,7 +4015,6 @@ impl<'a> UserDraftSendCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -4417,7 +4415,6 @@ impl<'a> UserDraftUpdateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -8186,7 +8183,6 @@ impl<'a> UserMessageImportCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -8623,7 +8619,6 @@ impl<'a> UserMessageInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -9649,7 +9644,6 @@ impl<'a> UserMessageSendCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/gmail1/src/client.rs b/gen/gmail1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gmail1/src/client.rs +++ b/gen/gmail1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gmail1/src/lib.rs b/gen/gmail1/src/lib.rs index c89f0fd3ae..9743681230 100644 --- a/gen/gmail1/src/lib.rs +++ b/gen/gmail1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Gmail* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Gmail* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Gmail* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/api/). @@ -80,9 +80,6 @@ //! ```toml //! [dependencies] //! google-gmail1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gmailpostmastertools1-cli/Cargo.toml b/gen/gmailpostmastertools1-cli/Cargo.toml index 014cfa2df9..c4142d2ce9 100644 --- a/gen/gmailpostmastertools1-cli/Cargo.toml +++ b/gen/gmailpostmastertools1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmailpostmastertools1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gmailpostmastertools1] path = "../gmailpostmastertools1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/gmailpostmastertools1-cli/README.md b/gen/gmailpostmastertools1-cli/README.md index 5ad96eb6f5..4cf12459e0 100644 --- a/gen/gmailpostmastertools1-cli/README.md +++ b/gen/gmailpostmastertools1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Postmaster Tools* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Postmaster Tools* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash gmailpostmastertools1 [options] diff --git a/gen/gmailpostmastertools1-cli/mkdocs.yml b/gen/gmailpostmastertools1-cli/mkdocs.yml index 40c80aee03..a7d73bc3cb 100644 --- a/gen/gmailpostmastertools1-cli/mkdocs.yml +++ b/gen/gmailpostmastertools1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Postmaster Tools v2.0.4+20210330 +site_name: Postmaster Tools v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-gmailpostmastertools1-cli site_description: A complete library to interact with Postmaster Tools (protocol v1) diff --git a/gen/gmailpostmastertools1-cli/src/main.rs b/gen/gmailpostmastertools1-cli/src/main.rs index 47e7950dfc..a358ddacce 100644 --- a/gen/gmailpostmastertools1-cli/src/main.rs +++ b/gen/gmailpostmastertools1-cli/src/main.rs @@ -466,7 +466,7 @@ async fn main() { let mut app = App::new("gmailpostmastertools1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmailpostmastertools1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmailpostmastertools1/Cargo.toml b/gen/gmailpostmastertools1/Cargo.toml index 26a2a523df..8d69cc23e1 100644 --- a/gen/gmailpostmastertools1/Cargo.toml +++ b/gen/gmailpostmastertools1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmailpostmastertools1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1" homepage = "https://developers.google.com/gmail/postmaster" -documentation = "https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330" +documentation = "https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330" license = "MIT" keywords = ["gmailpostmastertools", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gmailpostmastertools1/README.md b/gen/gmailpostmastertools1/README.md index be3c09f6dc..32a4368a30 100644 --- a/gen/gmailpostmastertools1/README.md +++ b/gen/gmailpostmastertools1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gmailpostmastertools1` library allows access to all features of the *Google Postmaster Tools* service. -This documentation was generated from *Postmaster Tools* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Postmaster Tools* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Postmaster Tools* *v1* API can be found at the [official documentation site](https://developers.google.com/gmail/postmaster). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/PostmasterTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/PostmasterTools) ... -* [domains](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/api::Domain) - * [*get*](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/api::DomainTrafficStatListCall) +* [domains](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/api::Domain) + * [*get*](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/api::DomainTrafficStatListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/PostmasterTools)** +* **[Hub](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/PostmasterTools)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Part)** + * **[Parts](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gmailpostmastertools1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Delegate), 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-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::CallBuilder) 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-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Delegate) 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 [encodable](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::RequestValue) and -[decodable](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::RequestValue) and +[decodable](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::Part) 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-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::CallBuilder), 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-gmailpostmastertools1/2.0.4+20210330/google_gmailpostmastertools1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmailpostmastertools1/2.0.5+20210330/google_gmailpostmastertools1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmailpostmastertools1/src/api.rs b/gen/gmailpostmastertools1/src/api.rs index e6b9d78cc7..db09d0a1ac 100644 --- a/gen/gmailpostmastertools1/src/api.rs +++ b/gen/gmailpostmastertools1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > PostmasterTools<> { PostmasterTools { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gmailpostmastertools.googleapis.com/".to_string(), _root_url: "https://gmailpostmastertools.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > PostmasterTools<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gmailpostmastertools1/src/client.rs b/gen/gmailpostmastertools1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gmailpostmastertools1/src/client.rs +++ b/gen/gmailpostmastertools1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gmailpostmastertools1/src/lib.rs b/gen/gmailpostmastertools1/src/lib.rs index e5f6096812..7976f9b6c0 100644 --- a/gen/gmailpostmastertools1/src/lib.rs +++ b/gen/gmailpostmastertools1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Postmaster Tools* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Postmaster Tools* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Postmaster Tools* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/postmaster). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-gmailpostmastertools1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/gmailpostmastertools1_beta1-cli/Cargo.toml b/gen/gmailpostmastertools1_beta1-cli/Cargo.toml index 334c8f0fa2..c433a2094f 100644 --- a/gen/gmailpostmastertools1_beta1-cli/Cargo.toml +++ b/gen/gmailpostmastertools1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmailpostmastertools1_beta1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gmailpostmastertools1_beta1] path = "../gmailpostmastertools1_beta1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/gmailpostmastertools1_beta1-cli/README.md b/gen/gmailpostmastertools1_beta1-cli/README.md index b9c1e3ed56..939d1f61ef 100644 --- a/gen/gmailpostmastertools1_beta1-cli/README.md +++ b/gen/gmailpostmastertools1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Postmaster Tools* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Postmaster Tools* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash gmailpostmastertools1-beta1 [options] diff --git a/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml b/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml index dcb3fdf3a5..4501a33a8e 100644 --- a/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml +++ b/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Postmaster Tools v2.0.4+20210330 +site_name: Postmaster Tools v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-gmailpostmastertools1_beta1-cli site_description: A complete library to interact with Postmaster Tools (protocol v1beta1) diff --git a/gen/gmailpostmastertools1_beta1-cli/src/main.rs b/gen/gmailpostmastertools1_beta1-cli/src/main.rs index ab4afa0e85..44f31e7c1a 100644 --- a/gen/gmailpostmastertools1_beta1-cli/src/main.rs +++ b/gen/gmailpostmastertools1_beta1-cli/src/main.rs @@ -466,7 +466,7 @@ async fn main() { let mut app = App::new("gmailpostmastertools1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmailpostmastertools1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmailpostmastertools1_beta1/Cargo.toml b/gen/gmailpostmastertools1_beta1/Cargo.toml index ff4c16a11e..8ee7849221 100644 --- a/gen/gmailpostmastertools1_beta1/Cargo.toml +++ b/gen/gmailpostmastertools1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmailpostmastertools1_beta1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1_beta1" homepage = "https://developers.google.com/gmail/postmaster" -documentation = "https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330" +documentation = "https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330" license = "MIT" keywords = ["gmailpostmastertools", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/gmailpostmastertools1_beta1/README.md b/gen/gmailpostmastertools1_beta1/README.md index 562012c616..6349f75781 100644 --- a/gen/gmailpostmastertools1_beta1/README.md +++ b/gen/gmailpostmastertools1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gmailpostmastertools1_beta1` library allows access to all features of the *Google Postmaster Tools* service. -This documentation was generated from *Postmaster Tools* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Postmaster Tools* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Postmaster Tools* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/gmail/postmaster). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/PostmasterTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/PostmasterTools) ... -* [domains](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/api::Domain) - * [*get*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/api::DomainTrafficStatListCall) +* [domains](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/api::Domain) + * [*get*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/api::DomainTrafficStatListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/PostmasterTools)** +* **[Hub](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/PostmasterTools)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-gmailpostmastertools1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Delegate), 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-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder) 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-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::Part) 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-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::CallBuilder), 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-gmailpostmastertools1_beta1/2.0.4+20210330/google_gmailpostmastertools1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmailpostmastertools1_beta1/2.0.5+20210330/google_gmailpostmastertools1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmailpostmastertools1_beta1/src/api.rs b/gen/gmailpostmastertools1_beta1/src/api.rs index 51ef698c28..15bb7fc344 100644 --- a/gen/gmailpostmastertools1_beta1/src/api.rs +++ b/gen/gmailpostmastertools1_beta1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > PostmasterTools<> { PostmasterTools { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://gmailpostmastertools.googleapis.com/".to_string(), _root_url: "https://gmailpostmastertools.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > PostmasterTools<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gmailpostmastertools1_beta1/src/client.rs b/gen/gmailpostmastertools1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/gmailpostmastertools1_beta1/src/client.rs +++ b/gen/gmailpostmastertools1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/gmailpostmastertools1_beta1/src/lib.rs b/gen/gmailpostmastertools1_beta1/src/lib.rs index 0adcf96ae8..210fd4ec63 100644 --- a/gen/gmailpostmastertools1_beta1/src/lib.rs +++ b/gen/gmailpostmastertools1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Postmaster Tools* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Postmaster Tools* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Postmaster Tools* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/postmaster). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-gmailpostmastertools1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/groupsmigration1-cli/Cargo.toml b/gen/groupsmigration1-cli/Cargo.toml index 143bd931fd..a1dbe422f8 100644 --- a/gen/groupsmigration1-cli/Cargo.toml +++ b/gen/groupsmigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupsmigration1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupsmigration1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-groupsmigration1] path = "../groupsmigration1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/groupsmigration1-cli/README.md b/gen/groupsmigration1-cli/README.md index 34c015906f..69b676de39 100644 --- a/gen/groupsmigration1-cli/README.md +++ b/gen/groupsmigration1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Groups Migration* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *Groups Migration* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash groupsmigration1 [options] diff --git a/gen/groupsmigration1-cli/mkdocs.yml b/gen/groupsmigration1-cli/mkdocs.yml index c8986eced6..449890ffc3 100644 --- a/gen/groupsmigration1-cli/mkdocs.yml +++ b/gen/groupsmigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Groups Migration v2.0.4+20210318 +site_name: Groups Migration v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-groupsmigration1-cli site_description: A complete library to interact with Groups Migration (protocol v1) diff --git a/gen/groupsmigration1-cli/src/main.rs b/gen/groupsmigration1-cli/src/main.rs index 4df82bdd99..f705f45aa9 100644 --- a/gen/groupsmigration1-cli/src/main.rs +++ b/gen/groupsmigration1-cli/src/main.rs @@ -219,7 +219,7 @@ async fn main() { let mut app = App::new("groupsmigration1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("The Groups Migration API allows domain administrators to archive emails into Google groups.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_groupsmigration1_cli") .arg(Arg::with_name("url") diff --git a/gen/groupsmigration1/Cargo.toml b/gen/groupsmigration1/Cargo.toml index c697f98358..d423aa109f 100644 --- a/gen/groupsmigration1/Cargo.toml +++ b/gen/groupsmigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupsmigration1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupsmigration1" homepage = "https://developers.google.com/google-apps/groups-migration/" -documentation = "https://docs.rs/google-groupsmigration1/2.0.4+20210318" +documentation = "https://docs.rs/google-groupsmigration1/2.0.5+20210318" license = "MIT" keywords = ["groupsmigration", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/groupsmigration1/README.md b/gen/groupsmigration1/README.md index 0dcd9418df..ce853c7275 100644 --- a/gen/groupsmigration1/README.md +++ b/gen/groupsmigration1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-groupsmigration1` library allows access to all features of the *Google Groups Migration* service. -This documentation was generated from *Groups Migration* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Groups Migration* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Groups Migration* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/groups-migration/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/GroupsMigration) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/GroupsMigration) ... * archive - * [*insert*](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/api::ArchiveInsertCall) + * [*insert*](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/api::ArchiveInsertCall) Upload supported by ... -* [*insert archive*](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/api::ArchiveInsertCall) +* [*insert archive*](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/api::ArchiveInsertCall) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/GroupsMigration)** +* **[Hub](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/GroupsMigration)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::CallBuilder) +* **[Resources](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Part)** + * **[Parts](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-groupsmigration1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Delegate) to the +[Method Builder](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Delegate) 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 [encodable](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::RequestValue) and -[decodable](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::RequestValue) and +[decodable](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-groupsmigration1/2.0.4+20210318/google_groupsmigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-groupsmigration1/2.0.5+20210318/google_groupsmigration1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/groupsmigration1/src/api.rs b/gen/groupsmigration1/src/api.rs index fb6231da67..7dfa43ce61 100644 --- a/gen/groupsmigration1/src/api.rs +++ b/gen/groupsmigration1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > GroupsMigration<> { GroupsMigration { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://groupsmigration.googleapis.com/".to_string(), _root_url: "https://groupsmigration.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > GroupsMigration<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/groupsmigration1/src/client.rs b/gen/groupsmigration1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/groupsmigration1/src/client.rs +++ b/gen/groupsmigration1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/groupsmigration1/src/lib.rs b/gen/groupsmigration1/src/lib.rs index cc21cc7b72..6079873287 100644 --- a/gen/groupsmigration1/src/lib.rs +++ b/gen/groupsmigration1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Groups Migration* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Groups Migration* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Groups Migration* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-migration/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-groupsmigration1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/groupssettings1-cli/Cargo.toml b/gen/groupssettings1-cli/Cargo.toml index a1385e87fe..c25c3e4371 100644 --- a/gen/groupssettings1-cli/Cargo.toml +++ b/gen/groupssettings1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupssettings1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupssettings1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-groupssettings1] path = "../groupssettings1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/groupssettings1-cli/README.md b/gen/groupssettings1-cli/README.md index 3b3bded444..01f5284267 100644 --- a/gen/groupssettings1-cli/README.md +++ b/gen/groupssettings1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *groupssettings* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *groupssettings* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash groupssettings1 [options] diff --git a/gen/groupssettings1-cli/mkdocs.yml b/gen/groupssettings1-cli/mkdocs.yml index 5e41de0947..fde0df89a0 100644 --- a/gen/groupssettings1-cli/mkdocs.yml +++ b/gen/groupssettings1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: groupssettings v2.0.4+20210325 +site_name: groupssettings v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-groupssettings1-cli site_description: A complete library to interact with groupssettings (protocol v1) diff --git a/gen/groupssettings1-cli/src/main.rs b/gen/groupssettings1-cli/src/main.rs index fc074608d4..232864a493 100644 --- a/gen/groupssettings1-cli/src/main.rs +++ b/gen/groupssettings1-cli/src/main.rs @@ -558,7 +558,7 @@ async fn main() { let mut app = App::new("groupssettings1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Manages permission levels and related settings of a group.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_groupssettings1_cli") .arg(Arg::with_name("url") diff --git a/gen/groupssettings1/Cargo.toml b/gen/groupssettings1/Cargo.toml index 40f4bb9b2b..dafe0e2a94 100644 --- a/gen/groupssettings1/Cargo.toml +++ b/gen/groupssettings1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupssettings1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupssettings1" homepage = "https://developers.google.com/google-apps/groups-settings/get_started" -documentation = "https://docs.rs/google-groupssettings1/2.0.4+20210325" +documentation = "https://docs.rs/google-groupssettings1/2.0.5+20210325" license = "MIT" keywords = ["groupssettings", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/groupssettings1/README.md b/gen/groupssettings1/README.md index df5471f97e..3eb6c56fb7 100644 --- a/gen/groupssettings1/README.md +++ b/gen/groupssettings1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-groupssettings1` library allows access to all features of the *Google groupssettings* service. -This documentation was generated from *groupssettings* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *groupssettings* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *groupssettings* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/Groupssettings) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/Groupssettings) ... * groups - * [*get*](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/api::GroupGetCall), [*patch*](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/api::GroupPatchCall) and [*update*](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/api::GroupUpdateCall) + * [*get*](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/api::GroupGetCall), [*patch*](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/api::GroupPatchCall) and [*update*](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/api::GroupUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/Groupssettings)** +* **[Hub](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/Groupssettings)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::CallBuilder) -* **[Resources](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::CallBuilder) +* **[Resources](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Part)** + * **[Parts](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-groupssettings1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Delegate) to the -[Method Builder](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Delegate) to the +[Method Builder](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Delegate) 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 [encodable](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::RequestValue) and -[decodable](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::RequestValue) and +[decodable](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-groupssettings1/2.0.4+20210325/google_groupssettings1/client::RequestValue) are moved +* [request values](https://docs.rs/google-groupssettings1/2.0.5+20210325/google_groupssettings1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/groupssettings1/src/api.rs b/gen/groupssettings1/src/api.rs index 3f25e4d558..297403906e 100644 --- a/gen/groupssettings1/src/api.rs +++ b/gen/groupssettings1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Groupssettings<> { Groupssettings { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/groups/v1/groups/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Groupssettings<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/groupssettings1/src/client.rs b/gen/groupssettings1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/groupssettings1/src/client.rs +++ b/gen/groupssettings1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/groupssettings1/src/lib.rs b/gen/groupssettings1/src/lib.rs index 338c1667f1..43d53cc5b4 100644 --- a/gen/groupssettings1/src/lib.rs +++ b/gen/groupssettings1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *groupssettings* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *groupssettings* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *groupssettings* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-groupssettings1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/healthcare1-cli/Cargo.toml b/gen/healthcare1-cli/Cargo.toml index 357bfff206..67070ca304 100644 --- a/gen/healthcare1-cli/Cargo.toml +++ b/gen/healthcare1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-healthcare1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-healthcare1] path = "../healthcare1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/healthcare1-cli/README.md b/gen/healthcare1-cli/README.md index 9878ae648a..ce47fd152f 100644 --- a/gen/healthcare1-cli/README.md +++ b/gen/healthcare1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Healthcare* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Healthcare* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash healthcare1 [options] diff --git a/gen/healthcare1-cli/mkdocs.yml b/gen/healthcare1-cli/mkdocs.yml index 178639a85f..14c976b489 100644 --- a/gen/healthcare1-cli/mkdocs.yml +++ b/gen/healthcare1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Healthcare v2.0.4+20210317 +site_name: Cloud Healthcare v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-healthcare1-cli site_description: A complete library to interact with Cloud Healthcare (protocol v1) diff --git a/gen/healthcare1-cli/src/main.rs b/gen/healthcare1-cli/src/main.rs index b526b398a4..f7f15d1dc4 100644 --- a/gen/healthcare1-cli/src/main.rs +++ b/gen/healthcare1-cli/src/main.rs @@ -11908,7 +11908,7 @@ async fn main() { let mut app = App::new("healthcare1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Manage, store, and access healthcare data in Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_healthcare1_cli") .arg(Arg::with_name("url") diff --git a/gen/healthcare1/Cargo.toml b/gen/healthcare1/Cargo.toml index 4199f7deca..46afd7f2b0 100644 --- a/gen/healthcare1/Cargo.toml +++ b/gen/healthcare1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-healthcare1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1" homepage = "https://cloud.google.com/healthcare" -documentation = "https://docs.rs/google-healthcare1/2.0.4+20210317" +documentation = "https://docs.rs/google-healthcare1/2.0.5+20210317" license = "MIT" keywords = ["healthcare", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/healthcare1/README.md b/gen/healthcare1/README.md index 60d8c5d15c..b788453110 100644 --- a/gen/healthcare1/README.md +++ b/gen/healthcare1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-healthcare1` library allows access to all features of the *Google Cloud Healthcare* service. -This documentation was generated from *Cloud Healthcare* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Healthcare* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Healthcare* *v1* API can be found at the [official documentation site](https://cloud.google.com/healthcare). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/CloudHealthcare) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/CloudHealthcare) ... * projects - * [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/api::ProjectLocationListCall) + * [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/CloudHealthcare)** +* **[Hub](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/CloudHealthcare)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::CallBuilder) -* **[Resources](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::CallBuilder) +* **[Resources](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Part)** + * **[Parts](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,9 +92,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-healthcare1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -160,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Delegate), 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-healthcare1/2.0.4+20210317/google_healthcare1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::ResponseResult), 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")`. @@ -180,29 +177,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Delegate) to the -[Method Builder](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Delegate) to the +[Method Builder](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::CallBuilder) 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-healthcare1/2.0.4+20210317/google_healthcare1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Delegate) 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 [encodable](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::RequestValue) and -[decodable](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::RequestValue) and +[decodable](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-healthcare1/2.0.4+20210317/google_healthcare1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::Part) 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-healthcare1/2.0.4+20210317/google_healthcare1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::CallBuilder), 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-healthcare1/2.0.4+20210317/google_healthcare1/client::RequestValue) are moved +* [request values](https://docs.rs/google-healthcare1/2.0.5+20210317/google_healthcare1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/healthcare1/src/api.rs b/gen/healthcare1/src/api.rs index 5c0af07450..bd8ad8eb2d 100644 --- a/gen/healthcare1/src/api.rs +++ b/gen/healthcare1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudHealthcare<> { CloudHealthcare { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://healthcare.googleapis.com/".to_string(), _root_url: "https://healthcare.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudHealthcare<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/healthcare1/src/client.rs b/gen/healthcare1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/healthcare1/src/client.rs +++ b/gen/healthcare1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/healthcare1/src/lib.rs b/gen/healthcare1/src/lib.rs index bfe03782b3..3056e242fe 100644 --- a/gen/healthcare1/src/lib.rs +++ b/gen/healthcare1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Healthcare* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Healthcare* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Healthcare* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). @@ -92,9 +92,6 @@ //! ```toml //! [dependencies] //! google-healthcare1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/healthcare1_beta1-cli/Cargo.toml b/gen/healthcare1_beta1-cli/Cargo.toml index 23783de03e..1a6dab0ef2 100644 --- a/gen/healthcare1_beta1-cli/Cargo.toml +++ b/gen/healthcare1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-healthcare1_beta1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-healthcare1_beta1] path = "../healthcare1_beta1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/healthcare1_beta1-cli/README.md b/gen/healthcare1_beta1-cli/README.md index bd96cfd931..647a1cba47 100644 --- a/gen/healthcare1_beta1-cli/README.md +++ b/gen/healthcare1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Healthcare* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Healthcare* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash healthcare1-beta1 [options] diff --git a/gen/healthcare1_beta1-cli/mkdocs.yml b/gen/healthcare1_beta1-cli/mkdocs.yml index d5f359b712..77f3c8724d 100644 --- a/gen/healthcare1_beta1-cli/mkdocs.yml +++ b/gen/healthcare1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Healthcare v2.0.4+20210317 +site_name: Cloud Healthcare v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-healthcare1_beta1-cli site_description: A complete library to interact with Cloud Healthcare (protocol v1beta1) diff --git a/gen/healthcare1_beta1-cli/src/main.rs b/gen/healthcare1_beta1-cli/src/main.rs index 8924246113..e9125e77bf 100644 --- a/gen/healthcare1_beta1-cli/src/main.rs +++ b/gen/healthcare1_beta1-cli/src/main.rs @@ -14729,7 +14729,7 @@ async fn main() { let mut app = App::new("healthcare1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("Manage, store, and access healthcare data in Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_healthcare1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/healthcare1_beta1/Cargo.toml b/gen/healthcare1_beta1/Cargo.toml index 7ed76d2bcd..ee20794995 100644 --- a/gen/healthcare1_beta1/Cargo.toml +++ b/gen/healthcare1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-healthcare1_beta1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1_beta1" homepage = "https://cloud.google.com/healthcare" -documentation = "https://docs.rs/google-healthcare1_beta1/2.0.4+20210317" +documentation = "https://docs.rs/google-healthcare1_beta1/2.0.5+20210317" license = "MIT" keywords = ["healthcare", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/healthcare1_beta1/README.md b/gen/healthcare1_beta1/README.md index 45aa86357f..0adb624a09 100644 --- a/gen/healthcare1_beta1/README.md +++ b/gen/healthcare1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-healthcare1_beta1` library allows access to all features of the *Google Cloud Healthcare* service. -This documentation was generated from *Cloud Healthcare* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Healthcare* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Healthcare* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/healthcare). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/CloudHealthcare) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/CloudHealthcare) ... * projects - * [*locations datasets annotation stores annotations create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationCreateCall), [*locations datasets annotation stores annotations delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationDeleteCall), [*locations datasets annotation stores annotations get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationGetCall), [*locations datasets annotation stores annotations list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationListCall), [*locations datasets annotation stores annotations patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationPatchCall), [*locations datasets annotation stores create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreCreateCall), [*locations datasets annotation stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreDeleteCall), [*locations datasets annotation stores evaluate*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreEvaluateCall), [*locations datasets annotation stores export*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreExportCall), [*locations datasets annotation stores get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetCall), [*locations datasets annotation stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetIamPolicyCall), [*locations datasets annotation stores import*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreImportCall), [*locations datasets annotation stores list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreListCall), [*locations datasets annotation stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStorePatchCall), [*locations datasets annotation stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreSetIamPolicyCall), [*locations datasets annotation stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreTestIamPermissionCall), [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir concept map-search-translate*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapSearchTranslateCall), [*locations datasets fhir stores fhir concept map-translate*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapTranslateCall), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirObservationLastnCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalPatchCall), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages batch get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageBatchGetCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/api::ProjectLocationServiceNlpAnalyzeEntityCall) + * [*locations datasets annotation stores annotations create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationCreateCall), [*locations datasets annotation stores annotations delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationDeleteCall), [*locations datasets annotation stores annotations get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationGetCall), [*locations datasets annotation stores annotations list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationListCall), [*locations datasets annotation stores annotations patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationPatchCall), [*locations datasets annotation stores create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreCreateCall), [*locations datasets annotation stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreDeleteCall), [*locations datasets annotation stores evaluate*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreEvaluateCall), [*locations datasets annotation stores export*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreExportCall), [*locations datasets annotation stores get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetCall), [*locations datasets annotation stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetIamPolicyCall), [*locations datasets annotation stores import*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreImportCall), [*locations datasets annotation stores list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreListCall), [*locations datasets annotation stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStorePatchCall), [*locations datasets annotation stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreSetIamPolicyCall), [*locations datasets annotation stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreTestIamPermissionCall), [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir concept map-search-translate*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapSearchTranslateCall), [*locations datasets fhir stores fhir concept map-translate*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapTranslateCall), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirObservationLastnCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalPatchCall), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages batch get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageBatchGetCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/api::ProjectLocationServiceNlpAnalyzeEntityCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/CloudHealthcare)** +* **[Hub](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/CloudHealthcare)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,9 +98,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-healthcare1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -166,17 +163,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Delegate), 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-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::ResponseResult), 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")`. @@ -186,29 +183,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::CallBuilder) 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-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::Part) 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-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::CallBuilder), 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-healthcare1_beta1/2.0.4+20210317/google_healthcare1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-healthcare1_beta1/2.0.5+20210317/google_healthcare1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/healthcare1_beta1/src/api.rs b/gen/healthcare1_beta1/src/api.rs index d28af74f11..c0c3ae4fdd 100644 --- a/gen/healthcare1_beta1/src/api.rs +++ b/gen/healthcare1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudHealthcare<> { CloudHealthcare { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://healthcare.googleapis.com/".to_string(), _root_url: "https://healthcare.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudHealthcare<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/healthcare1_beta1/src/client.rs b/gen/healthcare1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/healthcare1_beta1/src/client.rs +++ b/gen/healthcare1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/healthcare1_beta1/src/lib.rs b/gen/healthcare1_beta1/src/lib.rs index 914c09f4c9..2f92a0e85f 100644 --- a/gen/healthcare1_beta1/src/lib.rs +++ b/gen/healthcare1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Healthcare* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Healthcare* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Healthcare* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). @@ -98,9 +98,6 @@ //! ```toml //! [dependencies] //! google-healthcare1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/iam1-cli/Cargo.toml b/gen/iam1-cli/Cargo.toml index 69efd0a5a9..e6aa0ad5fc 100644 --- a/gen/iam1-cli/Cargo.toml +++ b/gen/iam1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iam1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iam1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iam1] path = "../iam1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/iam1-cli/README.md b/gen/iam1-cli/README.md index 9508747882..9889b8ab84 100644 --- a/gen/iam1-cli/README.md +++ b/gen/iam1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Iam* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Iam* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash iam1 [options] diff --git a/gen/iam1-cli/mkdocs.yml b/gen/iam1-cli/mkdocs.yml index 3aad9d8df3..ac08c98513 100644 --- a/gen/iam1-cli/mkdocs.yml +++ b/gen/iam1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Iam v2.0.4+20210325 +site_name: Iam v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-iam1-cli site_description: A complete library to interact with Iam (protocol v1) diff --git a/gen/iam1-cli/src/main.rs b/gen/iam1-cli/src/main.rs index e5848f546b..64ac80ee5d 100644 --- a/gen/iam1-cli/src/main.rs +++ b/gen/iam1-cli/src/main.rs @@ -5363,7 +5363,7 @@ async fn main() { let mut app = App::new("iam1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iam1_cli") .arg(Arg::with_name("url") diff --git a/gen/iam1/Cargo.toml b/gen/iam1/Cargo.toml index 3bdb65a409..ffe90a5577 100644 --- a/gen/iam1/Cargo.toml +++ b/gen/iam1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iam1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iam1" homepage = "https://cloud.google.com/iam/" -documentation = "https://docs.rs/google-iam1/2.0.4+20210325" +documentation = "https://docs.rs/google-iam1/2.0.5+20210325" license = "MIT" keywords = ["iam", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iam1/README.md b/gen/iam1/README.md index 45f3876727..ae3aa15ee5 100644 --- a/gen/iam1/README.md +++ b/gen/iam1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-iam1` library allows access to all features of the *Google Iam* service. -This documentation was generated from *Iam* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Iam* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Iam* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/Iam) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/Iam) ... * iam policies - * [*lint policy*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::IamPolicyLintPolicyCall) and [*query auditable services*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::IamPolicyQueryAuditableServiceCall) + * [*lint policy*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::IamPolicyLintPolicyCall) and [*query auditable services*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::IamPolicyQueryAuditableServiceCall) * organizations - * [*roles create*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::OrganizationRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::OrganizationRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::OrganizationRoleGetCall), [*roles list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::OrganizationRoleListCall), [*roles patch*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::OrganizationRolePatchCall) and [*roles undelete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::OrganizationRoleUndeleteCall) -* [permissions](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::Permission) - * [*query testable permissions*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::PermissionQueryTestablePermissionCall) + * [*roles create*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::OrganizationRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::OrganizationRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::OrganizationRoleGetCall), [*roles list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::OrganizationRoleListCall), [*roles patch*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::OrganizationRolePatchCall) and [*roles undelete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::OrganizationRoleUndeleteCall) +* [permissions](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::Permission) + * [*query testable permissions*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::PermissionQueryTestablePermissionCall) * projects - * [*locations workload identity pools create*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolCreateCall), [*locations workload identity pools delete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolDeleteCall), [*locations workload identity pools get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolGetCall), [*locations workload identity pools list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolListCall), [*locations workload identity pools operations get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolOperationGetCall), [*locations workload identity pools patch*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolPatchCall), [*locations workload identity pools providers create*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderCreateCall), [*locations workload identity pools providers delete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderDeleteCall), [*locations workload identity pools providers get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderGetCall), [*locations workload identity pools providers list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderListCall), [*locations workload identity pools providers operations get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderOperationGetCall), [*locations workload identity pools providers patch*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderPatchCall), [*locations workload identity pools providers undelete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderUndeleteCall), [*locations workload identity pools undelete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolUndeleteCall), [*roles create*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectRoleGetCall), [*roles list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectRoleListCall), [*roles patch*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectRolePatchCall), [*roles undelete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectRoleUndeleteCall), [*service accounts create*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountCreateCall), [*service accounts delete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountDeleteCall), [*service accounts disable*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountDisableCall), [*service accounts enable*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountEnableCall), [*service accounts get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountGetCall), [*service accounts get iam policy*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountGetIamPolicyCall), [*service accounts keys create*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountKeyCreateCall), [*service accounts keys delete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountKeyDeleteCall), [*service accounts keys get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountKeyGetCall), [*service accounts keys list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountKeyListCall), [*service accounts keys upload*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountKeyUploadCall), [*service accounts list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountListCall), [*service accounts patch*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountPatchCall), [*service accounts set iam policy*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountSetIamPolicyCall), [*service accounts sign blob*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountSignBlobCall), [*service accounts sign jwt*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountSignJwtCall), [*service accounts test iam permissions*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountTestIamPermissionCall), [*service accounts undelete*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountUndeleteCall) and [*service accounts update*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::ProjectServiceAccountUpdateCall) -* [roles](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::Role) - * [*get*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::RoleGetCall), [*list*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::RoleListCall) and [*query grantable roles*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/api::RoleQueryGrantableRoleCall) + * [*locations workload identity pools create*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolCreateCall), [*locations workload identity pools delete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolDeleteCall), [*locations workload identity pools get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolGetCall), [*locations workload identity pools list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolListCall), [*locations workload identity pools operations get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolOperationGetCall), [*locations workload identity pools patch*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolPatchCall), [*locations workload identity pools providers create*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderCreateCall), [*locations workload identity pools providers delete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderDeleteCall), [*locations workload identity pools providers get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderGetCall), [*locations workload identity pools providers list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderListCall), [*locations workload identity pools providers operations get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderOperationGetCall), [*locations workload identity pools providers patch*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderPatchCall), [*locations workload identity pools providers undelete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderUndeleteCall), [*locations workload identity pools undelete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectLocationWorkloadIdentityPoolUndeleteCall), [*roles create*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectRoleGetCall), [*roles list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectRoleListCall), [*roles patch*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectRolePatchCall), [*roles undelete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectRoleUndeleteCall), [*service accounts create*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountCreateCall), [*service accounts delete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountDeleteCall), [*service accounts disable*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountDisableCall), [*service accounts enable*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountEnableCall), [*service accounts get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountGetCall), [*service accounts get iam policy*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountGetIamPolicyCall), [*service accounts keys create*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountKeyCreateCall), [*service accounts keys delete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountKeyDeleteCall), [*service accounts keys get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountKeyGetCall), [*service accounts keys list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountKeyListCall), [*service accounts keys upload*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountKeyUploadCall), [*service accounts list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountListCall), [*service accounts patch*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountPatchCall), [*service accounts set iam policy*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountSetIamPolicyCall), [*service accounts sign blob*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountSignBlobCall), [*service accounts sign jwt*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountSignJwtCall), [*service accounts test iam permissions*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountTestIamPermissionCall), [*service accounts undelete*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountUndeleteCall) and [*service accounts update*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::ProjectServiceAccountUpdateCall) +* [roles](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::Role) + * [*get*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::RoleGetCall), [*list*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::RoleListCall) and [*query grantable roles*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/api::RoleQueryGrantableRoleCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/Iam)** +* **[Hub](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/Iam)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Part)** + * **[Parts](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -84,9 +84,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-iam1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -151,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::ResponseResult), 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")`. @@ -171,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Delegate) 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 [encodable](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::RequestValue) and -[decodable](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::RequestValue) and +[decodable](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-iam1/2.0.4+20210325/google_iam1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iam1/2.0.5+20210325/google_iam1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iam1/src/api.rs b/gen/iam1/src/api.rs index 4f20a4987f..46f5de917f 100644 --- a/gen/iam1/src/api.rs +++ b/gen/iam1/src/api.rs @@ -119,7 +119,7 @@ impl<'a, > Iam<> { Iam { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://iam.googleapis.com/".to_string(), _root_url: "https://iam.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > Iam<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iam1/src/client.rs b/gen/iam1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/iam1/src/client.rs +++ b/gen/iam1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/iam1/src/lib.rs b/gen/iam1/src/lib.rs index 1581389949..b53264c7b7 100644 --- a/gen/iam1/src/lib.rs +++ b/gen/iam1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Iam* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Iam* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Iam* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). @@ -84,9 +84,6 @@ //! ```toml //! [dependencies] //! google-iam1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/iamcredentials1-cli/Cargo.toml b/gen/iamcredentials1-cli/Cargo.toml index c13c4a4768..d0d8f4a860 100644 --- a/gen/iamcredentials1-cli/Cargo.toml +++ b/gen/iamcredentials1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iamcredentials1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with IAM Credentials (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iamcredentials1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iamcredentials1] path = "../iamcredentials1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/iamcredentials1-cli/README.md b/gen/iamcredentials1-cli/README.md index 339653050b..d34ad9b053 100644 --- a/gen/iamcredentials1-cli/README.md +++ b/gen/iamcredentials1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *IAM Credentials* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *IAM Credentials* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash iamcredentials1 [options] diff --git a/gen/iamcredentials1-cli/mkdocs.yml b/gen/iamcredentials1-cli/mkdocs.yml index 272db69713..b2f3042fdb 100644 --- a/gen/iamcredentials1-cli/mkdocs.yml +++ b/gen/iamcredentials1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: IAM Credentials v2.0.4+20210326 +site_name: IAM Credentials v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-iamcredentials1-cli site_description: A complete library to interact with IAM Credentials (protocol v1) diff --git a/gen/iamcredentials1-cli/src/main.rs b/gen/iamcredentials1-cli/src/main.rs index b9cc07f48d..6aff4ec3a4 100644 --- a/gen/iamcredentials1-cli/src/main.rs +++ b/gen/iamcredentials1-cli/src/main.rs @@ -602,7 +602,7 @@ async fn main() { let mut app = App::new("iamcredentials1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Creates short-lived credentials for impersonating IAM service accounts. To enable this API, you must enable the IAM API (iam.googleapis.com). ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iamcredentials1_cli") .arg(Arg::with_name("url") diff --git a/gen/iamcredentials1/Cargo.toml b/gen/iamcredentials1/Cargo.toml index 7d80ea9e3b..373980f4df 100644 --- a/gen/iamcredentials1/Cargo.toml +++ b/gen/iamcredentials1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iamcredentials1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with IAM Credentials (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iamcredentials1" homepage = "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials" -documentation = "https://docs.rs/google-iamcredentials1/2.0.4+20210326" +documentation = "https://docs.rs/google-iamcredentials1/2.0.5+20210326" license = "MIT" keywords = ["iamcredentials", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iamcredentials1/README.md b/gen/iamcredentials1/README.md index 9e5f550ad6..f45cf30e74 100644 --- a/gen/iamcredentials1/README.md +++ b/gen/iamcredentials1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-iamcredentials1` library allows access to all features of the *Google IAM Credentials* service. -This documentation was generated from *IAM Credentials* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *IAM Credentials* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *IAM Credentials* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/IAMCredentials) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/IAMCredentials) ... * projects - * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/api::ProjectServiceAccountGenerateAccessTokenCall), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/api::ProjectServiceAccountGenerateIdTokenCall), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/api::ProjectServiceAccountSignBlobCall) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/api::ProjectServiceAccountSignJwtCall) + * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/api::ProjectServiceAccountGenerateAccessTokenCall), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/api::ProjectServiceAccountGenerateIdTokenCall), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/api::ProjectServiceAccountSignBlobCall) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/api::ProjectServiceAccountSignJwtCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/IAMCredentials)** +* **[Hub](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/IAMCredentials)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Part)** + * **[Parts](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-iamcredentials1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Delegate), 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-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::CallBuilder) 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-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Delegate) 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 [encodable](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::RequestValue) and -[decodable](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::RequestValue) and +[decodable](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::Part) 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-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::CallBuilder), 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-iamcredentials1/2.0.4+20210326/google_iamcredentials1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iamcredentials1/2.0.5+20210326/google_iamcredentials1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iamcredentials1/src/api.rs b/gen/iamcredentials1/src/api.rs index e44a3cb520..7e41f8874a 100644 --- a/gen/iamcredentials1/src/api.rs +++ b/gen/iamcredentials1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > IAMCredentials<> { IAMCredentials { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://iamcredentials.googleapis.com/".to_string(), _root_url: "https://iamcredentials.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > IAMCredentials<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iamcredentials1/src/client.rs b/gen/iamcredentials1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/iamcredentials1/src/client.rs +++ b/gen/iamcredentials1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/iamcredentials1/src/lib.rs b/gen/iamcredentials1/src/lib.rs index 41fd7482c8..cae56fcd2d 100644 --- a/gen/iamcredentials1/src/lib.rs +++ b/gen/iamcredentials1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *IAM Credentials* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *IAM Credentials* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *IAM Credentials* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-iamcredentials1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/iap1-cli/Cargo.toml b/gen/iap1-cli/Cargo.toml index 71ec6603c8..c5f88b137a 100644 --- a/gen/iap1-cli/Cargo.toml +++ b/gen/iap1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iap1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iap1] path = "../iap1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/iap1-cli/README.md b/gen/iap1-cli/README.md index 5ed8e5b156..1ece223b25 100644 --- a/gen/iap1-cli/README.md +++ b/gen/iap1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud IAP* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud IAP* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash iap1 [options] diff --git a/gen/iap1-cli/mkdocs.yml b/gen/iap1-cli/mkdocs.yml index d0277752e4..d05290bb51 100644 --- a/gen/iap1-cli/mkdocs.yml +++ b/gen/iap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v2.0.4+20210326 +site_name: Cloud IAP v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-iap1-cli site_description: A complete library to interact with Cloud IAP (protocol v1) diff --git a/gen/iap1-cli/src/main.rs b/gen/iap1-cli/src/main.rs index 73ea462d12..20b511ff27 100644 --- a/gen/iap1-cli/src/main.rs +++ b/gen/iap1-cli/src/main.rs @@ -1449,7 +1449,7 @@ async fn main() { let mut app = App::new("iap1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Controls access to cloud applications running on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iap1_cli") .arg(Arg::with_name("url") diff --git a/gen/iap1/Cargo.toml b/gen/iap1/Cargo.toml index 283d321048..379320d808 100644 --- a/gen/iap1/Cargo.toml +++ b/gen/iap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1" homepage = "https://cloud.google.com/iap" -documentation = "https://docs.rs/google-iap1/2.0.4+20210326" +documentation = "https://docs.rs/google-iap1/2.0.5+20210326" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iap1/README.md b/gen/iap1/README.md index d2e765058e..5af23e7477 100644 --- a/gen/iap1/README.md +++ b/gen/iap1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-iap1` library allows access to all features of the *Google Cloud IAP* service. -This documentation was generated from *Cloud IAP* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud IAP* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud IAP* *v1* API can be found at the [official documentation site](https://cloud.google.com/iap). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/CloudIAP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/CloudIAP) ... * projects - * [*brands create*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandCreateCall), [*brands get*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandGetCall), [*brands identity aware proxy clients create*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientCreateCall), [*brands identity aware proxy clients delete*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientDeleteCall), [*brands identity aware proxy clients get*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientGetCall), [*brands identity aware proxy clients list*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientListCall), [*brands identity aware proxy clients reset secret*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientResetSecretCall) and [*brands list*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::ProjectBrandListCall) + * [*brands create*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandCreateCall), [*brands get*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandGetCall), [*brands identity aware proxy clients create*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientCreateCall), [*brands identity aware proxy clients delete*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientDeleteCall), [*brands identity aware proxy clients get*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientGetCall), [*brands identity aware proxy clients list*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientListCall), [*brands identity aware proxy clients reset secret*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandIdentityAwareProxyClientResetSecretCall) and [*brands list*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::ProjectBrandListCall) Other activities are ... -* [get iam policy](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::MethodGetIamPolicyCall) -* [get iap settings](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::MethodGetIapSettingCall) -* [set iam policy](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::MethodTestIamPermissionCall) -* [update iap settings](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/api::MethodUpdateIapSettingCall) +* [get iam policy](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::MethodGetIamPolicyCall) +* [get iap settings](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::MethodGetIapSettingCall) +* [set iam policy](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::MethodSetIamPolicyCall) +* [test iam permissions](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::MethodTestIamPermissionCall) +* [update iap settings](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/api::MethodUpdateIapSettingCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/CloudIAP)** +* **[Hub](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/CloudIAP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Part)** + * **[Parts](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-iap1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Delegate), 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-iap1/2.0.4+20210326/google_iap1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::CallBuilder) 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-iap1/2.0.4+20210326/google_iap1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Delegate) 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 [encodable](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::RequestValue) and -[decodable](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::RequestValue) and +[decodable](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iap1/2.0.4+20210326/google_iap1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::Part) 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-iap1/2.0.4+20210326/google_iap1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::CallBuilder), 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-iap1/2.0.4+20210326/google_iap1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iap1/2.0.5+20210326/google_iap1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iap1/src/api.rs b/gen/iap1/src/api.rs index 7f5922fdff..8a8e0d830d 100644 --- a/gen/iap1/src/api.rs +++ b/gen/iap1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudIAP<> { CloudIAP { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://iap.googleapis.com/".to_string(), _root_url: "https://iap.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudIAP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iap1/src/client.rs b/gen/iap1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/iap1/src/client.rs +++ b/gen/iap1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/iap1/src/lib.rs b/gen/iap1/src/lib.rs index dca7ec7442..510d1f9d93 100644 --- a/gen/iap1/src/lib.rs +++ b/gen/iap1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud IAP* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud IAP* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud IAP* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-iap1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/iap1_beta1-cli/Cargo.toml b/gen/iap1_beta1-cli/Cargo.toml index 12f40c3730..8a51e977e0 100644 --- a/gen/iap1_beta1-cli/Cargo.toml +++ b/gen/iap1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iap1_beta1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iap1_beta1] path = "../iap1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/iap1_beta1-cli/README.md b/gen/iap1_beta1-cli/README.md index 996c55d6f2..5c356595eb 100644 --- a/gen/iap1_beta1-cli/README.md +++ b/gen/iap1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud IAP* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud IAP* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash iap1-beta1 [options] diff --git a/gen/iap1_beta1-cli/mkdocs.yml b/gen/iap1_beta1-cli/mkdocs.yml index 18746fd4f9..bb47708288 100644 --- a/gen/iap1_beta1-cli/mkdocs.yml +++ b/gen/iap1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v2.0.4+20210326 +site_name: Cloud IAP v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-iap1_beta1-cli site_description: A complete library to interact with Cloud IAP (protocol v1beta1) diff --git a/gen/iap1_beta1-cli/src/main.rs b/gen/iap1_beta1-cli/src/main.rs index 5f93a5ccff..82eaec373e 100644 --- a/gen/iap1_beta1-cli/src/main.rs +++ b/gen/iap1_beta1-cli/src/main.rs @@ -481,7 +481,7 @@ async fn main() { let mut app = App::new("iap1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Controls access to cloud applications running on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iap1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/iap1_beta1/Cargo.toml b/gen/iap1_beta1/Cargo.toml index 4241e002b4..63a742eade 100644 --- a/gen/iap1_beta1/Cargo.toml +++ b/gen/iap1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1_beta1" homepage = "https://cloud.google.com/iap" -documentation = "https://docs.rs/google-iap1_beta1/2.0.4+20210326" +documentation = "https://docs.rs/google-iap1_beta1/2.0.5+20210326" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/iap1_beta1/README.md b/gen/iap1_beta1/README.md index 9ab275fe70..f5accfa344 100644 --- a/gen/iap1_beta1/README.md +++ b/gen/iap1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-iap1_beta1` library allows access to all features of the *Google Cloud IAP* service. -This documentation was generated from *Cloud IAP* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud IAP* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud IAP* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/iap). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/CloudIAP) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/CloudIAP) ... -* [get iam policy](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/api::MethodGetIamPolicyCall) -* [set iam policy](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/api::MethodTestIamPermissionCall) +* [get iam policy](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/api::MethodGetIamPolicyCall) +* [set iam policy](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/api::MethodSetIamPolicyCall) +* [test iam permissions](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/api::MethodTestIamPermissionCall) @@ -24,17 +24,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/CloudIAP)** +* **[Hub](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/CloudIAP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-iap1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Delegate), 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-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::CallBuilder) 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-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::Part) 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-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::CallBuilder), 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-iap1_beta1/2.0.4+20210326/google_iap1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iap1_beta1/2.0.5+20210326/google_iap1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iap1_beta1/src/api.rs b/gen/iap1_beta1/src/api.rs index 62a87a9247..c379aa3e01 100644 --- a/gen/iap1_beta1/src/api.rs +++ b/gen/iap1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudIAP<> { CloudIAP { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://iap.googleapis.com/".to_string(), _root_url: "https://iap.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudIAP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iap1_beta1/src/client.rs b/gen/iap1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/iap1_beta1/src/client.rs +++ b/gen/iap1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/iap1_beta1/src/lib.rs b/gen/iap1_beta1/src/lib.rs index bf0f541ea2..e4af408d09 100644 --- a/gen/iap1_beta1/src/lib.rs +++ b/gen/iap1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud IAP* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud IAP* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud IAP* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-iap1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/identitytoolkit3-cli/Cargo.toml b/gen/identitytoolkit3-cli/Cargo.toml index 79e7b9f588..dbf2835ecd 100644 --- a/gen/identitytoolkit3-cli/Cargo.toml +++ b/gen/identitytoolkit3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-identitytoolkit3-cli" -version = "2.0.4+20180723" +version = "2.0.5+20180723" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/identitytoolkit3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-identitytoolkit3] path = "../identitytoolkit3" -version = "2.0.4+20180723" +version = "2.0.5+20180723" diff --git a/gen/identitytoolkit3-cli/README.md b/gen/identitytoolkit3-cli/README.md index 7a2397fa31..430429eab9 100644 --- a/gen/identitytoolkit3-cli/README.md +++ b/gen/identitytoolkit3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Identity Toolkit* API at revision *20180723*. The CLI is at version *2.0.4*. +This documentation was generated from the *Identity Toolkit* API at revision *20180723*. The CLI is at version *2.0.5*. ```bash identitytoolkit3 [options] diff --git a/gen/identitytoolkit3-cli/mkdocs.yml b/gen/identitytoolkit3-cli/mkdocs.yml index c9c9447b91..483beb042c 100644 --- a/gen/identitytoolkit3-cli/mkdocs.yml +++ b/gen/identitytoolkit3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Identity Toolkit v2.0.4+20180723 +site_name: Identity Toolkit v2.0.5+20180723 site_url: http://byron.github.io/google-apis-rs/google-identitytoolkit3-cli site_description: A complete library to interact with Identity Toolkit (protocol v3) diff --git a/gen/identitytoolkit3-cli/src/main.rs b/gen/identitytoolkit3-cli/src/main.rs index a0d59c140e..dc5dc15887 100644 --- a/gen/identitytoolkit3-cli/src/main.rs +++ b/gen/identitytoolkit3-cli/src/main.rs @@ -2373,7 +2373,7 @@ async fn main() { let mut app = App::new("identitytoolkit3") .author("Sebastian Thiel ") - .version("2.0.4+20180723") + .version("2.0.5+20180723") .about("Help the third party sites to implement federated login.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_identitytoolkit3_cli") .arg(Arg::with_name("url") diff --git a/gen/identitytoolkit3/Cargo.toml b/gen/identitytoolkit3/Cargo.toml index b4b5aaa64d..4013e107c0 100644 --- a/gen/identitytoolkit3/Cargo.toml +++ b/gen/identitytoolkit3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-identitytoolkit3" -version = "2.0.4+20180723" +version = "2.0.5+20180723" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/identitytoolkit3" homepage = "https://developers.google.com/identity-toolkit/v3/" -documentation = "https://docs.rs/google-identitytoolkit3/2.0.4+20180723" +documentation = "https://docs.rs/google-identitytoolkit3/2.0.5+20180723" license = "MIT" keywords = ["identitytoolkit", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/identitytoolkit3/README.md b/gen/identitytoolkit3/README.md index faa4218357..413ee546e4 100644 --- a/gen/identitytoolkit3/README.md +++ b/gen/identitytoolkit3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-identitytoolkit3` library allows access to all features of the *Google Identity Toolkit* service. -This documentation was generated from *Identity Toolkit* crate version *2.0.4+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Identity Toolkit* crate version *2.0.5+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Identity Toolkit* *v3* API can be found at the [official documentation site](https://developers.google.com/identity-toolkit/v3/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/IdentityToolkit) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/IdentityToolkit) ... -* [relyingparty](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::Relyingparty) - * [*create auth uri*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyCreateAuthUriCall), [*delete account*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyDeleteAccountCall), [*download account*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyDownloadAccountCall), [*email link signin*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyEmailLinkSigninCall), [*get account info*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyGetAccountInfoCall), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyGetOobConfirmationCodeCall), [*get project config*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyGetProjectConfigCall), [*get public keys*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyGetPublicKeyCall), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyGetRecaptchaParamCall), [*reset password*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyResetPasswordCall), [*send verification code*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartySendVerificationCodeCall), [*set account info*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartySetAccountInfoCall), [*set project config*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartySetProjectConfigCall), [*sign out user*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartySignOutUserCall), [*signup new user*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartySignupNewUserCall), [*upload account*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyUploadAccountCall), [*verify assertion*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyVerifyAssertionCall), [*verify custom token*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyVerifyCustomTokenCall), [*verify password*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPasswordCall) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPhoneNumberCall) +* [relyingparty](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::Relyingparty) + * [*create auth uri*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyCreateAuthUriCall), [*delete account*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyDeleteAccountCall), [*download account*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyDownloadAccountCall), [*email link signin*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyEmailLinkSigninCall), [*get account info*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyGetAccountInfoCall), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyGetOobConfirmationCodeCall), [*get project config*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyGetProjectConfigCall), [*get public keys*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyGetPublicKeyCall), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyGetRecaptchaParamCall), [*reset password*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyResetPasswordCall), [*send verification code*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartySendVerificationCodeCall), [*set account info*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartySetAccountInfoCall), [*set project config*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartySetProjectConfigCall), [*sign out user*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartySignOutUserCall), [*signup new user*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartySignupNewUserCall), [*upload account*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyUploadAccountCall), [*verify assertion*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyVerifyAssertionCall), [*verify custom token*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyVerifyCustomTokenCall), [*verify password*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPasswordCall) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPhoneNumberCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/IdentityToolkit)** +* **[Hub](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/IdentityToolkit)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::CallBuilder) -* **[Resources](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::CallBuilder) +* **[Resources](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Part)** + * **[Parts](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-identitytoolkit3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Delegate) to the -[Method Builder](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Delegate) to the +[Method Builder](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Delegate) 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 [encodable](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::RequestValue) and -[decodable](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::RequestValue) and +[decodable](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-identitytoolkit3/2.0.4+20180723/google_identitytoolkit3/client::RequestValue) are moved +* [request values](https://docs.rs/google-identitytoolkit3/2.0.5+20180723/google_identitytoolkit3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/identitytoolkit3/src/api.rs b/gen/identitytoolkit3/src/api.rs index 18b5c01b0b..1fc96f8742 100644 --- a/gen/identitytoolkit3/src/api.rs +++ b/gen/identitytoolkit3/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > IdentityToolkit<> { IdentityToolkit { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > IdentityToolkit<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/identitytoolkit3/src/client.rs b/gen/identitytoolkit3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/identitytoolkit3/src/client.rs +++ b/gen/identitytoolkit3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/identitytoolkit3/src/lib.rs b/gen/identitytoolkit3/src/lib.rs index 33d3fe84fb..51ff70bc93 100644 --- a/gen/identitytoolkit3/src/lib.rs +++ b/gen/identitytoolkit3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Identity Toolkit* crate version *2.0.4+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Identity Toolkit* crate version *2.0.5+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Identity Toolkit* *v3* API can be found at the //! [official documentation site](https://developers.google.com/identity-toolkit/v3/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-identitytoolkit3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/indexing3-cli/Cargo.toml b/gen/indexing3-cli/Cargo.toml index 5a9432d189..082bbf9b94 100644 --- a/gen/indexing3-cli/Cargo.toml +++ b/gen/indexing3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-indexing3-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Indexing (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/indexing3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-indexing3] path = "../indexing3" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/indexing3-cli/README.md b/gen/indexing3-cli/README.md index a8119207e8..cebda9e61f 100644 --- a/gen/indexing3-cli/README.md +++ b/gen/indexing3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Indexing* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Indexing* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash indexing3 [options] diff --git a/gen/indexing3-cli/mkdocs.yml b/gen/indexing3-cli/mkdocs.yml index 0256e4a391..820339d45f 100644 --- a/gen/indexing3-cli/mkdocs.yml +++ b/gen/indexing3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Indexing v2.0.4+20210323 +site_name: Indexing v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-indexing3-cli site_description: A complete library to interact with Indexing (protocol v3) diff --git a/gen/indexing3-cli/src/main.rs b/gen/indexing3-cli/src/main.rs index 33802f750e..a3f6bd9022 100644 --- a/gen/indexing3-cli/src/main.rs +++ b/gen/indexing3-cli/src/main.rs @@ -319,7 +319,7 @@ async fn main() { let mut app = App::new("indexing3") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("Notifies Google when your web pages change.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_indexing3_cli") .arg(Arg::with_name("url") diff --git a/gen/indexing3/Cargo.toml b/gen/indexing3/Cargo.toml index a0989fb708..e96bf53260 100644 --- a/gen/indexing3/Cargo.toml +++ b/gen/indexing3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-indexing3" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Indexing (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/indexing3" homepage = "https://developers.google.com/search/apis/indexing-api/" -documentation = "https://docs.rs/google-indexing3/2.0.4+20210323" +documentation = "https://docs.rs/google-indexing3/2.0.5+20210323" license = "MIT" keywords = ["indexing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/indexing3/README.md b/gen/indexing3/README.md index 677e7239ee..d69448e0ab 100644 --- a/gen/indexing3/README.md +++ b/gen/indexing3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-indexing3` library allows access to all features of the *Google Indexing* service. -This documentation was generated from *Indexing* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Indexing* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Indexing* *v3* API can be found at the [official documentation site](https://developers.google.com/search/apis/indexing-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/Indexing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/Indexing) ... -* [url notifications](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/api::UrlNotification) - * [*get metadata*](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/api::UrlNotificationGetMetadataCall) and [*publish*](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/api::UrlNotificationPublishCall) +* [url notifications](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/api::UrlNotification) + * [*get metadata*](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/api::UrlNotificationGetMetadataCall) and [*publish*](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/api::UrlNotificationPublishCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/Indexing)** +* **[Hub](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/Indexing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::CallBuilder) -* **[Resources](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::CallBuilder) +* **[Resources](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Part)** + * **[Parts](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-indexing3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -128,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Delegate), 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-indexing3/2.0.4+20210323/google_indexing3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Delegate) to the -[Method Builder](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Delegate) to the +[Method Builder](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::CallBuilder) 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-indexing3/2.0.4+20210323/google_indexing3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Delegate) 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 [encodable](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::RequestValue) and -[decodable](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::RequestValue) and +[decodable](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-indexing3/2.0.4+20210323/google_indexing3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::Part) 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-indexing3/2.0.4+20210323/google_indexing3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::CallBuilder), 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-indexing3/2.0.4+20210323/google_indexing3/client::RequestValue) are moved +* [request values](https://docs.rs/google-indexing3/2.0.5+20210323/google_indexing3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/indexing3/src/api.rs b/gen/indexing3/src/api.rs index b8fc42de4b..278b05ced9 100644 --- a/gen/indexing3/src/api.rs +++ b/gen/indexing3/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > Indexing<> { Indexing { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://indexing.googleapis.com/".to_string(), _root_url: "https://indexing.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > Indexing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/indexing3/src/client.rs b/gen/indexing3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/indexing3/src/client.rs +++ b/gen/indexing3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/indexing3/src/lib.rs b/gen/indexing3/src/lib.rs index 1ee52ec906..52ba9c219e 100644 --- a/gen/indexing3/src/lib.rs +++ b/gen/indexing3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Indexing* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Indexing* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Indexing* *v3* API can be found at the //! [official documentation site](https://developers.google.com/search/apis/indexing-api/). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-indexing3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/jobs3-cli/Cargo.toml b/gen/jobs3-cli/Cargo.toml index ba7ee24097..14cb150e10 100644 --- a/gen/jobs3-cli/Cargo.toml +++ b/gen/jobs3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-jobs3-cli" -version = "2.0.4+20210309" +version = "2.0.5+20210309" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-jobs3] path = "../jobs3" -version = "2.0.4+20210309" +version = "2.0.5+20210309" diff --git a/gen/jobs3-cli/README.md b/gen/jobs3-cli/README.md index ccffe1a530..efe5f5f4dc 100644 --- a/gen/jobs3-cli/README.md +++ b/gen/jobs3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Talent Solution* API at revision *20210309*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20210309*. The CLI is at version *2.0.5*. ```bash jobs3 [options] diff --git a/gen/jobs3-cli/mkdocs.yml b/gen/jobs3-cli/mkdocs.yml index 1c92948f46..0891bb0357 100644 --- a/gen/jobs3-cli/mkdocs.yml +++ b/gen/jobs3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v2.0.4+20210309 +site_name: Cloud Talent Solution v2.0.5+20210309 site_url: http://byron.github.io/google-apis-rs/google-jobs3-cli site_description: A complete library to interact with Cloud Talent Solution (protocol v3) diff --git a/gen/jobs3-cli/src/main.rs b/gen/jobs3-cli/src/main.rs index 86a4611abd..36a23bb968 100644 --- a/gen/jobs3-cli/src/main.rs +++ b/gen/jobs3-cli/src/main.rs @@ -1878,7 +1878,7 @@ async fn main() { let mut app = App::new("jobs3") .author("Sebastian Thiel ") - .version("2.0.4+20210309") + .version("2.0.5+20210309") .about("Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_jobs3_cli") .arg(Arg::with_name("url") diff --git a/gen/jobs3/Cargo.toml b/gen/jobs3/Cargo.toml index c1cc5002c4..513f1dbe60 100644 --- a/gen/jobs3/Cargo.toml +++ b/gen/jobs3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs3" -version = "2.0.4+20210309" +version = "2.0.5+20210309" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs3" homepage = "https://cloud.google.com/talent-solution/job-search/docs/" -documentation = "https://docs.rs/google-jobs3/2.0.4+20210309" +documentation = "https://docs.rs/google-jobs3/2.0.5+20210309" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/jobs3/README.md b/gen/jobs3/README.md index 0d53d922a5..088ae2b96b 100644 --- a/gen/jobs3/README.md +++ b/gen/jobs3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-jobs3` library allows access to all features of the *Google Cloud Talent Solution* service. -This documentation was generated from *Cloud Talent Solution* crate version *2.0.4+20210309*, where *20210309* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Talent Solution* crate version *2.0.5+20210309*, where *20210309* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Talent Solution* *v3* API can be found at the [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/CloudTalentSolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/CloudTalentSolution) ... * projects - * [*client events create*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectClientEventCreateCall), [*companies create*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectCompanyCreateCall), [*companies delete*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectCompanyDeleteCall), [*companies get*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectCompanyGetCall), [*companies list*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectCompanyListCall), [*companies patch*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectCompanyPatchCall), [*complete*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectCompleteCall), [*jobs batch delete*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobBatchDeleteCall), [*jobs create*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobCreateCall), [*jobs delete*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobDeleteCall), [*jobs get*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobGetCall), [*jobs list*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobPatchCall), [*jobs search*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobSearchCall) and [*jobs search for alert*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/api::ProjectJobSearchForAlertCall) + * [*client events create*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectClientEventCreateCall), [*companies create*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectCompanyCreateCall), [*companies delete*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectCompanyDeleteCall), [*companies get*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectCompanyGetCall), [*companies list*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectCompanyListCall), [*companies patch*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectCompanyPatchCall), [*complete*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectCompleteCall), [*jobs batch delete*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobBatchDeleteCall), [*jobs create*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobCreateCall), [*jobs delete*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobDeleteCall), [*jobs get*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobGetCall), [*jobs list*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobPatchCall), [*jobs search*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobSearchCall) and [*jobs search for alert*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/api::ProjectJobSearchForAlertCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/CloudTalentSolution)** +* **[Hub](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/CloudTalentSolution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::CallBuilder) -* **[Resources](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::CallBuilder) +* **[Resources](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Part)** + * **[Parts](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-jobs3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Delegate), 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-jobs3/2.0.4+20210309/google_jobs3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Delegate) to the -[Method Builder](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Delegate) to the +[Method Builder](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::CallBuilder) 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-jobs3/2.0.4+20210309/google_jobs3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Delegate) 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 [encodable](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::RequestValue) and -[decodable](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::RequestValue) and +[decodable](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-jobs3/2.0.4+20210309/google_jobs3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::Part) 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-jobs3/2.0.4+20210309/google_jobs3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::CallBuilder), 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-jobs3/2.0.4+20210309/google_jobs3/client::RequestValue) are moved +* [request values](https://docs.rs/google-jobs3/2.0.5+20210309/google_jobs3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/jobs3/src/api.rs b/gen/jobs3/src/api.rs index 48ccbd14fe..f2aaddd2ae 100644 --- a/gen/jobs3/src/api.rs +++ b/gen/jobs3/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudTalentSolution<> { CloudTalentSolution { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://jobs.googleapis.com/".to_string(), _root_url: "https://jobs.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudTalentSolution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/jobs3/src/client.rs b/gen/jobs3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/jobs3/src/client.rs +++ b/gen/jobs3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/jobs3/src/lib.rs b/gen/jobs3/src/lib.rs index 4499bcd139..2367308d07 100644 --- a/gen/jobs3/src/lib.rs +++ b/gen/jobs3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Talent Solution* crate version *2.0.4+20210309*, where *20210309* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Talent Solution* crate version *2.0.5+20210309*, where *20210309* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Talent Solution* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-jobs3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/jobs4-cli/Cargo.toml b/gen/jobs4-cli/Cargo.toml index 5c977c0dd5..49951ad46d 100644 --- a/gen/jobs4-cli/Cargo.toml +++ b/gen/jobs4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-jobs4-cli" -version = "2.0.4+20210309" +version = "2.0.5+20210309" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-jobs4] path = "../jobs4" -version = "2.0.4+20210309" +version = "2.0.5+20210309" diff --git a/gen/jobs4-cli/README.md b/gen/jobs4-cli/README.md index ef6c2b2ded..21f5a53fa6 100644 --- a/gen/jobs4-cli/README.md +++ b/gen/jobs4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Talent Solution* API at revision *20210309*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20210309*. The CLI is at version *2.0.5*. ```bash jobs4 [options] diff --git a/gen/jobs4-cli/mkdocs.yml b/gen/jobs4-cli/mkdocs.yml index 55dcfbb62b..1a9b6085c9 100644 --- a/gen/jobs4-cli/mkdocs.yml +++ b/gen/jobs4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v2.0.4+20210309 +site_name: Cloud Talent Solution v2.0.5+20210309 site_url: http://byron.github.io/google-apis-rs/google-jobs4-cli site_description: A complete library to interact with Cloud Talent Solution (protocol v4) diff --git a/gen/jobs4-cli/src/main.rs b/gen/jobs4-cli/src/main.rs index 08251ccf68..faef0a0041 100644 --- a/gen/jobs4-cli/src/main.rs +++ b/gen/jobs4-cli/src/main.rs @@ -2668,7 +2668,7 @@ async fn main() { let mut app = App::new("jobs4") .author("Sebastian Thiel ") - .version("2.0.4+20210309") + .version("2.0.5+20210309") .about("Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_jobs4_cli") .arg(Arg::with_name("url") diff --git a/gen/jobs4/Cargo.toml b/gen/jobs4/Cargo.toml index 424f1bc9cf..da2e6e5611 100644 --- a/gen/jobs4/Cargo.toml +++ b/gen/jobs4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs4" -version = "2.0.4+20210309" +version = "2.0.5+20210309" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs4" homepage = "https://cloud.google.com/talent-solution/job-search/docs/" -documentation = "https://docs.rs/google-jobs4/2.0.4+20210309" +documentation = "https://docs.rs/google-jobs4/2.0.5+20210309" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/jobs4/README.md b/gen/jobs4/README.md index 6d5a716eef..4c6acc0448 100644 --- a/gen/jobs4/README.md +++ b/gen/jobs4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-jobs4` library allows access to all features of the *Google Cloud Talent Solution* service. -This documentation was generated from *Cloud Talent Solution* crate version *2.0.4+20210309*, where *20210309* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Talent Solution* crate version *2.0.5+20210309*, where *20210309* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Talent Solution* *v4* API can be found at the [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/CloudTalentSolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/CloudTalentSolution) ... * projects - * [*operations get*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectOperationGetCall), [*tenants client events create*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantClientEventCreateCall), [*tenants companies create*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCompanyCreateCall), [*tenants companies delete*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCompanyDeleteCall), [*tenants companies get*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCompanyGetCall), [*tenants companies list*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCompanyListCall), [*tenants companies patch*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCompanyPatchCall), [*tenants complete query*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCompleteQueryCall), [*tenants create*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantCreateCall), [*tenants delete*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantDeleteCall), [*tenants get*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantGetCall), [*tenants jobs batch create*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobBatchCreateCall), [*tenants jobs batch delete*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobBatchDeleteCall), [*tenants jobs batch update*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobBatchUpdateCall), [*tenants jobs create*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobCreateCall), [*tenants jobs delete*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobDeleteCall), [*tenants jobs get*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobGetCall), [*tenants jobs list*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobListCall), [*tenants jobs patch*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobPatchCall), [*tenants jobs search*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobSearchCall), [*tenants jobs search for alert*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantJobSearchForAlertCall), [*tenants list*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantListCall) and [*tenants patch*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/api::ProjectTenantPatchCall) + * [*operations get*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectOperationGetCall), [*tenants client events create*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantClientEventCreateCall), [*tenants companies create*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCompanyCreateCall), [*tenants companies delete*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCompanyDeleteCall), [*tenants companies get*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCompanyGetCall), [*tenants companies list*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCompanyListCall), [*tenants companies patch*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCompanyPatchCall), [*tenants complete query*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCompleteQueryCall), [*tenants create*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantCreateCall), [*tenants delete*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantDeleteCall), [*tenants get*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantGetCall), [*tenants jobs batch create*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobBatchCreateCall), [*tenants jobs batch delete*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobBatchDeleteCall), [*tenants jobs batch update*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobBatchUpdateCall), [*tenants jobs create*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobCreateCall), [*tenants jobs delete*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobDeleteCall), [*tenants jobs get*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobGetCall), [*tenants jobs list*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobListCall), [*tenants jobs patch*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobPatchCall), [*tenants jobs search*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobSearchCall), [*tenants jobs search for alert*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantJobSearchForAlertCall), [*tenants list*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantListCall) and [*tenants patch*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/api::ProjectTenantPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/CloudTalentSolution)** +* **[Hub](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/CloudTalentSolution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::CallBuilder) -* **[Resources](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::CallBuilder) +* **[Resources](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Part)** + * **[Parts](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-jobs4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Delegate), 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-jobs4/2.0.4+20210309/google_jobs4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Delegate) to the -[Method Builder](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Delegate) to the +[Method Builder](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::CallBuilder) 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-jobs4/2.0.4+20210309/google_jobs4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Delegate) 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 [encodable](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::RequestValue) and -[decodable](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::RequestValue) and +[decodable](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-jobs4/2.0.4+20210309/google_jobs4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::Part) 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-jobs4/2.0.4+20210309/google_jobs4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::CallBuilder), 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-jobs4/2.0.4+20210309/google_jobs4/client::RequestValue) are moved +* [request values](https://docs.rs/google-jobs4/2.0.5+20210309/google_jobs4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/jobs4/src/api.rs b/gen/jobs4/src/api.rs index 7079eccdd8..b299154669 100644 --- a/gen/jobs4/src/api.rs +++ b/gen/jobs4/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudTalentSolution<> { CloudTalentSolution { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://jobs.googleapis.com/".to_string(), _root_url: "https://jobs.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudTalentSolution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/jobs4/src/client.rs b/gen/jobs4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/jobs4/src/client.rs +++ b/gen/jobs4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/jobs4/src/lib.rs b/gen/jobs4/src/lib.rs index cc7a268bbf..8714c74f1e 100644 --- a/gen/jobs4/src/lib.rs +++ b/gen/jobs4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Talent Solution* crate version *2.0.4+20210309*, where *20210309* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Talent Solution* crate version *2.0.5+20210309*, where *20210309* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Talent Solution* *v4* API can be found at the //! [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-jobs4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/language1-cli/Cargo.toml b/gen/language1-cli/Cargo.toml index 1ee7d853f6..93f2063962 100644 --- a/gen/language1-cli/Cargo.toml +++ b/gen/language1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-language1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-language1] path = "../language1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/language1-cli/README.md b/gen/language1-cli/README.md index 0c21b11f64..e76a3a99b6 100644 --- a/gen/language1-cli/README.md +++ b/gen/language1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Natural Language* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Natural Language* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash language1 [options] diff --git a/gen/language1-cli/mkdocs.yml b/gen/language1-cli/mkdocs.yml index 5cc3ca98a0..403154f1c3 100644 --- a/gen/language1-cli/mkdocs.yml +++ b/gen/language1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v2.0.4+20210326 +site_name: Cloud Natural Language v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-language1-cli site_description: A complete library to interact with Cloud Natural Language (protocol v1) diff --git a/gen/language1-cli/src/main.rs b/gen/language1-cli/src/main.rs index 8e089b42f7..25698fbf3a 100644 --- a/gen/language1-cli/src/main.rs +++ b/gen/language1-cli/src/main.rs @@ -820,7 +820,7 @@ async fn main() { let mut app = App::new("language1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_language1_cli") .arg(Arg::with_name("url") diff --git a/gen/language1/Cargo.toml b/gen/language1/Cargo.toml index b5ac497f62..563ddcc3f6 100644 --- a/gen/language1/Cargo.toml +++ b/gen/language1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1" homepage = "https://cloud.google.com/natural-language/" -documentation = "https://docs.rs/google-language1/2.0.4+20210326" +documentation = "https://docs.rs/google-language1/2.0.5+20210326" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/language1/README.md b/gen/language1/README.md index f6676449e0..af3893dcd1 100644 --- a/gen/language1/README.md +++ b/gen/language1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-language1` library allows access to all features of the *Google Cloud Natural Language* service. -This documentation was generated from *Cloud Natural Language* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Natural Language* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Natural Language* *v1* API can be found at the [official documentation site](https://cloud.google.com/natural-language/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1/2.0.4+20210326/google_language1/CloudNaturalLanguage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1/2.0.5+20210326/google_language1/CloudNaturalLanguage) ... -* [documents](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::Document) - * [*analyze entities*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::DocumentAnalyzeEntityCall), [*analyze entity sentiment*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::DocumentAnalyzeEntitySentimentCall), [*analyze sentiment*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::DocumentAnalyzeSyntaxCall), [*annotate text*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::DocumentAnnotateTextCall) and [*classify text*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/api::DocumentClassifyTextCall) +* [documents](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::Document) + * [*analyze entities*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::DocumentAnalyzeEntityCall), [*analyze entity sentiment*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::DocumentAnalyzeEntitySentimentCall), [*analyze sentiment*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::DocumentAnalyzeSyntaxCall), [*annotate text*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::DocumentAnnotateTextCall) and [*classify text*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/api::DocumentClassifyTextCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-language1/2.0.4+20210326/google_language1/CloudNaturalLanguage)** +* **[Hub](https://docs.rs/google-language1/2.0.5+20210326/google_language1/CloudNaturalLanguage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::CallBuilder) -* **[Resources](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::CallBuilder) +* **[Resources](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Part)** + * **[Parts](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-language1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Delegate), 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-language1/2.0.4+20210326/google_language1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Delegate) to the -[Method Builder](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Delegate) to the +[Method Builder](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::CallBuilder) 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-language1/2.0.4+20210326/google_language1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Delegate) 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 [encodable](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::RequestValue) and -[decodable](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::RequestValue) and +[decodable](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-language1/2.0.4+20210326/google_language1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::Part) 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-language1/2.0.4+20210326/google_language1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::CallBuilder), 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-language1/2.0.4+20210326/google_language1/client::RequestValue) are moved +* [request values](https://docs.rs/google-language1/2.0.5+20210326/google_language1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/language1/src/api.rs b/gen/language1/src/api.rs index 5cd80b58a3..eeab0010af 100644 --- a/gen/language1/src/api.rs +++ b/gen/language1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudNaturalLanguage<> { CloudNaturalLanguage { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://language.googleapis.com/".to_string(), _root_url: "https://language.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudNaturalLanguage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/language1/src/client.rs b/gen/language1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/language1/src/client.rs +++ b/gen/language1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/language1/src/lib.rs b/gen/language1/src/lib.rs index d2cb28af2f..7609ea7da5 100644 --- a/gen/language1/src/lib.rs +++ b/gen/language1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Natural Language* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Natural Language* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Natural Language* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-language1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/language1_beta1-cli/Cargo.toml b/gen/language1_beta1-cli/Cargo.toml index e80bdab6b0..5ec10a8cc5 100644 --- a/gen/language1_beta1-cli/Cargo.toml +++ b/gen/language1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-language1_beta1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-language1_beta1] path = "../language1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/language1_beta1-cli/README.md b/gen/language1_beta1-cli/README.md index cb80faceca..a05c990312 100644 --- a/gen/language1_beta1-cli/README.md +++ b/gen/language1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Natural Language* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Natural Language* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash language1-beta1 [options] diff --git a/gen/language1_beta1-cli/mkdocs.yml b/gen/language1_beta1-cli/mkdocs.yml index e6bf5e16f1..1365f936ee 100644 --- a/gen/language1_beta1-cli/mkdocs.yml +++ b/gen/language1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v2.0.4+20210326 +site_name: Cloud Natural Language v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-language1_beta1-cli site_description: A complete library to interact with Cloud Natural Language (protocol v1beta1) diff --git a/gen/language1_beta1-cli/src/main.rs b/gen/language1_beta1-cli/src/main.rs index ce9270e30c..804336b07e 100644 --- a/gen/language1_beta1-cli/src/main.rs +++ b/gen/language1_beta1-cli/src/main.rs @@ -591,7 +591,7 @@ async fn main() { let mut app = App::new("language1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_language1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/language1_beta1/Cargo.toml b/gen/language1_beta1/Cargo.toml index 2255ec88bb..fbe0ed2e57 100644 --- a/gen/language1_beta1/Cargo.toml +++ b/gen/language1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1_beta1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1_beta1" homepage = "https://cloud.google.com/natural-language/" -documentation = "https://docs.rs/google-language1_beta1/2.0.4+20210326" +documentation = "https://docs.rs/google-language1_beta1/2.0.5+20210326" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/language1_beta1/README.md b/gen/language1_beta1/README.md index 9e48abc4ba..e0a718f6e7 100644 --- a/gen/language1_beta1/README.md +++ b/gen/language1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-language1_beta1` library allows access to all features of the *Google Cloud Natural Language* service. -This documentation was generated from *Cloud Natural Language* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Natural Language* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Natural Language* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/natural-language/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/CloudNaturalLanguage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/CloudNaturalLanguage) ... -* [documents](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/api::Document) - * [*analyze entities*](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/api::DocumentAnalyzeEntityCall), [*analyze sentiment*](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/api::DocumentAnalyzeSyntaxCall) and [*annotate text*](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/api::DocumentAnnotateTextCall) +* [documents](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/api::Document) + * [*analyze entities*](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/api::DocumentAnalyzeEntityCall), [*analyze sentiment*](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/api::DocumentAnalyzeSyntaxCall) and [*annotate text*](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/api::DocumentAnnotateTextCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/CloudNaturalLanguage)** +* **[Hub](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/CloudNaturalLanguage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-language1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Delegate), 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-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::CallBuilder) 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-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-language1_beta1/2.0.4+20210326/google_language1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::Part) 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-language1_beta1/2.0.4+20210326/google_language1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::CallBuilder), 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-language1_beta1/2.0.4+20210326/google_language1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-language1_beta1/2.0.5+20210326/google_language1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/language1_beta1/src/api.rs b/gen/language1_beta1/src/api.rs index 78edd774a5..04896ff670 100644 --- a/gen/language1_beta1/src/api.rs +++ b/gen/language1_beta1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > CloudNaturalLanguage<> { CloudNaturalLanguage { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://language.googleapis.com/".to_string(), _root_url: "https://language.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudNaturalLanguage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/language1_beta1/src/client.rs b/gen/language1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/language1_beta1/src/client.rs +++ b/gen/language1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/language1_beta1/src/lib.rs b/gen/language1_beta1/src/lib.rs index 3c1e77038c..4ce7bd6f5e 100644 --- a/gen/language1_beta1/src/lib.rs +++ b/gen/language1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Natural Language* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Natural Language* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Natural Language* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-language1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/libraryagent1-cli/Cargo.toml b/gen/libraryagent1-cli/Cargo.toml index b61e7f2add..5dd6feeda6 100644 --- a/gen/libraryagent1-cli/Cargo.toml +++ b/gen/libraryagent1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-libraryagent1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Libraryagent (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/libraryagent1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-libraryagent1] path = "../libraryagent1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/libraryagent1-cli/README.md b/gen/libraryagent1-cli/README.md index d721c757d8..d4c6830f1a 100644 --- a/gen/libraryagent1-cli/README.md +++ b/gen/libraryagent1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Libraryagent* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Libraryagent* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash libraryagent1 [options] diff --git a/gen/libraryagent1-cli/mkdocs.yml b/gen/libraryagent1-cli/mkdocs.yml index 3d321f41fe..0a9f61c881 100644 --- a/gen/libraryagent1-cli/mkdocs.yml +++ b/gen/libraryagent1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Libraryagent v2.0.4+20210330 +site_name: Libraryagent v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-libraryagent1-cli site_description: A complete library to interact with Libraryagent (protocol v1) diff --git a/gen/libraryagent1-cli/src/main.rs b/gen/libraryagent1-cli/src/main.rs index 3b31468d1d..db7019ee04 100644 --- a/gen/libraryagent1-cli/src/main.rs +++ b/gen/libraryagent1-cli/src/main.rs @@ -602,7 +602,7 @@ async fn main() { let mut app = App::new("libraryagent1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("A simple Google Example Library API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_libraryagent1_cli") .arg(Arg::with_name("url") diff --git a/gen/libraryagent1/Cargo.toml b/gen/libraryagent1/Cargo.toml index 4dbad9c655..a4530e73d5 100644 --- a/gen/libraryagent1/Cargo.toml +++ b/gen/libraryagent1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-libraryagent1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Libraryagent (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/libraryagent1" homepage = "https://cloud.google.com/docs/quota" -documentation = "https://docs.rs/google-libraryagent1/2.0.4+20210330" +documentation = "https://docs.rs/google-libraryagent1/2.0.5+20210330" license = "MIT" keywords = ["libraryagent", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/libraryagent1/README.md b/gen/libraryagent1/README.md index 2356277954..d0012ee433 100644 --- a/gen/libraryagent1/README.md +++ b/gen/libraryagent1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-libraryagent1` library allows access to all features of the *Google Libraryagent* service. -This documentation was generated from *Libraryagent* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Libraryagent* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Libraryagent* *v1* API can be found at the [official documentation site](https://cloud.google.com/docs/quota). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/Libraryagent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/Libraryagent) ... * shelves - * [*books borrow*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/api::ShelveBookBorrowCall), [*books get*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/api::ShelveBookGetCall), [*books list*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/api::ShelveBookListCall), [*books return*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/api::ShelveBookReturnCall), [*get*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/api::ShelveGetCall) and [*list*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/api::ShelveListCall) + * [*books borrow*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/api::ShelveBookBorrowCall), [*books get*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/api::ShelveBookGetCall), [*books list*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/api::ShelveBookListCall), [*books return*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/api::ShelveBookReturnCall), [*get*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/api::ShelveGetCall) and [*list*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/api::ShelveListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/Libraryagent)** +* **[Hub](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/Libraryagent)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::CallBuilder) -* **[Resources](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::CallBuilder) +* **[Resources](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Part)** + * **[Parts](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-libraryagent1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -128,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Delegate), 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-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Delegate) to the -[Method Builder](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Delegate) to the +[Method Builder](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::CallBuilder) 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-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Delegate) 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 [encodable](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::RequestValue) and -[decodable](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::RequestValue) and +[decodable](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-libraryagent1/2.0.4+20210330/google_libraryagent1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::Part) 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-libraryagent1/2.0.4+20210330/google_libraryagent1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::CallBuilder), 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-libraryagent1/2.0.4+20210330/google_libraryagent1/client::RequestValue) are moved +* [request values](https://docs.rs/google-libraryagent1/2.0.5+20210330/google_libraryagent1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/libraryagent1/src/api.rs b/gen/libraryagent1/src/api.rs index 0d2f9a1283..4a3279ffc4 100644 --- a/gen/libraryagent1/src/api.rs +++ b/gen/libraryagent1/src/api.rs @@ -114,7 +114,7 @@ impl<'a, > Libraryagent<> { Libraryagent { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://libraryagent.googleapis.com/".to_string(), _root_url: "https://libraryagent.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > Libraryagent<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/libraryagent1/src/client.rs b/gen/libraryagent1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/libraryagent1/src/client.rs +++ b/gen/libraryagent1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/libraryagent1/src/lib.rs b/gen/libraryagent1/src/lib.rs index cdc8c91102..e7cfdb3820 100644 --- a/gen/libraryagent1/src/lib.rs +++ b/gen/libraryagent1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Libraryagent* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Libraryagent* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Libraryagent* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/docs/quota). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-libraryagent1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/licensing1-cli/Cargo.toml b/gen/licensing1-cli/Cargo.toml index 745978e90e..547b4143b1 100644 --- a/gen/licensing1-cli/Cargo.toml +++ b/gen/licensing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-licensing1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/licensing1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-licensing1] path = "../licensing1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/licensing1-cli/README.md b/gen/licensing1-cli/README.md index d4b5c6a7ad..bec6a5bf4b 100644 --- a/gen/licensing1-cli/README.md +++ b/gen/licensing1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *licensing* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *licensing* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash licensing1 [options] diff --git a/gen/licensing1-cli/mkdocs.yml b/gen/licensing1-cli/mkdocs.yml index 5d390c6758..adce3daabe 100644 --- a/gen/licensing1-cli/mkdocs.yml +++ b/gen/licensing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: licensing v2.0.4+20210329 +site_name: licensing v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-licensing1-cli site_description: A complete library to interact with licensing (protocol v1) diff --git a/gen/licensing1-cli/src/main.rs b/gen/licensing1-cli/src/main.rs index 9d911e6b86..b0c8c464a8 100644 --- a/gen/licensing1-cli/src/main.rs +++ b/gen/licensing1-cli/src/main.rs @@ -888,7 +888,7 @@ async fn main() { let mut app = App::new("licensing1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_licensing1_cli") .arg(Arg::with_name("url") diff --git a/gen/licensing1/Cargo.toml b/gen/licensing1/Cargo.toml index ed544e42cf..e9a40d0243 100644 --- a/gen/licensing1/Cargo.toml +++ b/gen/licensing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-licensing1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/licensing1" homepage = "https://developers.google.com/admin-sdk/licensing/" -documentation = "https://docs.rs/google-licensing1/2.0.4+20210329" +documentation = "https://docs.rs/google-licensing1/2.0.5+20210329" license = "MIT" keywords = ["licensing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/licensing1/README.md b/gen/licensing1/README.md index 1b24c48f89..c2eb7f3780 100644 --- a/gen/licensing1/README.md +++ b/gen/licensing1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-licensing1` library allows access to all features of the *Google licensing* service. -This documentation was generated from *licensing* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *licensing* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *licensing* *v1* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/licensing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/Licensing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/Licensing) ... -* [license assignments](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignment) - * [*delete*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentDeleteCall), [*get*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentGetCall), [*insert*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentInsertCall), [*list for product*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentListForProductCall), [*list for product and sku*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentListForProductAndSkuCall), [*patch*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentPatchCall) and [*update*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/api::LicenseAssignmentUpdateCall) +* [license assignments](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignment) + * [*delete*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentDeleteCall), [*get*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentGetCall), [*insert*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentInsertCall), [*list for product*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentListForProductCall), [*list for product and sku*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentListForProductAndSkuCall), [*patch*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentPatchCall) and [*update*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/api::LicenseAssignmentUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/Licensing)** +* **[Hub](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/Licensing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::CallBuilder) -* **[Resources](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::CallBuilder) +* **[Resources](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Part)** + * **[Parts](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-licensing1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Delegate) to the -[Method Builder](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Delegate) to the +[Method Builder](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Delegate) 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 [encodable](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::RequestValue) and -[decodable](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::RequestValue) and +[decodable](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-licensing1/2.0.4+20210329/google_licensing1/client::RequestValue) are moved +* [request values](https://docs.rs/google-licensing1/2.0.5+20210329/google_licensing1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/licensing1/src/api.rs b/gen/licensing1/src/api.rs index b20b43bdca..d3a9d15404 100644 --- a/gen/licensing1/src/api.rs +++ b/gen/licensing1/src/api.rs @@ -116,7 +116,7 @@ impl<'a, > Licensing<> { Licensing { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://licensing.googleapis.com/".to_string(), _root_url: "https://licensing.googleapis.com/".to_string(), } @@ -127,7 +127,7 @@ impl<'a, > Licensing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/licensing1/src/client.rs b/gen/licensing1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/licensing1/src/client.rs +++ b/gen/licensing1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/licensing1/src/lib.rs b/gen/licensing1/src/lib.rs index 1a780ea35d..b82fb826b7 100644 --- a/gen/licensing1/src/lib.rs +++ b/gen/licensing1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *licensing* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *licensing* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *licensing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/licensing/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-licensing1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/lifesciences2_beta-cli/Cargo.toml b/gen/lifesciences2_beta-cli/Cargo.toml index 8e677ac988..60e4c784b5 100644 --- a/gen/lifesciences2_beta-cli/Cargo.toml +++ b/gen/lifesciences2_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-lifesciences2_beta-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Life Sciences (protocol v2beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/lifesciences2_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-lifesciences2_beta] path = "../lifesciences2_beta" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/lifesciences2_beta-cli/README.md b/gen/lifesciences2_beta-cli/README.md index a371c114f2..77bad56edc 100644 --- a/gen/lifesciences2_beta-cli/README.md +++ b/gen/lifesciences2_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Life Sciences* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Life Sciences* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash lifesciences2-beta [options] diff --git a/gen/lifesciences2_beta-cli/mkdocs.yml b/gen/lifesciences2_beta-cli/mkdocs.yml index 1499c9bde4..f660418d66 100644 --- a/gen/lifesciences2_beta-cli/mkdocs.yml +++ b/gen/lifesciences2_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Life Sciences v2.0.4+20210319 +site_name: Cloud Life Sciences v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-lifesciences2_beta-cli site_description: A complete library to interact with Cloud Life Sciences (protocol v2beta) diff --git a/gen/lifesciences2_beta-cli/src/main.rs b/gen/lifesciences2_beta-cli/src/main.rs index d9e62ff2fd..df6535e342 100644 --- a/gen/lifesciences2_beta-cli/src/main.rs +++ b/gen/lifesciences2_beta-cli/src/main.rs @@ -710,7 +710,7 @@ async fn main() { let mut app = App::new("lifesciences2-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_lifesciences2_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/lifesciences2_beta/Cargo.toml b/gen/lifesciences2_beta/Cargo.toml index 0385593d6b..e0fb954434 100644 --- a/gen/lifesciences2_beta/Cargo.toml +++ b/gen/lifesciences2_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-lifesciences2_beta" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Life Sciences (protocol v2beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/lifesciences2_beta" homepage = "https://cloud.google.com/life-sciences" -documentation = "https://docs.rs/google-lifesciences2_beta/2.0.4+20210319" +documentation = "https://docs.rs/google-lifesciences2_beta/2.0.5+20210319" license = "MIT" keywords = ["lifesciences", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/lifesciences2_beta/README.md b/gen/lifesciences2_beta/README.md index f451c4b20b..1e453532a6 100644 --- a/gen/lifesciences2_beta/README.md +++ b/gen/lifesciences2_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-lifesciences2_beta` library allows access to all features of the *Google Cloud Life Sciences* service. -This documentation was generated from *Cloud Life Sciences* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Life Sciences* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Life Sciences* *v2_beta* API can be found at the [official documentation site](https://cloud.google.com/life-sciences). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/CloudLifeSciences) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/CloudLifeSciences) ... * projects - * [*locations get*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/api::ProjectLocationOperationListCall) and [*locations pipelines run*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/api::ProjectLocationPipelineRunCall) + * [*locations get*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/api::ProjectLocationOperationListCall) and [*locations pipelines run*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/api::ProjectLocationPipelineRunCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/CloudLifeSciences)** +* **[Hub](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/CloudLifeSciences)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Part)** + * **[Parts](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-lifesciences2_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Delegate), 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-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::CallBuilder) 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-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Delegate) 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 [encodable](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::RequestValue) and -[decodable](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::RequestValue) and +[decodable](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::Part) 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-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::CallBuilder), 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-lifesciences2_beta/2.0.4+20210319/google_lifesciences2_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-lifesciences2_beta/2.0.5+20210319/google_lifesciences2_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/lifesciences2_beta/src/api.rs b/gen/lifesciences2_beta/src/api.rs index b176eab78b..a0089376f5 100644 --- a/gen/lifesciences2_beta/src/api.rs +++ b/gen/lifesciences2_beta/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudLifeSciences<> { CloudLifeSciences { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://lifesciences.googleapis.com/".to_string(), _root_url: "https://lifesciences.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudLifeSciences<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/lifesciences2_beta/src/client.rs b/gen/lifesciences2_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/lifesciences2_beta/src/client.rs +++ b/gen/lifesciences2_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/lifesciences2_beta/src/lib.rs b/gen/lifesciences2_beta/src/lib.rs index 30dfd15717..d871fcd4c1 100644 --- a/gen/lifesciences2_beta/src/lib.rs +++ b/gen/lifesciences2_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Life Sciences* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Life Sciences* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Life Sciences* *v2_beta* API can be found at the //! [official documentation site](https://cloud.google.com/life-sciences). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-lifesciences2_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/localservices1-cli/Cargo.toml b/gen/localservices1-cli/Cargo.toml index b5ff09c1ed..220ebab41f 100644 --- a/gen/localservices1-cli/Cargo.toml +++ b/gen/localservices1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-localservices1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Localservices (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/localservices1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-localservices1] path = "../localservices1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/localservices1-cli/README.md b/gen/localservices1-cli/README.md index 8608a10f70..837cc2777e 100644 --- a/gen/localservices1-cli/README.md +++ b/gen/localservices1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Localservices* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Localservices* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash localservices1 [options] diff --git a/gen/localservices1-cli/mkdocs.yml b/gen/localservices1-cli/mkdocs.yml index b07acd0a1f..f670dadf78 100644 --- a/gen/localservices1-cli/mkdocs.yml +++ b/gen/localservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Localservices v2.0.4+20210330 +site_name: Localservices v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-localservices1-cli site_description: A complete library to interact with Localservices (protocol v1) diff --git a/gen/localservices1-cli/src/main.rs b/gen/localservices1-cli/src/main.rs index b1985645c6..3ca746129b 100644 --- a/gen/localservices1-cli/src/main.rs +++ b/gen/localservices1-cli/src/main.rs @@ -341,7 +341,7 @@ async fn main() { let mut app = App::new("localservices1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_localservices1_cli") .arg(Arg::with_name("url") diff --git a/gen/localservices1/Cargo.toml b/gen/localservices1/Cargo.toml index 118ba8238b..4b32efd3ba 100644 --- a/gen/localservices1/Cargo.toml +++ b/gen/localservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-localservices1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Localservices (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/localservices1" homepage = "https://ads.google.com/local-services-ads/" -documentation = "https://docs.rs/google-localservices1/2.0.4+20210330" +documentation = "https://docs.rs/google-localservices1/2.0.5+20210330" license = "MIT" keywords = ["localservices", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/localservices1/README.md b/gen/localservices1/README.md index d68d609166..1b7d06d15b 100644 --- a/gen/localservices1/README.md +++ b/gen/localservices1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-localservices1` library allows access to all features of the *Google Localservices* service. -This documentation was generated from *Localservices* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Localservices* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Localservices* *v1* API can be found at the [official documentation site](https://ads.google.com/local-services-ads/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/Localservices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/Localservices) ... * account reports - * [*search*](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/api::AccountReportSearchCall) + * [*search*](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/api::AccountReportSearchCall) * detailed lead reports - * [*search*](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/api::DetailedLeadReportSearchCall) + * [*search*](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/api::DetailedLeadReportSearchCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/Localservices)** +* **[Hub](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/Localservices)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::CallBuilder) +* **[Resources](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Part)** + * **[Parts](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-localservices1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Delegate), 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-localservices1/2.0.4+20210330/google_localservices1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Delegate) to the +[Method Builder](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::CallBuilder) 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-localservices1/2.0.4+20210330/google_localservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Delegate) 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 [encodable](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::RequestValue) and -[decodable](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::RequestValue) and +[decodable](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-localservices1/2.0.4+20210330/google_localservices1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::Part) 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-localservices1/2.0.4+20210330/google_localservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::CallBuilder), 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-localservices1/2.0.4+20210330/google_localservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-localservices1/2.0.5+20210330/google_localservices1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/localservices1/src/api.rs b/gen/localservices1/src/api.rs index cbea84779a..13d33abfea 100644 --- a/gen/localservices1/src/api.rs +++ b/gen/localservices1/src/api.rs @@ -123,7 +123,7 @@ impl<'a, > Localservices<> { Localservices { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://localservices.googleapis.com/".to_string(), _root_url: "https://localservices.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Localservices<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/localservices1/src/client.rs b/gen/localservices1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/localservices1/src/client.rs +++ b/gen/localservices1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/localservices1/src/lib.rs b/gen/localservices1/src/lib.rs index 3e9288985c..ff4c6af895 100644 --- a/gen/localservices1/src/lib.rs +++ b/gen/localservices1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Localservices* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Localservices* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Localservices* *v1* API can be found at the //! [official documentation site](https://ads.google.com/local-services-ads/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-localservices1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/logging2-cli/Cargo.toml b/gen/logging2-cli/Cargo.toml index b5edb50ea9..1c531723e2 100644 --- a/gen/logging2-cli/Cargo.toml +++ b/gen/logging2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-logging2] path = "../logging2" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/logging2-cli/README.md b/gen/logging2-cli/README.md index 530fe825c9..b3f87d6208 100644 --- a/gen/logging2-cli/README.md +++ b/gen/logging2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Logging* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Logging* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash logging2 [options] diff --git a/gen/logging2-cli/mkdocs.yml b/gen/logging2-cli/mkdocs.yml index c7d5252a1c..c64427d4a3 100644 --- a/gen/logging2-cli/mkdocs.yml +++ b/gen/logging2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v2.0.4+20210325 +site_name: Logging v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-logging2-cli site_description: A complete library to interact with Logging (protocol v2) diff --git a/gen/logging2-cli/src/main.rs b/gen/logging2-cli/src/main.rs index 93f81d69ed..f697f4798e 100644 --- a/gen/logging2-cli/src/main.rs +++ b/gen/logging2-cli/src/main.rs @@ -14148,7 +14148,7 @@ async fn main() { let mut app = App::new("logging2") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Writes log entries and manages your Cloud Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the documentation at https://cloud.google.com/logging/docs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_logging2_cli") .arg(Arg::with_name("url") diff --git a/gen/logging2/Cargo.toml b/gen/logging2/Cargo.toml index 9a2f329bcd..377f320351 100644 --- a/gen/logging2/Cargo.toml +++ b/gen/logging2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2/2.0.4+20210325" +documentation = "https://docs.rs/google-logging2/2.0.5+20210325" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/logging2/README.md b/gen/logging2/README.md index 2f8b045819..cee5ea8aa7 100644 --- a/gen/logging2/README.md +++ b/gen/logging2/README.md @@ -5,39 +5,39 @@ DO NOT EDIT ! --> The `google-logging2` library allows access to all features of the *Google Logging* service. -This documentation was generated from *Logging* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Logging* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Logging* *v2* API can be found at the [official documentation site](https://cloud.google.com/logging/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/Logging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/Logging) ... * billing accounts - * [*buckets get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountBucketGetCall), [*buckets views get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountBucketViewGetCall), [*exclusions create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketDeleteCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketViewDeleteCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::BillingAccountSinkUpdateCall) + * [*buckets get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountBucketGetCall), [*buckets views get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountBucketViewGetCall), [*exclusions create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketDeleteCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketViewDeleteCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::BillingAccountSinkUpdateCall) * entries - * [*list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::EntryListCall), [*tail*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::EntryTailCall) and [*write*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::EntryWriteCall) + * [*list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::EntryListCall), [*tail*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::EntryTailCall) and [*write*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::EntryWriteCall) * exclusions - * [*create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ExclusionCreateCall), [*delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ExclusionDeleteCall), [*get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ExclusionGetCall), [*list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ExclusionListCall) and [*patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ExclusionPatchCall) + * [*create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ExclusionCreateCall), [*delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ExclusionDeleteCall), [*get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ExclusionGetCall), [*list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ExclusionListCall) and [*patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ExclusionPatchCall) * folders - * [*exclusions create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::FolderSinkUpdateCall) -* [locations](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::Location) - * [*buckets create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketCreateCall), [*buckets delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketDeleteCall), [*buckets get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketGetCall), [*buckets list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketListCall), [*buckets patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketPatchCall), [*buckets undelete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketUndeleteCall), [*buckets views create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketViewCreateCall), [*buckets views delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketViewDeleteCall), [*buckets views get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketViewGetCall), [*buckets views list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketViewListCall), [*buckets views patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationBucketViewPatchCall), [*get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationGetCall) and [*list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LocationListCall) + * [*exclusions create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::FolderSinkUpdateCall) +* [locations](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::Location) + * [*buckets create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketCreateCall), [*buckets delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketDeleteCall), [*buckets get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketGetCall), [*buckets list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketListCall), [*buckets patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketPatchCall), [*buckets undelete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketUndeleteCall), [*buckets views create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketViewCreateCall), [*buckets views delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketViewDeleteCall), [*buckets views get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketViewGetCall), [*buckets views list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketViewListCall), [*buckets views patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationBucketViewPatchCall), [*get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationGetCall) and [*list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LocationListCall) * logs - * [*delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LogDeleteCall) and [*list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::LogListCall) -* [monitored resource descriptors](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::MonitoredResourceDescriptor) - * [*list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::MonitoredResourceDescriptorListCall) + * [*delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LogDeleteCall) and [*list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::LogListCall) +* [monitored resource descriptors](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::MonitoredResourceDescriptor) + * [*list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::MonitoredResourceDescriptorListCall) * organizations - * [*exclusions create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationGetCmekSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationSinkUpdateCall) and [*update cmek settings*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::OrganizationUpdateCmekSettingCall) + * [*exclusions create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationGetCmekSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationLogListCall), [*sinks create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationSinkUpdateCall) and [*update cmek settings*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::OrganizationUpdateCmekSettingCall) * projects - * [*exclusions create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectLogListCall), [*metrics create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::ProjectSinkUpdateCall) + * [*exclusions create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectExclusionPatchCall), [*locations buckets create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLocationListCall), [*logs delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectLogListCall), [*metrics create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::ProjectSinkUpdateCall) * sinks - * [*create*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::SinkCreateCall), [*delete*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::SinkDeleteCall), [*get*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::SinkGetCall), [*list*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::SinkListCall) and [*update*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::SinkUpdateCall) + * [*create*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::SinkCreateCall), [*delete*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::SinkDeleteCall), [*get*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::SinkGetCall), [*list*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::SinkListCall) and [*update*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::SinkUpdateCall) Other activities are ... -* [get cmek settings](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::MethodGetCmekSettingCall) -* [update cmek settings](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/api::MethodUpdateCmekSettingCall) +* [get cmek settings](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::MethodGetCmekSettingCall) +* [update cmek settings](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/api::MethodUpdateCmekSettingCall) @@ -45,17 +45,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/Logging)** +* **[Hub](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/Logging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::CallBuilder) -* **[Resources](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::CallBuilder) +* **[Resources](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Part)** + * **[Parts](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -116,9 +116,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-logging2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -184,17 +181,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::ResponseResult), 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")`. @@ -204,29 +201,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Delegate) to the -[Method Builder](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Delegate) to the +[Method Builder](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Delegate) 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 [encodable](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::RequestValue) and -[decodable](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::RequestValue) and +[decodable](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-logging2/2.0.4+20210325/google_logging2/client::RequestValue) are moved +* [request values](https://docs.rs/google-logging2/2.0.5+20210325/google_logging2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/logging2/src/api.rs b/gen/logging2/src/api.rs index e66ae0ac9c..37e541f5d3 100644 --- a/gen/logging2/src/api.rs +++ b/gen/logging2/src/api.rs @@ -136,7 +136,7 @@ impl<'a, > Logging<> { Logging { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://logging.googleapis.com/".to_string(), _root_url: "https://logging.googleapis.com/".to_string(), } @@ -177,7 +177,7 @@ impl<'a, > Logging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/logging2/src/client.rs b/gen/logging2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/logging2/src/client.rs +++ b/gen/logging2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/logging2/src/lib.rs b/gen/logging2/src/lib.rs index 3ca5c7b6ba..97fd65f6c3 100644 --- a/gen/logging2/src/lib.rs +++ b/gen/logging2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Logging* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Logging* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Logging* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). @@ -116,9 +116,6 @@ //! ```toml //! [dependencies] //! google-logging2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/logging2_beta1-cli/Cargo.toml b/gen/logging2_beta1-cli/Cargo.toml index c4244f43d1..4294acbe9b 100644 --- a/gen/logging2_beta1-cli/Cargo.toml +++ b/gen/logging2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2_beta1-cli" -version = "2.0.4+20190325" +version = "2.0.5+20190325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-logging2_beta1] path = "../logging2_beta1" -version = "2.0.4+20190325" +version = "2.0.5+20190325" diff --git a/gen/logging2_beta1-cli/README.md b/gen/logging2_beta1-cli/README.md index ae038b844a..7a5daa7bce 100644 --- a/gen/logging2_beta1-cli/README.md +++ b/gen/logging2_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Logging* API at revision *20190325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Logging* API at revision *20190325*. The CLI is at version *2.0.5*. ```bash logging2-beta1 [options] diff --git a/gen/logging2_beta1-cli/mkdocs.yml b/gen/logging2_beta1-cli/mkdocs.yml index c17b4be416..55e195a4dc 100644 --- a/gen/logging2_beta1-cli/mkdocs.yml +++ b/gen/logging2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v2.0.4+20190325 +site_name: Logging v2.0.5+20190325 site_url: http://byron.github.io/google-apis-rs/google-logging2_beta1-cli site_description: A complete library to interact with Logging (protocol v2beta1) diff --git a/gen/logging2_beta1-cli/src/main.rs b/gen/logging2_beta1-cli/src/main.rs index 627f35cc6f..6a25534918 100644 --- a/gen/logging2_beta1-cli/src/main.rs +++ b/gen/logging2_beta1-cli/src/main.rs @@ -1510,7 +1510,7 @@ async fn main() { let mut app = App::new("logging2-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20190325") + .version("2.0.5+20190325") .about("Writes log entries and manages your Logging configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_logging2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/logging2_beta1/Cargo.toml b/gen/logging2_beta1/Cargo.toml index 7d8c8838bc..b6102b8237 100644 --- a/gen/logging2_beta1/Cargo.toml +++ b/gen/logging2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2_beta1" -version = "2.0.4+20190325" +version = "2.0.5+20190325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2_beta1" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2_beta1/2.0.4+20190325" +documentation = "https://docs.rs/google-logging2_beta1/2.0.5+20190325" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/logging2_beta1/README.md b/gen/logging2_beta1/README.md index 97649f6b0e..1cdfd0a2e9 100644 --- a/gen/logging2_beta1/README.md +++ b/gen/logging2_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-logging2_beta1` library allows access to all features of the *Google Logging* service. -This documentation was generated from *Logging* crate version *2.0.4+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Logging* crate version *2.0.5+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Logging* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/logging/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/Logging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/Logging) ... * entries - * [*list*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::EntryListCall) and [*write*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::EntryWriteCall) -* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::MonitoredResourceDescriptor) - * [*list*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::MonitoredResourceDescriptorListCall) + * [*list*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::EntryListCall) and [*write*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::EntryWriteCall) +* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::MonitoredResourceDescriptor) + * [*list*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::MonitoredResourceDescriptorListCall) * projects - * [*metrics create*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectSinkListCall) and [*sinks update*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/api::ProjectSinkUpdateCall) + * [*metrics create*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectSinkListCall) and [*sinks update*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/api::ProjectSinkUpdateCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/Logging)** +* **[Hub](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/Logging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-logging2_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-logging2_beta1/2.0.4+20190325/google_logging2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-logging2_beta1/2.0.5+20190325/google_logging2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/logging2_beta1/src/api.rs b/gen/logging2_beta1/src/api.rs index 6710d0a407..0e007f36d7 100644 --- a/gen/logging2_beta1/src/api.rs +++ b/gen/logging2_beta1/src/api.rs @@ -136,7 +136,7 @@ impl<'a, > Logging<> { Logging { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://logging.googleapis.com/".to_string(), _root_url: "https://logging.googleapis.com/".to_string(), } @@ -153,7 +153,7 @@ impl<'a, > Logging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/logging2_beta1/src/client.rs b/gen/logging2_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/logging2_beta1/src/client.rs +++ b/gen/logging2_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/logging2_beta1/src/lib.rs b/gen/logging2_beta1/src/lib.rs index 7efaba2d3c..bd6e8c9a50 100644 --- a/gen/logging2_beta1/src/lib.rs +++ b/gen/logging2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Logging* crate version *2.0.4+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Logging* crate version *2.0.5+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Logging* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-logging2_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/managedidentities1-cli/Cargo.toml b/gen/managedidentities1-cli/Cargo.toml index 48c7cc0802..ec546b8e5b 100644 --- a/gen/managedidentities1-cli/Cargo.toml +++ b/gen/managedidentities1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-managedidentities1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Managed Service for Microsoft Active Directory Consumer API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/managedidentities1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-managedidentities1] path = "../managedidentities1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/managedidentities1-cli/README.md b/gen/managedidentities1-cli/README.md index 7685c4a3ad..cf66cdc927 100644 --- a/gen/managedidentities1-cli/README.md +++ b/gen/managedidentities1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Managed Service for Microsoft Active Directory Consumer API* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Managed Service for Microsoft Active Directory Consumer API* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash managedidentities1 [options] diff --git a/gen/managedidentities1-cli/mkdocs.yml b/gen/managedidentities1-cli/mkdocs.yml index d07121603b..67d4adb81a 100644 --- a/gen/managedidentities1-cli/mkdocs.yml +++ b/gen/managedidentities1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Managed Service for Microsoft Active Directory Consumer API v2.0.4+20210324 +site_name: Managed Service for Microsoft Active Directory Consumer API v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-managedidentities1-cli site_description: A complete library to interact with Managed Service for Microsoft Active Directory Consumer API (protocol v1) diff --git a/gen/managedidentities1-cli/src/main.rs b/gen/managedidentities1-cli/src/main.rs index beed8d6644..ef5bf9812c 100644 --- a/gen/managedidentities1-cli/src/main.rs +++ b/gen/managedidentities1-cli/src/main.rs @@ -2080,7 +2080,7 @@ async fn main() { let mut app = App::new("managedidentities1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_managedidentities1_cli") .arg(Arg::with_name("url") diff --git a/gen/managedidentities1/Cargo.toml b/gen/managedidentities1/Cargo.toml index 31768740ac..5045ce15fb 100644 --- a/gen/managedidentities1/Cargo.toml +++ b/gen/managedidentities1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-managedidentities1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Managed Service for Microsoft Active Directory Consumer API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/managedidentities1" homepage = "https://cloud.google.com/managed-microsoft-ad/" -documentation = "https://docs.rs/google-managedidentities1/2.0.4+20210324" +documentation = "https://docs.rs/google-managedidentities1/2.0.5+20210324" license = "MIT" keywords = ["managedidentities", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/managedidentities1/README.md b/gen/managedidentities1/README.md index e459a201c5..3389dd0474 100644 --- a/gen/managedidentities1/README.md +++ b/gen/managedidentities1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-managedidentities1` library allows access to all features of the *Google Managed Service for Microsoft Active Directory Consumer API* service. -This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Managed Service for Microsoft Active Directory Consumer API* *v1* API can be found at the [official documentation site](https://cloud.google.com/managed-microsoft-ad/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI) ... * projects - * [*locations get*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGetCall), [*locations global domains attach trust*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainAttachTrustCall), [*locations global domains create*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainCreateCall), [*locations global domains delete*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainDeleteCall), [*locations global domains detach trust*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainDetachTrustCall), [*locations global domains get*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainGetCall), [*locations global domains get iam policy*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainGetIamPolicyCall), [*locations global domains list*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainListCall), [*locations global domains patch*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainPatchCall), [*locations global domains reconfigure trust*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainReconfigureTrustCall), [*locations global domains reset admin password*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainResetAdminPasswordCall), [*locations global domains set iam policy*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainSetIamPolicyCall), [*locations global domains test iam permissions*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainTestIamPermissionCall), [*locations global domains validate trust*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainValidateTrustCall), [*locations global operations cancel*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGetCall), [*locations global domains attach trust*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainAttachTrustCall), [*locations global domains create*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainCreateCall), [*locations global domains delete*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainDeleteCall), [*locations global domains detach trust*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainDetachTrustCall), [*locations global domains get*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainGetCall), [*locations global domains get iam policy*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainGetIamPolicyCall), [*locations global domains list*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainListCall), [*locations global domains patch*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainPatchCall), [*locations global domains reconfigure trust*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainReconfigureTrustCall), [*locations global domains reset admin password*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainResetAdminPasswordCall), [*locations global domains set iam policy*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainSetIamPolicyCall), [*locations global domains test iam permissions*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainTestIamPermissionCall), [*locations global domains validate trust*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalDomainValidateTrustCall), [*locations global operations cancel*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI)** +* **[Hub](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::CallBuilder) -* **[Resources](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::CallBuilder) +* **[Resources](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Part)** + * **[Parts](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-managedidentities1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Delegate), 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-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Delegate) to the -[Method Builder](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Delegate) to the +[Method Builder](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::CallBuilder) 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-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Delegate) 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 [encodable](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::RequestValue) and -[decodable](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::RequestValue) and +[decodable](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-managedidentities1/2.0.4+20210324/google_managedidentities1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::Part) 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-managedidentities1/2.0.4+20210324/google_managedidentities1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::CallBuilder), 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-managedidentities1/2.0.4+20210324/google_managedidentities1/client::RequestValue) are moved +* [request values](https://docs.rs/google-managedidentities1/2.0.5+20210324/google_managedidentities1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/managedidentities1/src/api.rs b/gen/managedidentities1/src/api.rs index b88f6cc798..c03ef064e1 100644 --- a/gen/managedidentities1/src/api.rs +++ b/gen/managedidentities1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > ManagedServiceForMicrosoftActiveDirectoryConsumerAPI<> { ManagedServiceForMicrosoftActiveDirectoryConsumerAPI { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://managedidentities.googleapis.com/".to_string(), _root_url: "https://managedidentities.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > ManagedServiceForMicrosoftActiveDirectoryConsumerAPI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/managedidentities1/src/client.rs b/gen/managedidentities1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/managedidentities1/src/client.rs +++ b/gen/managedidentities1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/managedidentities1/src/lib.rs b/gen/managedidentities1/src/lib.rs index 262ce02326..ae34ca381b 100644 --- a/gen/managedidentities1/src/lib.rs +++ b/gen/managedidentities1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Managed Service for Microsoft Active Directory Consumer API* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/managed-microsoft-ad/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-managedidentities1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/manager1_beta2-cli/Cargo.toml b/gen/manager1_beta2-cli/Cargo.toml index 92f2c76e2f..c43b203f11 100644 --- a/gen/manager1_beta2-cli/Cargo.toml +++ b/gen/manager1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manager1_beta2-cli" -version = "2.0.4+20140915" +version = "2.0.5+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manager1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-manager1_beta2] path = "../manager1_beta2" -version = "2.0.4+20140915" +version = "2.0.5+20140915" diff --git a/gen/manager1_beta2-cli/README.md b/gen/manager1_beta2-cli/README.md index bbe9dbbd4a..0be8fd0f4e 100644 --- a/gen/manager1_beta2-cli/README.md +++ b/gen/manager1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *2.0.4*. +This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *2.0.5*. ```bash manager1-beta2 [options] diff --git a/gen/manager1_beta2-cli/mkdocs.yml b/gen/manager1_beta2-cli/mkdocs.yml index c809e486bc..4df5904e45 100644 --- a/gen/manager1_beta2-cli/mkdocs.yml +++ b/gen/manager1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: manager v2.0.4+20140915 +site_name: manager v2.0.5+20140915 site_url: http://byron.github.io/google-apis-rs/google-manager1_beta2-cli site_description: A complete library to interact with manager (protocol v1beta2) diff --git a/gen/manager1_beta2-cli/src/main.rs b/gen/manager1_beta2-cli/src/main.rs index e3f4344b99..3c7614b24b 100644 --- a/gen/manager1_beta2-cli/src/main.rs +++ b/gen/manager1_beta2-cli/src/main.rs @@ -874,7 +874,7 @@ async fn main() { let mut app = App::new("manager1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20140915") + .version("2.0.5+20140915") .about("The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_manager1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/manager1_beta2/Cargo.toml b/gen/manager1_beta2/Cargo.toml index 1d5b1ce9cd..943744adff 100644 --- a/gen/manager1_beta2/Cargo.toml +++ b/gen/manager1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manager1_beta2" -version = "2.0.4+20140915" +version = "2.0.5+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manager1_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-manager1_beta2/2.0.4+20140915" +documentation = "https://docs.rs/google-manager1_beta2/2.0.5+20140915" license = "MIT" keywords = ["manager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/manager1_beta2/README.md b/gen/manager1_beta2/README.md index 0d6a0dd56e..2813bafb7f 100644 --- a/gen/manager1_beta2/README.md +++ b/gen/manager1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-manager1_beta2` library allows access to all features of the *Google manager* service. -This documentation was generated from *manager* crate version *2.0.4+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *manager* crate version *2.0.5+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *manager* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/Manager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/Manager) ... -* [deployments](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::Deployment) - * [*delete*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::DeploymentInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::DeploymentListCall) -* [templates](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::Template) - * [*delete*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::TemplateGetCall), [*insert*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::TemplateInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/api::TemplateListCall) +* [deployments](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::Deployment) + * [*delete*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::DeploymentInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::DeploymentListCall) +* [templates](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::Template) + * [*delete*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::TemplateGetCall), [*insert*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::TemplateInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/api::TemplateListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/Manager)** +* **[Hub](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/Manager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-manager1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-manager1_beta2/2.0.4+20140915/google_manager1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-manager1_beta2/2.0.5+20140915/google_manager1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/manager1_beta2/src/api.rs b/gen/manager1_beta2/src/api.rs index 8180d3fee3..6d17437024 100644 --- a/gen/manager1_beta2/src/api.rs +++ b/gen/manager1_beta2/src/api.rs @@ -140,7 +140,7 @@ impl<'a, > Manager<> { Manager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/manager/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -154,7 +154,7 @@ impl<'a, > Manager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/manager1_beta2/src/client.rs b/gen/manager1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/manager1_beta2/src/client.rs +++ b/gen/manager1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/manager1_beta2/src/lib.rs b/gen/manager1_beta2/src/lib.rs index 3ca404bdd4..1957665737 100644 --- a/gen/manager1_beta2/src/lib.rs +++ b/gen/manager1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *manager* crate version *2.0.4+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *manager* crate version *2.0.5+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *manager* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-manager1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/manufacturers1-cli/Cargo.toml b/gen/manufacturers1-cli/Cargo.toml index eeef810a4e..c501db6fd6 100644 --- a/gen/manufacturers1-cli/Cargo.toml +++ b/gen/manufacturers1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manufacturers1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manufacturers1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-manufacturers1] path = "../manufacturers1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/manufacturers1-cli/README.md b/gen/manufacturers1-cli/README.md index 32530502fc..8b990cc854 100644 --- a/gen/manufacturers1-cli/README.md +++ b/gen/manufacturers1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Manufacturer Center* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Manufacturer Center* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash manufacturers1 [options] diff --git a/gen/manufacturers1-cli/mkdocs.yml b/gen/manufacturers1-cli/mkdocs.yml index 1286ba73e3..ccdfc50981 100644 --- a/gen/manufacturers1-cli/mkdocs.yml +++ b/gen/manufacturers1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Manufacturer Center v2.0.4+20210325 +site_name: Manufacturer Center v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-manufacturers1-cli site_description: A complete library to interact with Manufacturer Center (protocol v1) diff --git a/gen/manufacturers1-cli/src/main.rs b/gen/manufacturers1-cli/src/main.rs index 95cdaf6976..ee904a6618 100644 --- a/gen/manufacturers1-cli/src/main.rs +++ b/gen/manufacturers1-cli/src/main.rs @@ -549,7 +549,7 @@ async fn main() { let mut app = App::new("manufacturers1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Public API for managing Manufacturer Center related data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_manufacturers1_cli") .arg(Arg::with_name("url") diff --git a/gen/manufacturers1/Cargo.toml b/gen/manufacturers1/Cargo.toml index 7d6965f79d..92bbab791c 100644 --- a/gen/manufacturers1/Cargo.toml +++ b/gen/manufacturers1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manufacturers1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manufacturers1" homepage = "https://developers.google.com/manufacturers/" -documentation = "https://docs.rs/google-manufacturers1/2.0.4+20210325" +documentation = "https://docs.rs/google-manufacturers1/2.0.5+20210325" license = "MIT" keywords = ["manufacturers", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/manufacturers1/README.md b/gen/manufacturers1/README.md index 84e7e04f29..98082b9ddc 100644 --- a/gen/manufacturers1/README.md +++ b/gen/manufacturers1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-manufacturers1` library allows access to all features of the *Google Manufacturer Center* service. -This documentation was generated from *Manufacturer Center* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Manufacturer Center* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Manufacturer Center* *v1* API can be found at the [official documentation site](https://developers.google.com/manufacturers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/ManufacturerCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/ManufacturerCenter) ... * accounts - * [*products delete*](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/api::AccountProductDeleteCall), [*products get*](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/api::AccountProductListCall) and [*products update*](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/api::AccountProductUpdateCall) + * [*products delete*](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/api::AccountProductDeleteCall), [*products get*](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/api::AccountProductListCall) and [*products update*](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/api::AccountProductUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/ManufacturerCenter)** +* **[Hub](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/ManufacturerCenter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::CallBuilder) -* **[Resources](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::CallBuilder) +* **[Resources](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Part)** + * **[Parts](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-manufacturers1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Delegate) to the -[Method Builder](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Delegate) to the +[Method Builder](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Delegate) 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 [encodable](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::RequestValue) and -[decodable](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::RequestValue) and +[decodable](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-manufacturers1/2.0.4+20210325/google_manufacturers1/client::RequestValue) are moved +* [request values](https://docs.rs/google-manufacturers1/2.0.5+20210325/google_manufacturers1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/manufacturers1/src/api.rs b/gen/manufacturers1/src/api.rs index d1605d86e0..2b286f794a 100644 --- a/gen/manufacturers1/src/api.rs +++ b/gen/manufacturers1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > ManufacturerCenter<> { ManufacturerCenter { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://manufacturers.googleapis.com/".to_string(), _root_url: "https://manufacturers.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ManufacturerCenter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/manufacturers1/src/client.rs b/gen/manufacturers1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/manufacturers1/src/client.rs +++ b/gen/manufacturers1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs index 2533432c12..87c34d1b47 100644 --- a/gen/manufacturers1/src/lib.rs +++ b/gen/manufacturers1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Manufacturer Center* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Manufacturer Center* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Manufacturer Center* *v1* API can be found at the //! [official documentation site](https://developers.google.com/manufacturers/). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-manufacturers1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/memcache1-cli/Cargo.toml b/gen/memcache1-cli/Cargo.toml index 49e30a394d..daf2184a56 100644 --- a/gen/memcache1-cli/Cargo.toml +++ b/gen/memcache1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-memcache1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-memcache1] path = "../memcache1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/memcache1-cli/README.md b/gen/memcache1-cli/README.md index 28ddaff042..d1bf6ee635 100644 --- a/gen/memcache1-cli/README.md +++ b/gen/memcache1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash memcache1 [options] diff --git a/gen/memcache1-cli/mkdocs.yml b/gen/memcache1-cli/mkdocs.yml index dc2a8af893..52d5abbcb3 100644 --- a/gen/memcache1-cli/mkdocs.yml +++ b/gen/memcache1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Memorystore for Memcached v2.0.4+20210324 +site_name: Cloud Memorystore for Memcached v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-memcache1-cli site_description: A complete library to interact with Cloud Memorystore for Memcached (protocol v1) diff --git a/gen/memcache1-cli/src/main.rs b/gen/memcache1-cli/src/main.rs index df01a77568..8322c507d6 100644 --- a/gen/memcache1-cli/src/main.rs +++ b/gen/memcache1-cli/src/main.rs @@ -1401,7 +1401,7 @@ async fn main() { let mut app = App::new("memcache1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_memcache1_cli") .arg(Arg::with_name("url") diff --git a/gen/memcache1/Cargo.toml b/gen/memcache1/Cargo.toml index af3592599c..35cc2e5e98 100644 --- a/gen/memcache1/Cargo.toml +++ b/gen/memcache1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-memcache1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1" homepage = "https://cloud.google.com/memorystore/" -documentation = "https://docs.rs/google-memcache1/2.0.4+20210324" +documentation = "https://docs.rs/google-memcache1/2.0.5+20210324" license = "MIT" keywords = ["memcache", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/memcache1/README.md b/gen/memcache1/README.md index 749004484a..e27427d52b 100644 --- a/gen/memcache1/README.md +++ b/gen/memcache1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-memcache1` library allows access to all features of the *Google Cloud Memorystore for Memcached* service. -This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Memorystore for Memcached* *v1* API can be found at the [official documentation site](https://cloud.google.com/memorystore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/CloudMemorystoreForMemcached) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/CloudMemorystoreForMemcached) ... * projects - * [*locations get*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstanceApplyParameterCall), [*locations instances create*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstanceApplyParameterCall), [*locations instances create*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/CloudMemorystoreForMemcached)** +* **[Hub](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/CloudMemorystoreForMemcached)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::CallBuilder) -* **[Resources](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::CallBuilder) +* **[Resources](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Part)** + * **[Parts](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-memcache1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Delegate), 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-memcache1/2.0.4+20210324/google_memcache1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Delegate) to the -[Method Builder](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Delegate) to the +[Method Builder](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::CallBuilder) 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-memcache1/2.0.4+20210324/google_memcache1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Delegate) 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 [encodable](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::RequestValue) and -[decodable](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::RequestValue) and +[decodable](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-memcache1/2.0.4+20210324/google_memcache1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::Part) 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-memcache1/2.0.4+20210324/google_memcache1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::CallBuilder), 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-memcache1/2.0.4+20210324/google_memcache1/client::RequestValue) are moved +* [request values](https://docs.rs/google-memcache1/2.0.5+20210324/google_memcache1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/memcache1/src/api.rs b/gen/memcache1/src/api.rs index ecd299abf5..8bcd5f7642 100644 --- a/gen/memcache1/src/api.rs +++ b/gen/memcache1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { CloudMemorystoreForMemcached { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://memcache.googleapis.com/".to_string(), _root_url: "https://memcache.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/memcache1/src/client.rs b/gen/memcache1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/memcache1/src/client.rs +++ b/gen/memcache1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/memcache1/src/lib.rs b/gen/memcache1/src/lib.rs index 5929a771c1..e3d22fff70 100644 --- a/gen/memcache1/src/lib.rs +++ b/gen/memcache1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Memorystore for Memcached* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-memcache1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/memcache1_beta2-cli/Cargo.toml b/gen/memcache1_beta2-cli/Cargo.toml index d37737287d..e83aaa3136 100644 --- a/gen/memcache1_beta2-cli/Cargo.toml +++ b/gen/memcache1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-memcache1_beta2-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-memcache1_beta2] path = "../memcache1_beta2" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/memcache1_beta2-cli/README.md b/gen/memcache1_beta2-cli/README.md index 77928f2357..b0a8d447c3 100644 --- a/gen/memcache1_beta2-cli/README.md +++ b/gen/memcache1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash memcache1-beta2 [options] diff --git a/gen/memcache1_beta2-cli/mkdocs.yml b/gen/memcache1_beta2-cli/mkdocs.yml index b84b13be3c..b56b4b15c6 100644 --- a/gen/memcache1_beta2-cli/mkdocs.yml +++ b/gen/memcache1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Memorystore for Memcached v2.0.4+20210324 +site_name: Cloud Memorystore for Memcached v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-memcache1_beta2-cli site_description: A complete library to interact with Cloud Memorystore for Memcached (protocol v1beta2) diff --git a/gen/memcache1_beta2-cli/src/main.rs b/gen/memcache1_beta2-cli/src/main.rs index a3651f456a..71df0296b6 100644 --- a/gen/memcache1_beta2-cli/src/main.rs +++ b/gen/memcache1_beta2-cli/src/main.rs @@ -1520,7 +1520,7 @@ async fn main() { let mut app = App::new("memcache1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_memcache1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/memcache1_beta2/Cargo.toml b/gen/memcache1_beta2/Cargo.toml index 8a112cdae0..60f098e149 100644 --- a/gen/memcache1_beta2/Cargo.toml +++ b/gen/memcache1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-memcache1_beta2" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1_beta2" homepage = "https://cloud.google.com/memorystore/" -documentation = "https://docs.rs/google-memcache1_beta2/2.0.4+20210324" +documentation = "https://docs.rs/google-memcache1_beta2/2.0.5+20210324" license = "MIT" keywords = ["memcache", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/memcache1_beta2/README.md b/gen/memcache1_beta2/README.md index 5d097e5325..c7b1ebeb62 100644 --- a/gen/memcache1_beta2/README.md +++ b/gen/memcache1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-memcache1_beta2` library allows access to all features of the *Google Cloud Memorystore for Memcached* service. -This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Memorystore for Memcached* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/memorystore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached) ... * projects - * [*locations get*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceApplyParameterCall), [*locations instances apply software update*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceApplySoftwareUpdateCall), [*locations instances create*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceApplyParameterCall), [*locations instances apply software update*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceApplySoftwareUpdateCall), [*locations instances create*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached)** +* **[Hub](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/CloudMemorystoreForMemcached)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-memcache1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Delegate), 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-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::CallBuilder) 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-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::Part) 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-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::CallBuilder), 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-memcache1_beta2/2.0.4+20210324/google_memcache1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-memcache1_beta2/2.0.5+20210324/google_memcache1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/memcache1_beta2/src/api.rs b/gen/memcache1_beta2/src/api.rs index 377347f7ab..293bab8638 100644 --- a/gen/memcache1_beta2/src/api.rs +++ b/gen/memcache1_beta2/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { CloudMemorystoreForMemcached { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://memcache.googleapis.com/".to_string(), _root_url: "https://memcache.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/memcache1_beta2/src/client.rs b/gen/memcache1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/memcache1_beta2/src/client.rs +++ b/gen/memcache1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/memcache1_beta2/src/lib.rs b/gen/memcache1_beta2/src/lib.rs index 1777964cd7..8199a1267c 100644 --- a/gen/memcache1_beta2/src/lib.rs +++ b/gen/memcache1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Memorystore for Memcached* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-memcache1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/metastore1_beta-cli/Cargo.toml b/gen/metastore1_beta-cli/Cargo.toml index 44db3782de..dc1f44bf45 100644 --- a/gen/metastore1_beta-cli/Cargo.toml +++ b/gen/metastore1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-metastore1_beta-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc Metastore (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/metastore1_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-metastore1_beta] path = "../metastore1_beta" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/metastore1_beta-cli/README.md b/gen/metastore1_beta-cli/README.md index 6e868d2af3..953e63d49a 100644 --- a/gen/metastore1_beta-cli/README.md +++ b/gen/metastore1_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Dataproc Metastore* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Dataproc Metastore* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash metastore1-beta [options] diff --git a/gen/metastore1_beta-cli/mkdocs.yml b/gen/metastore1_beta-cli/mkdocs.yml index e6eac6fb80..05f3ca56ed 100644 --- a/gen/metastore1_beta-cli/mkdocs.yml +++ b/gen/metastore1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dataproc Metastore v2.0.4+20210325 +site_name: Dataproc Metastore v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-metastore1_beta-cli site_description: A complete library to interact with Dataproc Metastore (protocol v1beta) diff --git a/gen/metastore1_beta-cli/src/main.rs b/gen/metastore1_beta-cli/src/main.rs index 9b2a1c1515..437d0a2ff3 100644 --- a/gen/metastore1_beta-cli/src/main.rs +++ b/gen/metastore1_beta-cli/src/main.rs @@ -2447,7 +2447,7 @@ async fn main() { let mut app = App::new("metastore1-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_metastore1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/metastore1_beta/Cargo.toml b/gen/metastore1_beta/Cargo.toml index b1c8b778c8..c1c0653ff6 100644 --- a/gen/metastore1_beta/Cargo.toml +++ b/gen/metastore1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-metastore1_beta" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc Metastore (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/metastore1_beta" homepage = "https://cloud.google.com/dataproc-metastore/docs" -documentation = "https://docs.rs/google-metastore1_beta/2.0.4+20210325" +documentation = "https://docs.rs/google-metastore1_beta/2.0.5+20210325" license = "MIT" keywords = ["metastore", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/metastore1_beta/README.md b/gen/metastore1_beta/README.md index 93004b5aae..205ba76509 100644 --- a/gen/metastore1_beta/README.md +++ b/gen/metastore1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-metastore1_beta` library allows access to all features of the *Google Dataproc Metastore* service. -This documentation was generated from *Dataproc Metastore* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Dataproc Metastore* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Dataproc Metastore* *v1_beta* API can be found at the [official documentation site](https://cloud.google.com/dataproc-metastore/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/DataprocMetastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/DataprocMetastore) ... * projects - * [*locations get*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationOperationListCall), [*locations services backups create*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupCreateCall), [*locations services backups delete*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupDeleteCall), [*locations services backups get*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupGetCall), [*locations services backups list*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupListCall), [*locations services create*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceDeleteCall), [*locations services export metadata*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceExportMetadataCall), [*locations services get*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceListCall), [*locations services metadata imports create*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportCreateCall), [*locations services metadata imports get*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportGetCall), [*locations services metadata imports list*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportListCall), [*locations services metadata imports patch*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportPatchCall), [*locations services patch*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServicePatchCall), [*locations services restore*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceRestoreCall), [*locations services set iam policy*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/api::ProjectLocationServiceTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationOperationListCall), [*locations services backups create*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupCreateCall), [*locations services backups delete*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupDeleteCall), [*locations services backups get*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupGetCall), [*locations services backups list*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceBackupListCall), [*locations services create*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceDeleteCall), [*locations services export metadata*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceExportMetadataCall), [*locations services get*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceListCall), [*locations services metadata imports create*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportCreateCall), [*locations services metadata imports get*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportGetCall), [*locations services metadata imports list*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportListCall), [*locations services metadata imports patch*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceMetadataImportPatchCall), [*locations services patch*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServicePatchCall), [*locations services restore*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceRestoreCall), [*locations services set iam policy*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/api::ProjectLocationServiceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/DataprocMetastore)** +* **[Hub](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/DataprocMetastore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Part)** + * **[Parts](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-metastore1_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -143,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Delegate), 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-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::CallBuilder) 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-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Delegate) 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 [encodable](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::Part) 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-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::CallBuilder), 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-metastore1_beta/2.0.4+20210325/google_metastore1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-metastore1_beta/2.0.5+20210325/google_metastore1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/metastore1_beta/src/api.rs b/gen/metastore1_beta/src/api.rs index 2f1033ef54..bbd82a5620 100644 --- a/gen/metastore1_beta/src/api.rs +++ b/gen/metastore1_beta/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > DataprocMetastore<> { DataprocMetastore { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://metastore.googleapis.com/".to_string(), _root_url: "https://metastore.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > DataprocMetastore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/metastore1_beta/src/client.rs b/gen/metastore1_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/metastore1_beta/src/client.rs +++ b/gen/metastore1_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/metastore1_beta/src/lib.rs b/gen/metastore1_beta/src/lib.rs index 44377dc292..6b53798dbd 100644 --- a/gen/metastore1_beta/src/lib.rs +++ b/gen/metastore1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dataproc Metastore* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Dataproc Metastore* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Dataproc Metastore* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc-metastore/docs). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-metastore1_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/mirror1-cli/Cargo.toml b/gen/mirror1-cli/Cargo.toml index 0d9348d513..ddd60b397f 100644 --- a/gen/mirror1-cli/Cargo.toml +++ b/gen/mirror1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mirror1-cli" -version = "2.0.4+20190424" +version = "2.0.5+20190424" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mirror1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mirror1] path = "../mirror1" -version = "2.0.4+20190424" +version = "2.0.5+20190424" diff --git a/gen/mirror1-cli/README.md b/gen/mirror1-cli/README.md index 292eb86a29..566c833e8b 100644 --- a/gen/mirror1-cli/README.md +++ b/gen/mirror1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *mirror* API at revision *20190424*. The CLI is at version *2.0.4*. +This documentation was generated from the *mirror* API at revision *20190424*. The CLI is at version *2.0.5*. ```bash mirror1 [options] diff --git a/gen/mirror1-cli/mkdocs.yml b/gen/mirror1-cli/mkdocs.yml index 91064e340a..e7a1bf4ba5 100644 --- a/gen/mirror1-cli/mkdocs.yml +++ b/gen/mirror1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: mirror v2.0.4+20190424 +site_name: mirror v2.0.5+20190424 site_url: http://byron.github.io/google-apis-rs/google-mirror1-cli site_description: A complete library to interact with mirror (protocol v1) diff --git a/gen/mirror1-cli/src/main.rs b/gen/mirror1-cli/src/main.rs index 8f5e1b9bfd..071de5e6aa 100644 --- a/gen/mirror1-cli/src/main.rs +++ b/gen/mirror1-cli/src/main.rs @@ -2543,7 +2543,7 @@ async fn main() { let mut app = App::new("mirror1") .author("Sebastian Thiel ") - .version("2.0.4+20190424") + .version("2.0.5+20190424") .about("Interacts with Glass users via the timeline.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mirror1_cli") .arg(Arg::with_name("url") diff --git a/gen/mirror1/Cargo.toml b/gen/mirror1/Cargo.toml index a78c7b7137..e716ba20cf 100644 --- a/gen/mirror1/Cargo.toml +++ b/gen/mirror1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mirror1" -version = "2.0.4+20190424" +version = "2.0.5+20190424" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mirror1" homepage = "https://developers.google.com/glass" -documentation = "https://docs.rs/google-mirror1/2.0.4+20190424" +documentation = "https://docs.rs/google-mirror1/2.0.5+20190424" license = "MIT" keywords = ["mirror", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/mirror1/README.md b/gen/mirror1/README.md index 5c3c4a3e50..7ab426fec3 100644 --- a/gen/mirror1/README.md +++ b/gen/mirror1/README.md @@ -5,37 +5,37 @@ DO NOT EDIT ! --> The `google-mirror1` library allows access to all features of the *Google mirror* service. -This documentation was generated from *mirror* crate version *2.0.4+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *mirror* crate version *2.0.5+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *mirror* *v1* API can be found at the [official documentation site](https://developers.google.com/glass). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/Mirror) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/Mirror) ... -* [accounts](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::Account) - * [*insert*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::AccountInsertCall) -* [contacts](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::Contact) - * [*delete*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::ContactDeleteCall), [*get*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::ContactGetCall), [*insert*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::ContactInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::ContactListCall), [*patch*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::ContactPatchCall) and [*update*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::ContactUpdateCall) -* [locations](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::Location) - * [*get*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::LocationGetCall) and [*list*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::LocationListCall) -* [settings](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::Setting) - * [*get*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::SettingGetCall) -* [subscriptions](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::Subscription) - * [*delete*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::SubscriptionListCall) and [*update*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::SubscriptionUpdateCall) +* [accounts](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::Account) + * [*insert*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::AccountInsertCall) +* [contacts](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::Contact) + * [*delete*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::ContactDeleteCall), [*get*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::ContactGetCall), [*insert*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::ContactInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::ContactListCall), [*patch*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::ContactPatchCall) and [*update*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::ContactUpdateCall) +* [locations](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::Location) + * [*get*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::LocationGetCall) and [*list*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::LocationListCall) +* [settings](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::Setting) + * [*get*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::SettingGetCall) +* [subscriptions](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::Subscription) + * [*delete*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::SubscriptionListCall) and [*update*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::SubscriptionUpdateCall) * timeline - * [*attachments delete*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineAttachmentDeleteCall), [*attachments get*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineAttachmentGetCall), [*attachments insert*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineAttachmentInsertCall), [*attachments list*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineAttachmentListCall), [*delete*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineDeleteCall), [*get*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineGetCall), [*insert*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineListCall), [*patch*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelinePatchCall) and [*update*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineUpdateCall) + * [*attachments delete*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineAttachmentDeleteCall), [*attachments get*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineAttachmentGetCall), [*attachments insert*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineAttachmentInsertCall), [*attachments list*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineAttachmentListCall), [*delete*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineDeleteCall), [*get*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineGetCall), [*insert*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineInsertCall), [*list*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineListCall), [*patch*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelinePatchCall) and [*update*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineUpdateCall) Upload supported by ... -* [*attachments insert timeline*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineAttachmentInsertCall) -* [*insert timeline*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineInsertCall) -* [*update timeline*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineUpdateCall) +* [*attachments insert timeline*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineAttachmentInsertCall) +* [*insert timeline*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineInsertCall) +* [*update timeline*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineUpdateCall) Download supported by ... -* [*attachments get timeline*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/api::TimelineAttachmentGetCall) +* [*attachments get timeline*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/api::TimelineAttachmentGetCall) @@ -43,17 +43,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/Mirror)** +* **[Hub](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/Mirror)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Part)** + * **[Parts](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -89,9 +89,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-mirror1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -157,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -177,29 +174,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Delegate) 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 [encodable](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::RequestValue) and -[decodable](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::RequestValue) and +[decodable](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mirror1/2.0.4+20190424/google_mirror1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mirror1/2.0.5+20190424/google_mirror1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mirror1/src/api.rs b/gen/mirror1/src/api.rs index dddb17334b..43759f8b1e 100644 --- a/gen/mirror1/src/api.rs +++ b/gen/mirror1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Mirror<> { Mirror { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/mirror/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -150,7 +150,7 @@ impl<'a, > Mirror<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -5645,7 +5645,6 @@ impl<'a> TimelineAttachmentInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -6740,7 +6739,6 @@ impl<'a> TimelineInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -7706,7 +7704,6 @@ impl<'a> TimelineUpdateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/mirror1/src/client.rs b/gen/mirror1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/mirror1/src/client.rs +++ b/gen/mirror1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/mirror1/src/lib.rs b/gen/mirror1/src/lib.rs index feb56813a3..ae1edb228e 100644 --- a/gen/mirror1/src/lib.rs +++ b/gen/mirror1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *mirror* crate version *2.0.4+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *mirror* crate version *2.0.5+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *mirror* *v1* API can be found at the //! [official documentation site](https://developers.google.com/glass). @@ -89,9 +89,6 @@ //! ```toml //! [dependencies] //! google-mirror1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/ml1-cli/Cargo.toml b/gen/ml1-cli/Cargo.toml index 4cf78ea74f..e21491b4c4 100644 --- a/gen/ml1-cli/Cargo.toml +++ b/gen/ml1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ml1-cli" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Machine Learning Engine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ml1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-ml1] path = "../ml1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" diff --git a/gen/ml1-cli/README.md b/gen/ml1-cli/README.md index 2b15120e9f..416ebff1cb 100644 --- a/gen/ml1-cli/README.md +++ b/gen/ml1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Machine Learning Engine* API at revision *20210317*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Machine Learning Engine* API at revision *20210317*. The CLI is at version *2.0.5*. ```bash ml1 [options] diff --git a/gen/ml1-cli/mkdocs.yml b/gen/ml1-cli/mkdocs.yml index fdfa34146b..fcd4f3964f 100644 --- a/gen/ml1-cli/mkdocs.yml +++ b/gen/ml1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Machine Learning Engine v2.0.4+20210317 +site_name: Cloud Machine Learning Engine v2.0.5+20210317 site_url: http://byron.github.io/google-apis-rs/google-ml1-cli site_description: A complete library to interact with Cloud Machine Learning Engine (protocol v1) diff --git a/gen/ml1-cli/src/main.rs b/gen/ml1-cli/src/main.rs index 66b9a4b1a1..623fe888d0 100644 --- a/gen/ml1-cli/src/main.rs +++ b/gen/ml1-cli/src/main.rs @@ -4955,7 +4955,7 @@ async fn main() { let mut app = App::new("ml1") .author("Sebastian Thiel ") - .version("2.0.4+20210317") + .version("2.0.5+20210317") .about("An API to enable creating and using machine learning models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ml1_cli") .arg(Arg::with_name("url") diff --git a/gen/ml1/Cargo.toml b/gen/ml1/Cargo.toml index f2914d3ff7..670e2bcd68 100644 --- a/gen/ml1/Cargo.toml +++ b/gen/ml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ml1" -version = "2.0.4+20210317" +version = "2.0.5+20210317" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Machine Learning Engine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ml1" homepage = "https://cloud.google.com/ml/" -documentation = "https://docs.rs/google-ml1/2.0.4+20210317" +documentation = "https://docs.rs/google-ml1/2.0.5+20210317" license = "MIT" keywords = ["ml", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/ml1/README.md b/gen/ml1/README.md index 2d6b1d5270..2e2a162da5 100644 --- a/gen/ml1/README.md +++ b/gen/ml1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ml1` library allows access to all features of the *Google Cloud Machine Learning Engine* service. -This documentation was generated from *Cloud Machine Learning Engine* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Machine Learning Engine* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Machine Learning Engine* *v1* API can be found at the [official documentation site](https://cloud.google.com/ml/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/CloudMachineLearningEngine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/CloudMachineLearningEngine) ... * projects - * [*explain*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectExplainCall), [*get config*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectGetConfigCall), [*jobs cancel*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobCancelCall), [*jobs create*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobCreateCall), [*jobs get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobGetCall), [*jobs get iam policy*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobGetIamPolicyCall), [*jobs list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobPatchCall), [*jobs set iam policy*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobSetIamPolicyCall), [*jobs test iam permissions*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectJobTestIamPermissionCall), [*locations get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationOperationGetCall), [*locations studies create*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyCreateCall), [*locations studies delete*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyDeleteCall), [*locations studies get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyGetCall), [*locations studies list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyListCall), [*locations studies trials add measurement*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialAddMeasurementCall), [*locations studies trials check early stopping state*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialCheckEarlyStoppingStateCall), [*locations studies trials complete*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialCompleteCall), [*locations studies trials create*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialCreateCall), [*locations studies trials delete*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialDeleteCall), [*locations studies trials get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialGetCall), [*locations studies trials list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialListCall), [*locations studies trials list optimal trials*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialListOptimalTrialCall), [*locations studies trials stop*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialStopCall), [*locations studies trials suggest*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectLocationStudyTrialSuggestCall), [*models create*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelCreateCall), [*models delete*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelDeleteCall), [*models get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelGetCall), [*models get iam policy*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelGetIamPolicyCall), [*models list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelListCall), [*models patch*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelPatchCall), [*models set iam policy*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelSetIamPolicyCall), [*models test iam permissions*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelTestIamPermissionCall), [*models versions create*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelVersionCreateCall), [*models versions delete*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelVersionDeleteCall), [*models versions get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelVersionGetCall), [*models versions list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelVersionListCall), [*models versions patch*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelVersionPatchCall), [*models versions set default*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectModelVersionSetDefaultCall), [*operations cancel*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectOperationListCall) and [*predict*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/api::ProjectPredictCall) + * [*explain*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectExplainCall), [*get config*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectGetConfigCall), [*jobs cancel*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobCancelCall), [*jobs create*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobCreateCall), [*jobs get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobGetCall), [*jobs get iam policy*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobGetIamPolicyCall), [*jobs list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobPatchCall), [*jobs set iam policy*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobSetIamPolicyCall), [*jobs test iam permissions*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectJobTestIamPermissionCall), [*locations get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationOperationGetCall), [*locations studies create*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyCreateCall), [*locations studies delete*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyDeleteCall), [*locations studies get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyGetCall), [*locations studies list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyListCall), [*locations studies trials add measurement*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialAddMeasurementCall), [*locations studies trials check early stopping state*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialCheckEarlyStoppingStateCall), [*locations studies trials complete*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialCompleteCall), [*locations studies trials create*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialCreateCall), [*locations studies trials delete*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialDeleteCall), [*locations studies trials get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialGetCall), [*locations studies trials list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialListCall), [*locations studies trials list optimal trials*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialListOptimalTrialCall), [*locations studies trials stop*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialStopCall), [*locations studies trials suggest*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectLocationStudyTrialSuggestCall), [*models create*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelCreateCall), [*models delete*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelDeleteCall), [*models get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelGetCall), [*models get iam policy*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelGetIamPolicyCall), [*models list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelListCall), [*models patch*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelPatchCall), [*models set iam policy*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelSetIamPolicyCall), [*models test iam permissions*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelTestIamPermissionCall), [*models versions create*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelVersionCreateCall), [*models versions delete*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelVersionDeleteCall), [*models versions get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelVersionGetCall), [*models versions list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelVersionListCall), [*models versions patch*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelVersionPatchCall), [*models versions set default*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectModelVersionSetDefaultCall), [*operations cancel*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectOperationListCall) and [*predict*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/api::ProjectPredictCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/CloudMachineLearningEngine)** +* **[Hub](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/CloudMachineLearningEngine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::CallBuilder) +* **[Resources](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Part)** + * **[Parts](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -72,9 +72,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-ml1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Delegate) to the +[Method Builder](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Delegate) 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 [encodable](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::RequestValue) and -[decodable](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::RequestValue) and +[decodable](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-ml1/2.0.4+20210317/google_ml1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ml1/2.0.5+20210317/google_ml1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ml1/src/api.rs b/gen/ml1/src/api.rs index 54c7489df4..ef80b37ac6 100644 --- a/gen/ml1/src/api.rs +++ b/gen/ml1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > CloudMachineLearningEngine<> { CloudMachineLearningEngine { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://ml.googleapis.com/".to_string(), _root_url: "https://ml.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudMachineLearningEngine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/ml1/src/client.rs b/gen/ml1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/ml1/src/client.rs +++ b/gen/ml1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/ml1/src/lib.rs b/gen/ml1/src/lib.rs index 69a8c5dfe5..36d7abd5bd 100644 --- a/gen/ml1/src/lib.rs +++ b/gen/ml1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Machine Learning Engine* crate version *2.0.4+20210317*, where *20210317* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Machine Learning Engine* crate version *2.0.5+20210317*, where *20210317* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Machine Learning Engine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/ml/). @@ -72,9 +72,6 @@ //! ```toml //! [dependencies] //! google-ml1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/monitoring3-cli/Cargo.toml b/gen/monitoring3-cli/Cargo.toml index 6d31fc7629..3c8b864c8e 100644 --- a/gen/monitoring3-cli/Cargo.toml +++ b/gen/monitoring3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-monitoring3-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/monitoring3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-monitoring3] path = "../monitoring3" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/monitoring3-cli/README.md b/gen/monitoring3-cli/README.md index dc11caf305..0437883c93 100644 --- a/gen/monitoring3-cli/README.md +++ b/gen/monitoring3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Monitoring* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Monitoring* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash monitoring3 [options] diff --git a/gen/monitoring3-cli/mkdocs.yml b/gen/monitoring3-cli/mkdocs.yml index a8b84ddaba..9144a12f53 100644 --- a/gen/monitoring3-cli/mkdocs.yml +++ b/gen/monitoring3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Monitoring v2.0.4+20210322 +site_name: Monitoring v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-monitoring3-cli site_description: A complete library to interact with Monitoring (protocol v3) diff --git a/gen/monitoring3-cli/src/main.rs b/gen/monitoring3-cli/src/main.rs index c90d764f43..4b1851f9e9 100644 --- a/gen/monitoring3-cli/src/main.rs +++ b/gen/monitoring3-cli/src/main.rs @@ -5193,7 +5193,7 @@ async fn main() { let mut app = App::new("monitoring3") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Manages your Cloud Monitoring data and configurations. Most projects must be associated with a Workspace, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Cloud Monitoring documentation.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_monitoring3_cli") .arg(Arg::with_name("url") diff --git a/gen/monitoring3/Cargo.toml b/gen/monitoring3/Cargo.toml index bf6ba29576..d16e37d95f 100644 --- a/gen/monitoring3/Cargo.toml +++ b/gen/monitoring3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-monitoring3" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/monitoring3" homepage = "https://cloud.google.com/monitoring/api/" -documentation = "https://docs.rs/google-monitoring3/2.0.4+20210322" +documentation = "https://docs.rs/google-monitoring3/2.0.5+20210322" license = "MIT" keywords = ["monitoring", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/monitoring3/README.md b/gen/monitoring3/README.md index 6828744627..aa2c0a953e 100644 --- a/gen/monitoring3/README.md +++ b/gen/monitoring3/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-monitoring3` library allows access to all features of the *Google Monitoring* service. -This documentation was generated from *Monitoring* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Monitoring* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Monitoring* *v3* API can be found at the [official documentation site](https://cloud.google.com/monitoring/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/Monitoring) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/Monitoring) ... * folders - * [*time series list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::FolderTimeSeryListCall) + * [*time series list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::FolderTimeSeryListCall) * organizations - * [*time series list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::OrganizationTimeSeryListCall) + * [*time series list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::OrganizationTimeSeryListCall) * projects - * [*alert policies create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectAlertPolicyCreateCall), [*alert policies delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectAlertPolicyDeleteCall), [*alert policies get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectAlertPolicyGetCall), [*alert policies list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectAlertPolicyListCall), [*alert policies patch*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectAlertPolicyPatchCall), [*collectd time series create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectCollectdTimeSeryCreateCall), [*groups create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectGroupCreateCall), [*groups delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectGroupDeleteCall), [*groups get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectGroupGetCall), [*groups list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectGroupListCall), [*groups members list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectGroupMemberListCall), [*groups update*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectGroupUpdateCall), [*metric descriptors create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectMetricDescriptorCreateCall), [*metric descriptors delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectMetricDescriptorDeleteCall), [*metric descriptors get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectMetricDescriptorGetCall), [*metric descriptors list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectMetricDescriptorListCall), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectMonitoredResourceDescriptorGetCall), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectMonitoredResourceDescriptorListCall), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelDescriptorGetCall), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelDescriptorListCall), [*notification channels create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelCreateCall), [*notification channels delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelDeleteCall), [*notification channels get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelGetCall), [*notification channels get verification code*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelGetVerificationCodeCall), [*notification channels list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelListCall), [*notification channels patch*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelPatchCall), [*notification channels send verification code*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelSendVerificationCodeCall), [*notification channels verify*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectNotificationChannelVerifyCall), [*time series create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectTimeSeryCreateCall), [*time series list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectTimeSeryListCall), [*time series query*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectTimeSeryQueryCall), [*uptime check configs create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectUptimeCheckConfigCreateCall), [*uptime check configs delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectUptimeCheckConfigDeleteCall), [*uptime check configs get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectUptimeCheckConfigGetCall), [*uptime check configs list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectUptimeCheckConfigListCall) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ProjectUptimeCheckConfigPatchCall) -* [services](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::Service) - * [*create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceCreateCall), [*delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceDeleteCall), [*get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceGetCall), [*list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceListCall), [*patch*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServicePatchCall), [*service level objectives create*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveCreateCall), [*service level objectives delete*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveDeleteCall), [*service level objectives get*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveGetCall), [*service level objectives list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveListCall) and [*service level objectives patch*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::ServiceServiceLevelObjectivePatchCall) -* [uptime check ips](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::UptimeCheckIp) - * [*list*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/api::UptimeCheckIpListCall) + * [*alert policies create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectAlertPolicyCreateCall), [*alert policies delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectAlertPolicyDeleteCall), [*alert policies get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectAlertPolicyGetCall), [*alert policies list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectAlertPolicyListCall), [*alert policies patch*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectAlertPolicyPatchCall), [*collectd time series create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectCollectdTimeSeryCreateCall), [*groups create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectGroupCreateCall), [*groups delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectGroupDeleteCall), [*groups get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectGroupGetCall), [*groups list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectGroupListCall), [*groups members list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectGroupMemberListCall), [*groups update*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectGroupUpdateCall), [*metric descriptors create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectMetricDescriptorCreateCall), [*metric descriptors delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectMetricDescriptorDeleteCall), [*metric descriptors get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectMetricDescriptorGetCall), [*metric descriptors list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectMetricDescriptorListCall), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectMonitoredResourceDescriptorGetCall), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectMonitoredResourceDescriptorListCall), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelDescriptorGetCall), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelDescriptorListCall), [*notification channels create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelCreateCall), [*notification channels delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelDeleteCall), [*notification channels get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelGetCall), [*notification channels get verification code*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelGetVerificationCodeCall), [*notification channels list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelListCall), [*notification channels patch*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelPatchCall), [*notification channels send verification code*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelSendVerificationCodeCall), [*notification channels verify*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectNotificationChannelVerifyCall), [*time series create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectTimeSeryCreateCall), [*time series list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectTimeSeryListCall), [*time series query*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectTimeSeryQueryCall), [*uptime check configs create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectUptimeCheckConfigCreateCall), [*uptime check configs delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectUptimeCheckConfigDeleteCall), [*uptime check configs get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectUptimeCheckConfigGetCall), [*uptime check configs list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectUptimeCheckConfigListCall) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ProjectUptimeCheckConfigPatchCall) +* [services](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::Service) + * [*create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceCreateCall), [*delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceDeleteCall), [*get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceGetCall), [*list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceListCall), [*patch*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServicePatchCall), [*service level objectives create*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveCreateCall), [*service level objectives delete*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveDeleteCall), [*service level objectives get*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveGetCall), [*service level objectives list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceServiceLevelObjectiveListCall) and [*service level objectives patch*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::ServiceServiceLevelObjectivePatchCall) +* [uptime check ips](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::UptimeCheckIp) + * [*list*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/api::UptimeCheckIpListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/Monitoring)** +* **[Hub](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/Monitoring)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::CallBuilder) -* **[Resources](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::CallBuilder) +* **[Resources](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Part)** + * **[Parts](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -81,9 +81,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-monitoring3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -147,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::ResponseResult), 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")`. @@ -167,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Delegate) to the -[Method Builder](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Delegate) to the +[Method Builder](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Delegate) 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 [encodable](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::RequestValue) and -[decodable](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::RequestValue) and +[decodable](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-monitoring3/2.0.4+20210322/google_monitoring3/client::RequestValue) are moved +* [request values](https://docs.rs/google-monitoring3/2.0.5+20210322/google_monitoring3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/monitoring3/src/api.rs b/gen/monitoring3/src/api.rs index 26ea3057ef..9ee7382782 100644 --- a/gen/monitoring3/src/api.rs +++ b/gen/monitoring3/src/api.rs @@ -130,7 +130,7 @@ impl<'a, > Monitoring<> { Monitoring { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://monitoring.googleapis.com/".to_string(), _root_url: "https://monitoring.googleapis.com/".to_string(), } @@ -153,7 +153,7 @@ impl<'a, > Monitoring<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/monitoring3/src/client.rs b/gen/monitoring3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/monitoring3/src/client.rs +++ b/gen/monitoring3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs index 6ac7430a02..0206982d28 100644 --- a/gen/monitoring3/src/lib.rs +++ b/gen/monitoring3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Monitoring* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Monitoring* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Monitoring* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/api/). @@ -81,9 +81,6 @@ //! ```toml //! [dependencies] //! google-monitoring3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/mybusiness4-cli/Cargo.toml b/gen/mybusiness4-cli/Cargo.toml index 7ed4afcdc6..b05862dd28 100644 --- a/gen/mybusiness4-cli/Cargo.toml +++ b/gen/mybusiness4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusiness4-cli" -version = "2.0.4+0" +version = "2.0.5+0" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusiness4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusiness4] path = "../mybusiness4" -version = "2.0.4+0" +version = "2.0.5+0" diff --git a/gen/mybusiness4-cli/README.md b/gen/mybusiness4-cli/README.md index 6d7d2f4487..4450fde60c 100644 --- a/gen/mybusiness4-cli/README.md +++ b/gen/mybusiness4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *My Business* API at revision *0*. The CLI is at version *2.0.4*. +This documentation was generated from the *My Business* API at revision *0*. The CLI is at version *2.0.5*. ```bash mybusiness4 [options] diff --git a/gen/mybusiness4-cli/mkdocs.yml b/gen/mybusiness4-cli/mkdocs.yml index 2220bb6399..7b0e9fa667 100644 --- a/gen/mybusiness4-cli/mkdocs.yml +++ b/gen/mybusiness4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business v2.0.4+0 +site_name: My Business v2.0.5+0 site_url: http://byron.github.io/google-apis-rs/google-mybusiness4-cli site_description: A complete library to interact with My Business (protocol v4) diff --git a/gen/mybusiness4-cli/src/main.rs b/gen/mybusiness4-cli/src/main.rs index a80425301b..35fddf6421 100644 --- a/gen/mybusiness4-cli/src/main.rs +++ b/gen/mybusiness4-cli/src/main.rs @@ -7419,7 +7419,7 @@ async fn main() { let mut app = App::new("mybusiness4") .author("Sebastian Thiel ") - .version("2.0.4+0") + .version("2.0.5+0") .about("The Google My Business API provides an interface for managing business location information on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusiness4_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusiness4/Cargo.toml b/gen/mybusiness4/Cargo.toml index 03bfd22fc3..a897419ab5 100644 --- a/gen/mybusiness4/Cargo.toml +++ b/gen/mybusiness4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusiness4" -version = "2.0.4+0" +version = "2.0.5+0" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusiness4" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusiness4/2.0.4+0" +documentation = "https://docs.rs/google-mybusiness4/2.0.5+0" license = "MIT" keywords = ["mybusiness", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/mybusiness4/README.md b/gen/mybusiness4/README.md index 1bdc3e9d7a..6a88e58bec 100644 --- a/gen/mybusiness4/README.md +++ b/gen/mybusiness4/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-mybusiness4` library allows access to all features of the *Google My Business* service. -This documentation was generated from *My Business* crate version *2.0.4+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *My Business* crate version *2.0.5+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *My Business* *v4* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/MyBusiness) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/MyBusiness) ... -* [accounts](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::Account) - * [*admins create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountCreateCall), [*delete notifications*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountDeleteNotificationCall), [*generate account number*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountGenerateAccountNumberCall), [*get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountGetCall), [*get notifications*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountGetNotificationCall), [*invitations accept*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountListCall), [*list recommend google locations*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountListRecommendGoogleLocationCall), [*locations admins create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationAdminCreateCall), [*locations admins delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationAdminDeleteCall), [*locations admins list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationAdminListCall), [*locations admins patch*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationAdminPatchCall), [*locations associate*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationAssociateCall), [*locations batch get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationBatchGetCall), [*locations batch get reviews*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationBatchGetReviewCall), [*locations clear association*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationClearAssociationCall), [*locations create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationCreateCall), [*locations delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationDeleteCall), [*locations fetch verification options*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationFetchVerificationOptionCall), [*locations find matches*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationFindMatcheCall), [*locations followers get metadata*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationFollowerGetMetadataCall), [*locations get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationGetCall), [*locations get google updated*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationGetGoogleUpdatedCall), [*locations list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationListCall), [*locations local posts create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationLocalPostCreateCall), [*locations local posts delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationLocalPostDeleteCall), [*locations local posts get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationLocalPostGetCall), [*locations local posts list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationLocalPostListCall), [*locations local posts patch*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationLocalPostPatchCall), [*locations local posts report insights*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationLocalPostReportInsightCall), [*locations media create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaCreateCall), [*locations media customers get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaCustomerGetCall), [*locations media customers list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaCustomerListCall), [*locations media delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaDeleteCall), [*locations media get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaGetCall), [*locations media list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaListCall), [*locations media patch*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaPatchCall), [*locations media start upload*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationMediaStartUploadCall), [*locations patch*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationPatchCall), [*locations questions answers delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionAnswerDeleteCall), [*locations questions answers list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionAnswerListCall), [*locations questions answers upsert*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionAnswerUpsertCall), [*locations questions create*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionCreateCall), [*locations questions delete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionDeleteCall), [*locations questions list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionListCall), [*locations questions patch*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationQuestionPatchCall), [*locations report insights*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationReportInsightCall), [*locations reviews delete reply*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationReviewDeleteReplyCall), [*locations reviews get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationReviewGetCall), [*locations reviews list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationReviewListCall), [*locations reviews update reply*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationReviewUpdateReplyCall), [*locations transfer*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationTransferCall), [*locations verifications complete*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationVerificationCompleteCall), [*locations verifications list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationVerificationListCall), [*locations verify*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountLocationVerifyCall), [*update*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountUpdateCall) and [*update notifications*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AccountUpdateNotificationCall) -* [attributes](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::Attribute) - * [*list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::AttributeListCall) -* [categories](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::Category) - * [*list*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::CategoryListCall) -* [chains](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::Chain) - * [*get*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::ChainSearchCall) -* [google locations](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::GoogleLocation) - * [*report*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::GoogleLocationReportCall) and [*search*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::GoogleLocationSearchCall) -* [verification tokens](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::VerificationToken) - * [*generate*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/api::VerificationTokenGenerateCall) +* [accounts](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::Account) + * [*admins create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountCreateCall), [*delete notifications*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountDeleteNotificationCall), [*generate account number*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountGenerateAccountNumberCall), [*get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountGetCall), [*get notifications*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountGetNotificationCall), [*invitations accept*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountListCall), [*list recommend google locations*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountListRecommendGoogleLocationCall), [*locations admins create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationAdminCreateCall), [*locations admins delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationAdminDeleteCall), [*locations admins list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationAdminListCall), [*locations admins patch*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationAdminPatchCall), [*locations associate*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationAssociateCall), [*locations batch get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationBatchGetCall), [*locations batch get reviews*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationBatchGetReviewCall), [*locations clear association*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationClearAssociationCall), [*locations create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationCreateCall), [*locations delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationDeleteCall), [*locations fetch verification options*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationFetchVerificationOptionCall), [*locations find matches*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationFindMatcheCall), [*locations followers get metadata*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationFollowerGetMetadataCall), [*locations get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationGetCall), [*locations get google updated*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationGetGoogleUpdatedCall), [*locations list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationListCall), [*locations local posts create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationLocalPostCreateCall), [*locations local posts delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationLocalPostDeleteCall), [*locations local posts get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationLocalPostGetCall), [*locations local posts list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationLocalPostListCall), [*locations local posts patch*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationLocalPostPatchCall), [*locations local posts report insights*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationLocalPostReportInsightCall), [*locations media create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaCreateCall), [*locations media customers get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaCustomerGetCall), [*locations media customers list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaCustomerListCall), [*locations media delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaDeleteCall), [*locations media get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaGetCall), [*locations media list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaListCall), [*locations media patch*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaPatchCall), [*locations media start upload*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationMediaStartUploadCall), [*locations patch*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationPatchCall), [*locations questions answers delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionAnswerDeleteCall), [*locations questions answers list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionAnswerListCall), [*locations questions answers upsert*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionAnswerUpsertCall), [*locations questions create*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionCreateCall), [*locations questions delete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionDeleteCall), [*locations questions list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionListCall), [*locations questions patch*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationQuestionPatchCall), [*locations report insights*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationReportInsightCall), [*locations reviews delete reply*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationReviewDeleteReplyCall), [*locations reviews get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationReviewGetCall), [*locations reviews list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationReviewListCall), [*locations reviews update reply*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationReviewUpdateReplyCall), [*locations transfer*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationTransferCall), [*locations verifications complete*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationVerificationCompleteCall), [*locations verifications list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationVerificationListCall), [*locations verify*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountLocationVerifyCall), [*update*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountUpdateCall) and [*update notifications*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AccountUpdateNotificationCall) +* [attributes](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::Attribute) + * [*list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::AttributeListCall) +* [categories](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::Category) + * [*list*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::CategoryListCall) +* [chains](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::Chain) + * [*get*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::ChainSearchCall) +* [google locations](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::GoogleLocation) + * [*report*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::GoogleLocationReportCall) and [*search*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::GoogleLocationSearchCall) +* [verification tokens](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::VerificationToken) + * [*generate*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/api::VerificationTokenGenerateCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/MyBusiness)** +* **[Hub](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/MyBusiness)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Part)** + * **[Parts](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,9 +136,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-mybusiness4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -203,17 +200,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Delegate), 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-mybusiness4/2.0.4+0/google_mybusiness4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::ResponseResult), 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")`. @@ -223,29 +220,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::CallBuilder) 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-mybusiness4/2.0.4+0/google_mybusiness4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Delegate) 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 [encodable](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::RequestValue) and -[decodable](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::RequestValue) and +[decodable](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusiness4/2.0.4+0/google_mybusiness4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::Part) 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-mybusiness4/2.0.4+0/google_mybusiness4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::CallBuilder), 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-mybusiness4/2.0.4+0/google_mybusiness4/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusiness4/2.0.5+0/google_mybusiness4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusiness4/src/api.rs b/gen/mybusiness4/src/api.rs index 5705ea6fc7..850f70da41 100644 --- a/gen/mybusiness4/src/api.rs +++ b/gen/mybusiness4/src/api.rs @@ -97,7 +97,7 @@ impl<'a, > MyBusiness<> { MyBusiness { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://mybusiness.googleapis.com/".to_string(), _root_url: "https://mybusiness.googleapis.com/".to_string(), } @@ -123,7 +123,7 @@ impl<'a, > MyBusiness<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/mybusiness4/src/client.rs b/gen/mybusiness4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/mybusiness4/src/client.rs +++ b/gen/mybusiness4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/mybusiness4/src/lib.rs b/gen/mybusiness4/src/lib.rs index b6224d8cee..cadc7eeefb 100644 --- a/gen/mybusiness4/src/lib.rs +++ b/gen/mybusiness4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business* crate version *2.0.4+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *My Business* crate version *2.0.5+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *My Business* *v4* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -136,9 +136,6 @@ //! ```toml //! [dependencies] //! google-mybusiness4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/mybusinessaccountmanagement1-cli/Cargo.toml b/gen/mybusinessaccountmanagement1-cli/Cargo.toml index 4d52f8ac6d..dfa7a2361e 100644 --- a/gen/mybusinessaccountmanagement1-cli/Cargo.toml +++ b/gen/mybusinessaccountmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessaccountmanagement1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Account Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessaccountmanagement1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessaccountmanagement1] path = "../mybusinessaccountmanagement1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/mybusinessaccountmanagement1-cli/README.md b/gen/mybusinessaccountmanagement1-cli/README.md index 899a957d37..75fffe2737 100644 --- a/gen/mybusinessaccountmanagement1-cli/README.md +++ b/gen/mybusinessaccountmanagement1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *My Business Account Management* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *My Business Account Management* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash mybusinessaccountmanagement1 [options] diff --git a/gen/mybusinessaccountmanagement1-cli/mkdocs.yml b/gen/mybusinessaccountmanagement1-cli/mkdocs.yml index 0d7fdac27c..4b15bea1a7 100644 --- a/gen/mybusinessaccountmanagement1-cli/mkdocs.yml +++ b/gen/mybusinessaccountmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Account Management v2.0.4+20210330 +site_name: My Business Account Management v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-mybusinessaccountmanagement1-cli site_description: A complete library to interact with My Business Account Management (protocol v1) diff --git a/gen/mybusinessaccountmanagement1-cli/src/main.rs b/gen/mybusinessaccountmanagement1-cli/src/main.rs index f295d6e750..f69ceced4c 100644 --- a/gen/mybusinessaccountmanagement1-cli/src/main.rs +++ b/gen/mybusinessaccountmanagement1-cli/src/main.rs @@ -1751,7 +1751,7 @@ async fn main() { let mut app = App::new("mybusinessaccountmanagement1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The My Business Account Management API provides an interface for managing access to a location on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessaccountmanagement1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessaccountmanagement1/Cargo.toml b/gen/mybusinessaccountmanagement1/Cargo.toml index c81950ad37..ad120ea245 100644 --- a/gen/mybusinessaccountmanagement1/Cargo.toml +++ b/gen/mybusinessaccountmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessaccountmanagement1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Account Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessaccountmanagement1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330" +documentation = "https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330" license = "MIT" keywords = ["mybusinessaccountman", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/mybusinessaccountmanagement1/README.md b/gen/mybusinessaccountmanagement1/README.md index ae4497bf92..8bce7c961a 100644 --- a/gen/mybusinessaccountmanagement1/README.md +++ b/gen/mybusinessaccountmanagement1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-mybusinessaccountmanagement1` library allows access to all features of the *Google My Business Account Management* service. -This documentation was generated from *My Business Account Management* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *My Business Account Management* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *My Business Account Management* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement) ... -* [accounts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::Account) - * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountCreateCall), [*get*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountGetCall), [*invitations accept*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountListCall) and [*patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::AccountPatchCall) +* [accounts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::Account) + * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountCreateCall), [*get*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountGetCall), [*invitations accept*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountListCall) and [*patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::AccountPatchCall) * locations - * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::LocationAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::LocationAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::LocationAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::LocationAdminPatchCall) and [*transfer location*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/api::LocationTransferLocationCall) + * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::LocationAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::LocationAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::LocationAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::LocationAdminPatchCall) and [*transfer location*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/api::LocationTransferLocationCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement)** +* **[Hub](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/MyBusinessAccountManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-mybusinessaccountmanagement1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Delegate), 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-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::CallBuilder) 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-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Delegate) 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 [encodable](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::Part) 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-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::CallBuilder), 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-mybusinessaccountmanagement1/2.0.4+20210330/google_mybusinessaccountmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessaccountmanagement1/2.0.5+20210330/google_mybusinessaccountmanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessaccountmanagement1/src/api.rs b/gen/mybusinessaccountmanagement1/src/api.rs index e007e9a445..1ea5eceb9a 100644 --- a/gen/mybusinessaccountmanagement1/src/api.rs +++ b/gen/mybusinessaccountmanagement1/src/api.rs @@ -96,7 +96,7 @@ impl<'a, > MyBusinessAccountManagement<> { MyBusinessAccountManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://mybusinessaccountmanagement.googleapis.com/".to_string(), _root_url: "https://mybusinessaccountmanagement.googleapis.com/".to_string(), } @@ -110,7 +110,7 @@ impl<'a, > MyBusinessAccountManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/mybusinessaccountmanagement1/src/client.rs b/gen/mybusinessaccountmanagement1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/mybusinessaccountmanagement1/src/client.rs +++ b/gen/mybusinessaccountmanagement1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/mybusinessaccountmanagement1/src/lib.rs b/gen/mybusinessaccountmanagement1/src/lib.rs index fbcf447fb1..cdbb659103 100644 --- a/gen/mybusinessaccountmanagement1/src/lib.rs +++ b/gen/mybusinessaccountmanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Account Management* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *My Business Account Management* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *My Business Account Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-mybusinessaccountmanagement1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/networkconnectivity1_alpha1-cli/Cargo.toml b/gen/networkconnectivity1_alpha1-cli/Cargo.toml index 3b1c4423d6..a32c670277 100644 --- a/gen/networkconnectivity1_alpha1-cli/Cargo.toml +++ b/gen/networkconnectivity1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networkconnectivity1_alpha1-cli" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with networkconnectivity (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkconnectivity1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networkconnectivity1_alpha1] path = "../networkconnectivity1_alpha1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" diff --git a/gen/networkconnectivity1_alpha1-cli/README.md b/gen/networkconnectivity1_alpha1-cli/README.md index 4c53f651d1..a6dc88471d 100644 --- a/gen/networkconnectivity1_alpha1-cli/README.md +++ b/gen/networkconnectivity1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *networkconnectivity* API at revision *20210324*. The CLI is at version *2.0.4*. +This documentation was generated from the *networkconnectivity* API at revision *20210324*. The CLI is at version *2.0.5*. ```bash networkconnectivity1-alpha1 [options] diff --git a/gen/networkconnectivity1_alpha1-cli/mkdocs.yml b/gen/networkconnectivity1_alpha1-cli/mkdocs.yml index 65c6935bfd..cf5896a549 100644 --- a/gen/networkconnectivity1_alpha1-cli/mkdocs.yml +++ b/gen/networkconnectivity1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: networkconnectivity v2.0.4+20210324 +site_name: networkconnectivity v2.0.5+20210324 site_url: http://byron.github.io/google-apis-rs/google-networkconnectivity1_alpha1-cli site_description: A complete library to interact with networkconnectivity (protocol v1alpha1) diff --git a/gen/networkconnectivity1_alpha1-cli/src/main.rs b/gen/networkconnectivity1_alpha1-cli/src/main.rs index 39bf52b698..11b0828d8a 100644 --- a/gen/networkconnectivity1_alpha1-cli/src/main.rs +++ b/gen/networkconnectivity1_alpha1-cli/src/main.rs @@ -2932,7 +2932,7 @@ async fn main() { let mut app = App::new("networkconnectivity1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20210324") + .version("2.0.5+20210324") .about("The Network Connectivity API will be home to various services which provide information pertaining to network connectivity.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networkconnectivity1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/networkconnectivity1_alpha1/Cargo.toml b/gen/networkconnectivity1_alpha1/Cargo.toml index 764824f7a7..160b4cbf78 100644 --- a/gen/networkconnectivity1_alpha1/Cargo.toml +++ b/gen/networkconnectivity1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkconnectivity1_alpha1" -version = "2.0.4+20210324" +version = "2.0.5+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with networkconnectivity (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkconnectivity1_alpha1" homepage = "https://cloud.google.com/network-connectivity/docs" -documentation = "https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324" +documentation = "https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324" license = "MIT" keywords = ["networkconnectivity", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/networkconnectivity1_alpha1/README.md b/gen/networkconnectivity1_alpha1/README.md index e0f1689152..c286a81632 100644 --- a/gen/networkconnectivity1_alpha1/README.md +++ b/gen/networkconnectivity1_alpha1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networkconnectivity1_alpha1` library allows access to all features of the *Google networkconnectivity* service. -This documentation was generated from *networkconnectivity* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *networkconnectivity* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *networkconnectivity* *v1_alpha1* API can be found at the [official documentation site](https://cloud.google.com/network-connectivity/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/Networkconnectivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/Networkconnectivity) ... * projects - * [*locations get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations internal ranges get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeGetIamPolicyCall), [*locations internal ranges set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeSetIamPolicyCall), [*locations internal ranges test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationListCall), [*locations policy based routes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteGetIamPolicyCall), [*locations policy based routes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteSetIamPolicyCall), [*locations policy based routes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteTestIamPermissionCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations internal ranges get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeGetIamPolicyCall), [*locations internal ranges set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeSetIamPolicyCall), [*locations internal ranges test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationOperationListCall), [*locations policy based routes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteGetIamPolicyCall), [*locations policy based routes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteSetIamPolicyCall), [*locations policy based routes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationPolicyBasedRouteTestIamPermissionCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/Networkconnectivity)** +* **[Hub](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/Networkconnectivity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-networkconnectivity1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Delegate), 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-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::CallBuilder) 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-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::Part) 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-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::CallBuilder), 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-networkconnectivity1_alpha1/2.0.4+20210324/google_networkconnectivity1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkconnectivity1_alpha1/2.0.5+20210324/google_networkconnectivity1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networkconnectivity1_alpha1/src/api.rs b/gen/networkconnectivity1_alpha1/src/api.rs index 5271de5045..17f2888a3f 100644 --- a/gen/networkconnectivity1_alpha1/src/api.rs +++ b/gen/networkconnectivity1_alpha1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > Networkconnectivity<> { Networkconnectivity { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://networkconnectivity.googleapis.com/".to_string(), _root_url: "https://networkconnectivity.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > Networkconnectivity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/networkconnectivity1_alpha1/src/client.rs b/gen/networkconnectivity1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/networkconnectivity1_alpha1/src/client.rs +++ b/gen/networkconnectivity1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/networkconnectivity1_alpha1/src/lib.rs b/gen/networkconnectivity1_alpha1/src/lib.rs index 056da83c06..58d2b2a731 100644 --- a/gen/networkconnectivity1_alpha1/src/lib.rs +++ b/gen/networkconnectivity1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *networkconnectivity* crate version *2.0.4+20210324*, where *20210324* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *networkconnectivity* crate version *2.0.5+20210324*, where *20210324* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *networkconnectivity* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/network-connectivity/docs). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-networkconnectivity1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/networkmanagement1-cli/Cargo.toml b/gen/networkmanagement1-cli/Cargo.toml index d9c34d45e4..2ac2bfe172 100644 --- a/gen/networkmanagement1-cli/Cargo.toml +++ b/gen/networkmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networkmanagement1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Network Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkmanagement1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networkmanagement1] path = "../networkmanagement1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/networkmanagement1-cli/README.md b/gen/networkmanagement1-cli/README.md index 98e188125c..fb705fe968 100644 --- a/gen/networkmanagement1-cli/README.md +++ b/gen/networkmanagement1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Network Management* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Network Management* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash networkmanagement1 [options] diff --git a/gen/networkmanagement1-cli/mkdocs.yml b/gen/networkmanagement1-cli/mkdocs.yml index 11c505c81c..3f562a1784 100644 --- a/gen/networkmanagement1-cli/mkdocs.yml +++ b/gen/networkmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Network Management v2.0.4+20210325 +site_name: Network Management v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-networkmanagement1-cli site_description: A complete library to interact with Network Management (protocol v1) diff --git a/gen/networkmanagement1-cli/src/main.rs b/gen/networkmanagement1-cli/src/main.rs index a8495373ab..eeff009b53 100644 --- a/gen/networkmanagement1-cli/src/main.rs +++ b/gen/networkmanagement1-cli/src/main.rs @@ -1612,7 +1612,7 @@ async fn main() { let mut app = App::new("networkmanagement1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networkmanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/networkmanagement1/Cargo.toml b/gen/networkmanagement1/Cargo.toml index 5a0dee7e51..0f1374b5bb 100644 --- a/gen/networkmanagement1/Cargo.toml +++ b/gen/networkmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkmanagement1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Network Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkmanagement1" homepage = "https://cloud.google.com/" -documentation = "https://docs.rs/google-networkmanagement1/2.0.4+20210325" +documentation = "https://docs.rs/google-networkmanagement1/2.0.5+20210325" license = "MIT" keywords = ["networkmanagement", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/networkmanagement1/README.md b/gen/networkmanagement1/README.md index 6acf5f8c15..d329111ea0 100644 --- a/gen/networkmanagement1/README.md +++ b/gen/networkmanagement1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networkmanagement1` library allows access to all features of the *Google Network Management* service. -This documentation was generated from *Network Management* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Network Management* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Network Management* *v1* API can be found at the [official documentation site](https://cloud.google.com/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/NetworkManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/NetworkManagement) ... * projects - * [*locations get*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGetCall), [*locations global connectivity tests create*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestCreateCall), [*locations global connectivity tests delete*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestDeleteCall), [*locations global connectivity tests get*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetCall), [*locations global connectivity tests get iam policy*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetIamPolicyCall), [*locations global connectivity tests list*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestListCall), [*locations global connectivity tests patch*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestPatchCall), [*locations global connectivity tests rerun*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestRerunCall), [*locations global connectivity tests set iam policy*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestSetIamPolicyCall), [*locations global connectivity tests test iam permissions*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestTestIamPermissionCall), [*locations global operations cancel*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGetCall), [*locations global connectivity tests create*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestCreateCall), [*locations global connectivity tests delete*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestDeleteCall), [*locations global connectivity tests get*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetCall), [*locations global connectivity tests get iam policy*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetIamPolicyCall), [*locations global connectivity tests list*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestListCall), [*locations global connectivity tests patch*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestPatchCall), [*locations global connectivity tests rerun*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestRerunCall), [*locations global connectivity tests set iam policy*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestSetIamPolicyCall), [*locations global connectivity tests test iam permissions*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestTestIamPermissionCall), [*locations global operations cancel*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/NetworkManagement)** +* **[Hub](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/NetworkManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-networkmanagement1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Delegate), 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-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::CallBuilder) 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-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Delegate) 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 [encodable](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::Part) 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-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::CallBuilder), 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-networkmanagement1/2.0.4+20210325/google_networkmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkmanagement1/2.0.5+20210325/google_networkmanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networkmanagement1/src/api.rs b/gen/networkmanagement1/src/api.rs index 6c4cab7daf..e2045a31dc 100644 --- a/gen/networkmanagement1/src/api.rs +++ b/gen/networkmanagement1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > NetworkManagement<> { NetworkManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://networkmanagement.googleapis.com/".to_string(), _root_url: "https://networkmanagement.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > NetworkManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/networkmanagement1/src/client.rs b/gen/networkmanagement1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/networkmanagement1/src/client.rs +++ b/gen/networkmanagement1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/networkmanagement1/src/lib.rs b/gen/networkmanagement1/src/lib.rs index 5ce885e6ea..980d81db33 100644 --- a/gen/networkmanagement1/src/lib.rs +++ b/gen/networkmanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Network Management* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Network Management* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Network Management* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-networkmanagement1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/notebooks1-cli/Cargo.toml b/gen/notebooks1-cli/Cargo.toml index d4a82cd4ff..eefdb97542 100644 --- a/gen/notebooks1-cli/Cargo.toml +++ b/gen/notebooks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-notebooks1-cli" -version = "2.0.4+20210305" +version = "2.0.5+20210305" authors = ["Sebastian Thiel "] description = "A complete library to interact with AI Platform Notebooks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/notebooks1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-notebooks1] path = "../notebooks1" -version = "2.0.4+20210305" +version = "2.0.5+20210305" diff --git a/gen/notebooks1-cli/README.md b/gen/notebooks1-cli/README.md index ef9bfffede..755c3a1304 100644 --- a/gen/notebooks1-cli/README.md +++ b/gen/notebooks1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AI Platform Notebooks* API at revision *20210305*. The CLI is at version *2.0.4*. +This documentation was generated from the *AI Platform Notebooks* API at revision *20210305*. The CLI is at version *2.0.5*. ```bash notebooks1 [options] diff --git a/gen/notebooks1-cli/mkdocs.yml b/gen/notebooks1-cli/mkdocs.yml index 13e529b636..94c0fede59 100644 --- a/gen/notebooks1-cli/mkdocs.yml +++ b/gen/notebooks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AI Platform Notebooks v2.0.4+20210305 +site_name: AI Platform Notebooks v2.0.5+20210305 site_url: http://byron.github.io/google-apis-rs/google-notebooks1-cli site_description: A complete library to interact with AI Platform Notebooks (protocol v1) diff --git a/gen/notebooks1-cli/src/main.rs b/gen/notebooks1-cli/src/main.rs index 087a00c2fa..a3cb1c5c4c 100644 --- a/gen/notebooks1-cli/src/main.rs +++ b/gen/notebooks1-cli/src/main.rs @@ -3914,7 +3914,7 @@ async fn main() { let mut app = App::new("notebooks1") .author("Sebastian Thiel ") - .version("2.0.4+20210305") + .version("2.0.5+20210305") .about("AI Platform Notebooks API is used to manage notebook resources in Google Cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_notebooks1_cli") .arg(Arg::with_name("url") diff --git a/gen/notebooks1/Cargo.toml b/gen/notebooks1/Cargo.toml index 996ef19136..d6f221b554 100644 --- a/gen/notebooks1/Cargo.toml +++ b/gen/notebooks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-notebooks1" -version = "2.0.4+20210305" +version = "2.0.5+20210305" authors = ["Sebastian Thiel "] description = "A complete library to interact with AI Platform Notebooks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/notebooks1" homepage = "https://cloud.google.com/ai-platform/notebooks/docs/" -documentation = "https://docs.rs/google-notebooks1/2.0.4+20210305" +documentation = "https://docs.rs/google-notebooks1/2.0.5+20210305" license = "MIT" keywords = ["notebooks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/notebooks1/README.md b/gen/notebooks1/README.md index a603ca68e7..c2b9aa6350 100644 --- a/gen/notebooks1/README.md +++ b/gen/notebooks1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-notebooks1` library allows access to all features of the *Google AI Platform Notebooks* service. -This documentation was generated from *AI Platform Notebooks* crate version *2.0.4+20210305*, where *20210305* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *AI Platform Notebooks* crate version *2.0.5+20210305*, where *20210305* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *AI Platform Notebooks* *v1* API can be found at the [official documentation site](https://cloud.google.com/ai-platform/notebooks/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/AIPlatformNotebooks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/AIPlatformNotebooks) ... * projects - * [*locations environments create*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationEnvironmentListCall), [*locations executions create*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationExecutionCreateCall), [*locations executions delete*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationExecutionDeleteCall), [*locations executions get*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationExecutionGetCall), [*locations executions list*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationExecutionListCall), [*locations get*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances get instance health*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceGetInstanceHealthCall), [*locations instances is upgradeable*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceIsUpgradeableCall), [*locations instances list*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceListCall), [*locations instances register*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceRegisterCall), [*locations instances report*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceReportCall), [*locations instances reset*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceResetCall), [*locations instances set accelerator*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceSetAcceleratorCall), [*locations instances set iam policy*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances set labels*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceSetLabelCall), [*locations instances set machine type*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceSetMachineTypeCall), [*locations instances start*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceStartCall), [*locations instances stop*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceStopCall), [*locations instances test iam permissions*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceUpgradeCall), [*locations instances upgrade internal*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationInstanceUpgradeInternalCall), [*locations list*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationOperationListCall), [*locations schedules create*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationScheduleCreateCall), [*locations schedules delete*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationScheduleDeleteCall), [*locations schedules get*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationScheduleGetCall), [*locations schedules list*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationScheduleListCall) and [*locations schedules trigger*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/api::ProjectLocationScheduleTriggerCall) + * [*locations environments create*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationEnvironmentListCall), [*locations executions create*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationExecutionCreateCall), [*locations executions delete*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationExecutionDeleteCall), [*locations executions get*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationExecutionGetCall), [*locations executions list*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationExecutionListCall), [*locations get*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances get instance health*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceGetInstanceHealthCall), [*locations instances is upgradeable*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceIsUpgradeableCall), [*locations instances list*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceListCall), [*locations instances register*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceRegisterCall), [*locations instances report*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceReportCall), [*locations instances reset*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceResetCall), [*locations instances set accelerator*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceSetAcceleratorCall), [*locations instances set iam policy*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances set labels*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceSetLabelCall), [*locations instances set machine type*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceSetMachineTypeCall), [*locations instances start*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceStartCall), [*locations instances stop*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceStopCall), [*locations instances test iam permissions*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceUpgradeCall), [*locations instances upgrade internal*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationInstanceUpgradeInternalCall), [*locations list*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationOperationListCall), [*locations schedules create*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationScheduleCreateCall), [*locations schedules delete*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationScheduleDeleteCall), [*locations schedules get*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationScheduleGetCall), [*locations schedules list*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationScheduleListCall) and [*locations schedules trigger*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/api::ProjectLocationScheduleTriggerCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/AIPlatformNotebooks)** +* **[Hub](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/AIPlatformNotebooks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Part)** + * **[Parts](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -83,9 +83,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-notebooks1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -152,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Delegate), 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-notebooks1/2.0.4+20210305/google_notebooks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::ResponseResult), 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")`. @@ -172,29 +169,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::CallBuilder) 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-notebooks1/2.0.4+20210305/google_notebooks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Delegate) 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 [encodable](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::RequestValue) and -[decodable](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::RequestValue) and +[decodable](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-notebooks1/2.0.4+20210305/google_notebooks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::Part) 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-notebooks1/2.0.4+20210305/google_notebooks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::CallBuilder), 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-notebooks1/2.0.4+20210305/google_notebooks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-notebooks1/2.0.5+20210305/google_notebooks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/notebooks1/src/api.rs b/gen/notebooks1/src/api.rs index 9ffa9bbb0b..a13cd8af0a 100644 --- a/gen/notebooks1/src/api.rs +++ b/gen/notebooks1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > AIPlatformNotebooks<> { AIPlatformNotebooks { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://notebooks.googleapis.com/".to_string(), _root_url: "https://notebooks.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > AIPlatformNotebooks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/notebooks1/src/client.rs b/gen/notebooks1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/notebooks1/src/client.rs +++ b/gen/notebooks1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/notebooks1/src/lib.rs b/gen/notebooks1/src/lib.rs index a328ac925e..7a07e331e4 100644 --- a/gen/notebooks1/src/lib.rs +++ b/gen/notebooks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AI Platform Notebooks* crate version *2.0.4+20210305*, where *20210305* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *AI Platform Notebooks* crate version *2.0.5+20210305*, where *20210305* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *AI Platform Notebooks* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/ai-platform/notebooks/docs/). @@ -83,9 +83,6 @@ //! ```toml //! [dependencies] //! google-notebooks1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/ondemandscanning1-cli/Cargo.toml b/gen/ondemandscanning1-cli/Cargo.toml index 88a4045f0a..abe9c58ad7 100644 --- a/gen/ondemandscanning1-cli/Cargo.toml +++ b/gen/ondemandscanning1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ondemandscanning1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with On-Demand Scanning (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ondemandscanning1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-ondemandscanning1] path = "../ondemandscanning1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/ondemandscanning1-cli/README.md b/gen/ondemandscanning1-cli/README.md index 6893679daf..4c39f68855 100644 --- a/gen/ondemandscanning1-cli/README.md +++ b/gen/ondemandscanning1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *On-Demand Scanning* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *On-Demand Scanning* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash ondemandscanning1 [options] diff --git a/gen/ondemandscanning1-cli/mkdocs.yml b/gen/ondemandscanning1-cli/mkdocs.yml index 7dc75711d6..def9e65cd7 100644 --- a/gen/ondemandscanning1-cli/mkdocs.yml +++ b/gen/ondemandscanning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: On-Demand Scanning v2.0.4+20210329 +site_name: On-Demand Scanning v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-ondemandscanning1-cli site_description: A complete library to interact with On-Demand Scanning (protocol v1) diff --git a/gen/ondemandscanning1-cli/src/main.rs b/gen/ondemandscanning1-cli/src/main.rs index f5a16d6083..671e47f570 100644 --- a/gen/ondemandscanning1-cli/src/main.rs +++ b/gen/ondemandscanning1-cli/src/main.rs @@ -731,7 +731,7 @@ async fn main() { let mut app = App::new("ondemandscanning1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("A service to scan container images for vulnerabilities.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ondemandscanning1_cli") .arg(Arg::with_name("url") diff --git a/gen/ondemandscanning1/Cargo.toml b/gen/ondemandscanning1/Cargo.toml index 8fcdbb2c01..6b12515446 100644 --- a/gen/ondemandscanning1/Cargo.toml +++ b/gen/ondemandscanning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ondemandscanning1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with On-Demand Scanning (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ondemandscanning1" homepage = "https://cloud.google.com/container-analysis/docs/on-demand-scanning/" -documentation = "https://docs.rs/google-ondemandscanning1/2.0.4+20210329" +documentation = "https://docs.rs/google-ondemandscanning1/2.0.5+20210329" license = "MIT" keywords = ["ondemandscanning", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/ondemandscanning1/README.md b/gen/ondemandscanning1/README.md index 384465da7c..b2961b3b6e 100644 --- a/gen/ondemandscanning1/README.md +++ b/gen/ondemandscanning1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ondemandscanning1` library allows access to all features of the *Google On-Demand Scanning* service. -This documentation was generated from *On-Demand Scanning* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *On-Demand Scanning* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *On-Demand Scanning* *v1* API can be found at the [official documentation site](https://cloud.google.com/container-analysis/docs/on-demand-scanning/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/OnDemandScanning) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/OnDemandScanning) ... * projects - * [*locations operations cancel*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationOperationWaitCall), [*locations scans analyze packages*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationScanAnalyzePackageCall) and [*locations scans vulnerabilities list*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/api::ProjectLocationScanVulnerabilityListCall) + * [*locations operations cancel*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationOperationWaitCall), [*locations scans analyze packages*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationScanAnalyzePackageCall) and [*locations scans vulnerabilities list*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/api::ProjectLocationScanVulnerabilityListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/OnDemandScanning)** +* **[Hub](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/OnDemandScanning)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::CallBuilder) +* **[Resources](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Part)** + * **[Parts](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-ondemandscanning1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -129,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Delegate), 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-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Delegate) to the +[Method Builder](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::CallBuilder) 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-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Delegate) 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 [encodable](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::RequestValue) and -[decodable](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::RequestValue) and +[decodable](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::Part) 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-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::CallBuilder), 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-ondemandscanning1/2.0.4+20210329/google_ondemandscanning1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ondemandscanning1/2.0.5+20210329/google_ondemandscanning1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ondemandscanning1/src/api.rs b/gen/ondemandscanning1/src/api.rs index e3ec508cce..fc5920ae96 100644 --- a/gen/ondemandscanning1/src/api.rs +++ b/gen/ondemandscanning1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > OnDemandScanning<> { OnDemandScanning { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://ondemandscanning.googleapis.com/".to_string(), _root_url: "https://ondemandscanning.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > OnDemandScanning<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/ondemandscanning1/src/client.rs b/gen/ondemandscanning1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/ondemandscanning1/src/client.rs +++ b/gen/ondemandscanning1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/ondemandscanning1/src/lib.rs b/gen/ondemandscanning1/src/lib.rs index 4f93d6ffec..f188748a07 100644 --- a/gen/ondemandscanning1/src/lib.rs +++ b/gen/ondemandscanning1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *On-Demand Scanning* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *On-Demand Scanning* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *On-Demand Scanning* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-analysis/docs/on-demand-scanning/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-ondemandscanning1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/orgpolicy2-cli/Cargo.toml b/gen/orgpolicy2-cli/Cargo.toml index ff09cbfd01..97a7125090 100644 --- a/gen/orgpolicy2-cli/Cargo.toml +++ b/gen/orgpolicy2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-orgpolicy2-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with OrgPolicy API (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/orgpolicy2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-orgpolicy2] path = "../orgpolicy2" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/orgpolicy2-cli/README.md b/gen/orgpolicy2-cli/README.md index 02d10e2040..5b25bec086 100644 --- a/gen/orgpolicy2-cli/README.md +++ b/gen/orgpolicy2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *OrgPolicy API* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *OrgPolicy API* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash orgpolicy2 [options] diff --git a/gen/orgpolicy2-cli/mkdocs.yml b/gen/orgpolicy2-cli/mkdocs.yml index 61195a2a0c..d5b6fb6944 100644 --- a/gen/orgpolicy2-cli/mkdocs.yml +++ b/gen/orgpolicy2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: OrgPolicy API v2.0.4+20210330 +site_name: OrgPolicy API v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-orgpolicy2-cli site_description: A complete library to interact with OrgPolicy API (protocol v2) diff --git a/gen/orgpolicy2-cli/src/main.rs b/gen/orgpolicy2-cli/src/main.rs index 1250059bfd..d132e7428b 100644 --- a/gen/orgpolicy2-cli/src/main.rs +++ b/gen/orgpolicy2-cli/src/main.rs @@ -2071,7 +2071,7 @@ async fn main() { let mut app = App::new("orgpolicy2") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The Org Policy API allows users to configure governance ruleson their GCP resources across the Cloud Resource Hierarchy.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_orgpolicy2_cli") .arg(Arg::with_name("url") diff --git a/gen/orgpolicy2/Cargo.toml b/gen/orgpolicy2/Cargo.toml index 2b8397e4db..fd723e9dad 100644 --- a/gen/orgpolicy2/Cargo.toml +++ b/gen/orgpolicy2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-orgpolicy2" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with OrgPolicy API (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/orgpolicy2" homepage = "https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints" -documentation = "https://docs.rs/google-orgpolicy2/2.0.4+20210330" +documentation = "https://docs.rs/google-orgpolicy2/2.0.5+20210330" license = "MIT" keywords = ["orgpolicy", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/orgpolicy2/README.md b/gen/orgpolicy2/README.md index fe21bbc159..89db49a603 100644 --- a/gen/orgpolicy2/README.md +++ b/gen/orgpolicy2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-orgpolicy2` library allows access to all features of the *Google OrgPolicy API* service. -This documentation was generated from *OrgPolicy API* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *OrgPolicy API* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *OrgPolicy API* *v2* API can be found at the [official documentation site](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/OrgPolicyAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/OrgPolicyAPI) ... * folders - * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::FolderPolicyPatchCall) + * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::FolderPolicyPatchCall) * organizations - * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::OrganizationPolicyPatchCall) + * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::OrganizationPolicyPatchCall) * projects - * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/api::ProjectPolicyPatchCall) + * [*constraints list*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/api::ProjectPolicyPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/OrgPolicyAPI)** +* **[Hub](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/OrgPolicyAPI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::CallBuilder) -* **[Resources](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::CallBuilder) +* **[Resources](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Part)** + * **[Parts](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -79,9 +79,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-orgpolicy2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -147,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Delegate), 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-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::ResponseResult), 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")`. @@ -167,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Delegate) to the -[Method Builder](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Delegate) to the +[Method Builder](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::CallBuilder) 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-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Delegate) 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 [encodable](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::RequestValue) and -[decodable](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::RequestValue) and +[decodable](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::Part) 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-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::CallBuilder), 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-orgpolicy2/2.0.4+20210330/google_orgpolicy2/client::RequestValue) are moved +* [request values](https://docs.rs/google-orgpolicy2/2.0.5+20210330/google_orgpolicy2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/orgpolicy2/src/api.rs b/gen/orgpolicy2/src/api.rs index 7950194bce..8018b72e7d 100644 --- a/gen/orgpolicy2/src/api.rs +++ b/gen/orgpolicy2/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > OrgPolicyAPI<> { OrgPolicyAPI { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://orgpolicy.googleapis.com/".to_string(), _root_url: "https://orgpolicy.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > OrgPolicyAPI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/orgpolicy2/src/client.rs b/gen/orgpolicy2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/orgpolicy2/src/client.rs +++ b/gen/orgpolicy2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/orgpolicy2/src/lib.rs b/gen/orgpolicy2/src/lib.rs index 1ce23b97a8..fd7ca4f29e 100644 --- a/gen/orgpolicy2/src/lib.rs +++ b/gen/orgpolicy2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *OrgPolicy API* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *OrgPolicy API* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *OrgPolicy API* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints). @@ -79,9 +79,6 @@ //! ```toml //! [dependencies] //! google-orgpolicy2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/oslogin1-cli/Cargo.toml b/gen/oslogin1-cli/Cargo.toml index c99331e1ad..47a2a2b012 100644 --- a/gen/oslogin1-cli/Cargo.toml +++ b/gen/oslogin1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-oslogin1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-oslogin1] path = "../oslogin1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/oslogin1-cli/README.md b/gen/oslogin1-cli/README.md index af72f8a8bc..4aa4accbb6 100644 --- a/gen/oslogin1-cli/README.md +++ b/gen/oslogin1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud OS Login* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud OS Login* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash oslogin1 [options] diff --git a/gen/oslogin1-cli/mkdocs.yml b/gen/oslogin1-cli/mkdocs.yml index 26f03c4d2a..26053ac397 100644 --- a/gen/oslogin1-cli/mkdocs.yml +++ b/gen/oslogin1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v2.0.4+20210316 +site_name: Cloud OS Login v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-oslogin1-cli site_description: A complete library to interact with Cloud OS Login (protocol v1) diff --git a/gen/oslogin1-cli/src/main.rs b/gen/oslogin1-cli/src/main.rs index 7569c1cb6d..937eb8b534 100644 --- a/gen/oslogin1-cli/src/main.rs +++ b/gen/oslogin1-cli/src/main.rs @@ -693,7 +693,7 @@ async fn main() { let mut app = App::new("oslogin1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("You can use OS Login to manage access to your VM instances using IAM roles.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_oslogin1_cli") .arg(Arg::with_name("url") diff --git a/gen/oslogin1/Cargo.toml b/gen/oslogin1/Cargo.toml index a1f191d6c1..dd23fac564 100644 --- a/gen/oslogin1/Cargo.toml +++ b/gen/oslogin1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1" homepage = "https://cloud.google.com/compute/docs/oslogin/" -documentation = "https://docs.rs/google-oslogin1/2.0.4+20210316" +documentation = "https://docs.rs/google-oslogin1/2.0.5+20210316" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/oslogin1/README.md b/gen/oslogin1/README.md index e96bc382c4..2e7bd772f9 100644 --- a/gen/oslogin1/README.md +++ b/gen/oslogin1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-oslogin1` library allows access to all features of the *Google Cloud OS Login* service. -This documentation was generated from *Cloud OS Login* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud OS Login* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud OS Login* *v1* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/oslogin/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/CloudOSLogin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/CloudOSLogin) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/api::UserProjectDeleteCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/api::UserSshPublicKeyPatchCall) + * [*get login profile*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/api::UserProjectDeleteCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/api::UserSshPublicKeyPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/CloudOSLogin)** +* **[Hub](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/CloudOSLogin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::CallBuilder) -* **[Resources](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::CallBuilder) +* **[Resources](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Part)** + * **[Parts](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-oslogin1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Delegate), 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-oslogin1/2.0.4+20210316/google_oslogin1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Delegate) to the -[Method Builder](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Delegate) to the +[Method Builder](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::CallBuilder) 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-oslogin1/2.0.4+20210316/google_oslogin1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Delegate) 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 [encodable](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::RequestValue) and -[decodable](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::RequestValue) and +[decodable](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-oslogin1/2.0.4+20210316/google_oslogin1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::Part) 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-oslogin1/2.0.4+20210316/google_oslogin1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::CallBuilder), 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-oslogin1/2.0.4+20210316/google_oslogin1/client::RequestValue) are moved +* [request values](https://docs.rs/google-oslogin1/2.0.5+20210316/google_oslogin1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/oslogin1/src/api.rs b/gen/oslogin1/src/api.rs index 6e8721651c..334f816662 100644 --- a/gen/oslogin1/src/api.rs +++ b/gen/oslogin1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > CloudOSLogin<> { CloudOSLogin { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://oslogin.googleapis.com/".to_string(), _root_url: "https://oslogin.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudOSLogin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/oslogin1/src/client.rs b/gen/oslogin1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/oslogin1/src/client.rs +++ b/gen/oslogin1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/oslogin1/src/lib.rs b/gen/oslogin1/src/lib.rs index 4166cf9ac2..4e596f65eb 100644 --- a/gen/oslogin1/src/lib.rs +++ b/gen/oslogin1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud OS Login* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud OS Login* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud OS Login* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/oslogin/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-oslogin1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/oslogin1_beta-cli/Cargo.toml b/gen/oslogin1_beta-cli/Cargo.toml index c3c47e0cd0..f8639741ba 100644 --- a/gen/oslogin1_beta-cli/Cargo.toml +++ b/gen/oslogin1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-oslogin1_beta-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1_beta-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-oslogin1_beta] path = "../oslogin1_beta" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/oslogin1_beta-cli/README.md b/gen/oslogin1_beta-cli/README.md index d230cd15ae..ace4522e83 100644 --- a/gen/oslogin1_beta-cli/README.md +++ b/gen/oslogin1_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud OS Login* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud OS Login* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash oslogin1-beta [options] diff --git a/gen/oslogin1_beta-cli/mkdocs.yml b/gen/oslogin1_beta-cli/mkdocs.yml index 3646f88cad..580466743b 100644 --- a/gen/oslogin1_beta-cli/mkdocs.yml +++ b/gen/oslogin1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v2.0.4+20210316 +site_name: Cloud OS Login v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-oslogin1_beta-cli site_description: A complete library to interact with Cloud OS Login (protocol v1beta) diff --git a/gen/oslogin1_beta-cli/src/main.rs b/gen/oslogin1_beta-cli/src/main.rs index a5a92dfca8..24956cb28e 100644 --- a/gen/oslogin1_beta-cli/src/main.rs +++ b/gen/oslogin1_beta-cli/src/main.rs @@ -693,7 +693,7 @@ async fn main() { let mut app = App::new("oslogin1-beta") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("You can use OS Login to manage access to your VM instances using IAM roles.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_oslogin1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/oslogin1_beta/Cargo.toml b/gen/oslogin1_beta/Cargo.toml index f25a7b9f5f..5047ede859 100644 --- a/gen/oslogin1_beta/Cargo.toml +++ b/gen/oslogin1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1_beta" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1_beta" homepage = "https://cloud.google.com/compute/docs/oslogin/" -documentation = "https://docs.rs/google-oslogin1_beta/2.0.4+20210316" +documentation = "https://docs.rs/google-oslogin1_beta/2.0.5+20210316" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/oslogin1_beta/README.md b/gen/oslogin1_beta/README.md index c277664aea..7bbe2416cf 100644 --- a/gen/oslogin1_beta/README.md +++ b/gen/oslogin1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-oslogin1_beta` library allows access to all features of the *Google Cloud OS Login* service. -This documentation was generated from *Cloud OS Login* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud OS Login* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud OS Login* *v1_beta* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/oslogin/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/CloudOSLogin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/CloudOSLogin) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/api::UserProjectDeleteCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/api::UserSshPublicKeyPatchCall) + * [*get login profile*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/api::UserProjectDeleteCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/api::UserSshPublicKeyPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/CloudOSLogin)** +* **[Hub](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/CloudOSLogin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Part)** + * **[Parts](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-oslogin1_beta = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Delegate), 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-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::CallBuilder) 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-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Delegate) 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 [encodable](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::Part) 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-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::CallBuilder), 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-oslogin1_beta/2.0.4+20210316/google_oslogin1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-oslogin1_beta/2.0.5+20210316/google_oslogin1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/oslogin1_beta/src/api.rs b/gen/oslogin1_beta/src/api.rs index 777423a35d..ee2d1f0a3d 100644 --- a/gen/oslogin1_beta/src/api.rs +++ b/gen/oslogin1_beta/src/api.rs @@ -133,7 +133,7 @@ impl<'a, > CloudOSLogin<> { CloudOSLogin { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://oslogin.googleapis.com/".to_string(), _root_url: "https://oslogin.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > CloudOSLogin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/oslogin1_beta/src/client.rs b/gen/oslogin1_beta/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/oslogin1_beta/src/client.rs +++ b/gen/oslogin1_beta/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/oslogin1_beta/src/lib.rs b/gen/oslogin1_beta/src/lib.rs index 947d361b39..76c00c4cbe 100644 --- a/gen/oslogin1_beta/src/lib.rs +++ b/gen/oslogin1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud OS Login* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud OS Login* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud OS Login* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/oslogin/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-oslogin1_beta = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/pagespeedonline2-cli/Cargo.toml b/gen/pagespeedonline2-cli/Cargo.toml index b32ab0444f..bf9b0fff8e 100644 --- a/gen/pagespeedonline2-cli/Cargo.toml +++ b/gen/pagespeedonline2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline2-cli" -version = "2.0.4+20191206" +version = "2.0.5+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pagespeedonline2] path = "../pagespeedonline2" -version = "2.0.4+20191206" +version = "2.0.5+20191206" diff --git a/gen/pagespeedonline2-cli/README.md b/gen/pagespeedonline2-cli/README.md index 91c2fdb9e5..f2a9da9000 100644 --- a/gen/pagespeedonline2-cli/README.md +++ b/gen/pagespeedonline2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *2.0.4*. +This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *2.0.5*. ```bash pagespeedonline2 [options] diff --git a/gen/pagespeedonline2-cli/mkdocs.yml b/gen/pagespeedonline2-cli/mkdocs.yml index 19f2ee146e..8344a5bc30 100644 --- a/gen/pagespeedonline2-cli/mkdocs.yml +++ b/gen/pagespeedonline2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v2.0.4+20191206 +site_name: pagespeedonline v2.0.5+20191206 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline2-cli site_description: A complete library to interact with pagespeedonline (protocol v2) diff --git a/gen/pagespeedonline2-cli/src/main.rs b/gen/pagespeedonline2-cli/src/main.rs index 0fd369bda8..823ee0b1aa 100644 --- a/gen/pagespeedonline2-cli/src/main.rs +++ b/gen/pagespeedonline2-cli/src/main.rs @@ -219,7 +219,7 @@ async fn main() { let mut app = App::new("pagespeedonline2") .author("Sebastian Thiel ") - .version("2.0.4+20191206") + .version("2.0.5+20191206") .about("Analyzes the performance of a web page and provides tailored suggestions to make that page faster.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline2_cli") .arg(Arg::with_name("folder") diff --git a/gen/pagespeedonline2/Cargo.toml b/gen/pagespeedonline2/Cargo.toml index ee2900e31a..d2858665aa 100644 --- a/gen/pagespeedonline2/Cargo.toml +++ b/gen/pagespeedonline2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline2" -version = "2.0.4+20191206" +version = "2.0.5+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline2" homepage = "https://developers.google.com/speed/docs/insights/v2/getting-started" -documentation = "https://docs.rs/google-pagespeedonline2/2.0.4+20191206" +documentation = "https://docs.rs/google-pagespeedonline2/2.0.5+20191206" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pagespeedonline2/README.md b/gen/pagespeedonline2/README.md index daef67776d..58ec2e1c21 100644 --- a/gen/pagespeedonline2/README.md +++ b/gen/pagespeedonline2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline2` library allows access to all features of the *Google pagespeedonline* service. -This documentation was generated from *pagespeedonline* crate version *2.0.4+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *pagespeedonline* crate version *2.0.5+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *pagespeedonline* *v2* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/Pagespeedonline) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/Pagespeedonline) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/api::PagespeedapiRunpagespeedCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/Pagespeedonline)** +* **[Hub](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/Pagespeedonline)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::CallBuilder) +* **[Resources](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-pagespeedonline2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Delegate) to the +[Method Builder](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Delegate) 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 [encodable](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::RequestValue) and +[decodable](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pagespeedonline2/2.0.4+20191206/google_pagespeedonline2/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline2/2.0.5+20191206/google_pagespeedonline2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline2/src/api.rs b/gen/pagespeedonline2/src/api.rs index 8d3b1d8fc6..8e9fd65d1b 100644 --- a/gen/pagespeedonline2/src/api.rs +++ b/gen/pagespeedonline2/src/api.rs @@ -97,7 +97,7 @@ impl<'a, > Pagespeedonline<> { Pagespeedonline { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > Pagespeedonline<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline2/src/client.rs b/gen/pagespeedonline2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/pagespeedonline2/src/client.rs +++ b/gen/pagespeedonline2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/pagespeedonline2/src/lib.rs b/gen/pagespeedonline2/src/lib.rs index f816fb1bb2..720744fd7c 100644 --- a/gen/pagespeedonline2/src/lib.rs +++ b/gen/pagespeedonline2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pagespeedonline* crate version *2.0.4+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *pagespeedonline* crate version *2.0.5+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *pagespeedonline* *v2* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-pagespeedonline2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/pagespeedonline4-cli/Cargo.toml b/gen/pagespeedonline4-cli/Cargo.toml index 997e230350..6e8e68678e 100644 --- a/gen/pagespeedonline4-cli/Cargo.toml +++ b/gen/pagespeedonline4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline4-cli" -version = "2.0.4+20191206" +version = "2.0.5+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pagespeedonline4] path = "../pagespeedonline4" -version = "2.0.4+20191206" +version = "2.0.5+20191206" diff --git a/gen/pagespeedonline4-cli/README.md b/gen/pagespeedonline4-cli/README.md index 119d039579..44efcaaa33 100644 --- a/gen/pagespeedonline4-cli/README.md +++ b/gen/pagespeedonline4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *2.0.4*. +This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *2.0.5*. ```bash pagespeedonline4 [options] diff --git a/gen/pagespeedonline4-cli/mkdocs.yml b/gen/pagespeedonline4-cli/mkdocs.yml index 91a3d6b2f6..05054a09ca 100644 --- a/gen/pagespeedonline4-cli/mkdocs.yml +++ b/gen/pagespeedonline4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v2.0.4+20191206 +site_name: pagespeedonline v2.0.5+20191206 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline4-cli site_description: A complete library to interact with pagespeedonline (protocol v4) diff --git a/gen/pagespeedonline4-cli/src/main.rs b/gen/pagespeedonline4-cli/src/main.rs index 227f0472f0..bff6325c71 100644 --- a/gen/pagespeedonline4-cli/src/main.rs +++ b/gen/pagespeedonline4-cli/src/main.rs @@ -228,7 +228,7 @@ async fn main() { let mut app = App::new("pagespeedonline4") .author("Sebastian Thiel ") - .version("2.0.4+20191206") + .version("2.0.5+20191206") .about("Analyzes the performance of a web page and provides tailored suggestions to make that page faster.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline4_cli") .arg(Arg::with_name("folder") diff --git a/gen/pagespeedonline4/Cargo.toml b/gen/pagespeedonline4/Cargo.toml index bd2e0d9fc8..d3197cc233 100644 --- a/gen/pagespeedonline4/Cargo.toml +++ b/gen/pagespeedonline4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline4" -version = "2.0.4+20191206" +version = "2.0.5+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline4" homepage = "https://developers.google.com/speed/docs/insights/v4/getting-started" -documentation = "https://docs.rs/google-pagespeedonline4/2.0.4+20191206" +documentation = "https://docs.rs/google-pagespeedonline4/2.0.5+20191206" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pagespeedonline4/README.md b/gen/pagespeedonline4/README.md index e668b4369b..393f203498 100644 --- a/gen/pagespeedonline4/README.md +++ b/gen/pagespeedonline4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline4` library allows access to all features of the *Google pagespeedonline* service. -This documentation was generated from *pagespeedonline* crate version *2.0.4+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *pagespeedonline* crate version *2.0.5+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *pagespeedonline* *v4* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v4/getting-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/Pagespeedonline) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/Pagespeedonline) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/api::PagespeedapiRunpagespeedCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/Pagespeedonline)** +* **[Hub](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/Pagespeedonline)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::CallBuilder) +* **[Resources](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-pagespeedonline4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Delegate), 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-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Delegate) to the +[Method Builder](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::CallBuilder) 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-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Delegate) 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 [encodable](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::RequestValue) and +[decodable](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::Part) 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-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::CallBuilder), 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-pagespeedonline4/2.0.4+20191206/google_pagespeedonline4/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline4/2.0.5+20191206/google_pagespeedonline4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline4/src/api.rs b/gen/pagespeedonline4/src/api.rs index 37b9deeee8..dc297f372c 100644 --- a/gen/pagespeedonline4/src/api.rs +++ b/gen/pagespeedonline4/src/api.rs @@ -100,7 +100,7 @@ impl<'a, > Pagespeedonline<> { Pagespeedonline { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -111,7 +111,7 @@ impl<'a, > Pagespeedonline<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline4/src/client.rs b/gen/pagespeedonline4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/pagespeedonline4/src/client.rs +++ b/gen/pagespeedonline4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/pagespeedonline4/src/lib.rs b/gen/pagespeedonline4/src/lib.rs index b3ba5501b9..c136958bb9 100644 --- a/gen/pagespeedonline4/src/lib.rs +++ b/gen/pagespeedonline4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pagespeedonline* crate version *2.0.4+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *pagespeedonline* crate version *2.0.5+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *pagespeedonline* *v4* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v4/getting-started). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-pagespeedonline4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/pagespeedonline5-cli/Cargo.toml b/gen/pagespeedonline5-cli/Cargo.toml index b1e29b87fb..fda140fb61 100644 --- a/gen/pagespeedonline5-cli/Cargo.toml +++ b/gen/pagespeedonline5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline5-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pagespeed Insights (protocol v5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline5-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pagespeedonline5] path = "../pagespeedonline5" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/pagespeedonline5-cli/README.md b/gen/pagespeedonline5-cli/README.md index ce1d018774..0c18db82dc 100644 --- a/gen/pagespeedonline5-cli/README.md +++ b/gen/pagespeedonline5-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Pagespeed Insights* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Pagespeed Insights* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash pagespeedonline5 [options] diff --git a/gen/pagespeedonline5-cli/mkdocs.yml b/gen/pagespeedonline5-cli/mkdocs.yml index bdb060bf4b..af7fa6ce5f 100644 --- a/gen/pagespeedonline5-cli/mkdocs.yml +++ b/gen/pagespeedonline5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pagespeed Insights v2.0.4+20210330 +site_name: Pagespeed Insights v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline5-cli site_description: A complete library to interact with Pagespeed Insights (protocol v5) diff --git a/gen/pagespeedonline5-cli/src/main.rs b/gen/pagespeedonline5-cli/src/main.rs index 7ece3c1970..23154f6899 100644 --- a/gen/pagespeedonline5-cli/src/main.rs +++ b/gen/pagespeedonline5-cli/src/main.rs @@ -228,7 +228,7 @@ async fn main() { let mut app = App::new("pagespeedonline5") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline5_cli") .arg(Arg::with_name("url") diff --git a/gen/pagespeedonline5/Cargo.toml b/gen/pagespeedonline5/Cargo.toml index 6a2c104238..36a1a4de8c 100644 --- a/gen/pagespeedonline5/Cargo.toml +++ b/gen/pagespeedonline5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline5" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pagespeed Insights (protocol v5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline5" homepage = "https://developers.google.com/speed/docs/insights/v5/about" -documentation = "https://docs.rs/google-pagespeedonline5/2.0.4+20210330" +documentation = "https://docs.rs/google-pagespeedonline5/2.0.5+20210330" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pagespeedonline5/README.md b/gen/pagespeedonline5/README.md index 87f3bcc1af..ffc17f9322 100644 --- a/gen/pagespeedonline5/README.md +++ b/gen/pagespeedonline5/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline5` library allows access to all features of the *Google Pagespeed Insights* service. -This documentation was generated from *Pagespeed Insights* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Pagespeed Insights* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Pagespeed Insights* *v5* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v5/about). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/PagespeedInsights) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/PagespeedInsights) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/api::PagespeedapiRunpagespeedCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/PagespeedInsights)** +* **[Hub](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/PagespeedInsights)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::CallBuilder) +* **[Resources](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-pagespeedonline5 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Delegate), 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-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Delegate) to the +[Method Builder](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::CallBuilder) 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-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Delegate) 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 [encodable](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::RequestValue) and +[decodable](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::Part) 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-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::CallBuilder), 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-pagespeedonline5/2.0.4+20210330/google_pagespeedonline5/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline5/2.0.5+20210330/google_pagespeedonline5/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline5/src/api.rs b/gen/pagespeedonline5/src/api.rs index 09589aed6c..401460ea58 100644 --- a/gen/pagespeedonline5/src/api.rs +++ b/gen/pagespeedonline5/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > PagespeedInsights<> { PagespeedInsights { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://pagespeedonline.googleapis.com/".to_string(), _root_url: "https://pagespeedonline.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > PagespeedInsights<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline5/src/client.rs b/gen/pagespeedonline5/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/pagespeedonline5/src/client.rs +++ b/gen/pagespeedonline5/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/pagespeedonline5/src/lib.rs b/gen/pagespeedonline5/src/lib.rs index 3a7a7dad5b..09e0326f01 100644 --- a/gen/pagespeedonline5/src/lib.rs +++ b/gen/pagespeedonline5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Pagespeed Insights* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Pagespeed Insights* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Pagespeed Insights* *v5* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v5/about). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-pagespeedonline5 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/partners2-cli/Cargo.toml b/gen/partners2-cli/Cargo.toml index 6e2e22a81d..c76fe87b7e 100644 --- a/gen/partners2-cli/Cargo.toml +++ b/gen/partners2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-partners2-cli" -version = "2.0.4+20180925" +version = "2.0.5+20180925" authors = ["Sebastian Thiel "] description = "A complete library to interact with Partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/partners2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-partners2] path = "../partners2" -version = "2.0.4+20180925" +version = "2.0.5+20180925" diff --git a/gen/partners2-cli/README.md b/gen/partners2-cli/README.md index 2f54baeebd..50f8babd5e 100644 --- a/gen/partners2-cli/README.md +++ b/gen/partners2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Partners* API at revision *20180925*. The CLI is at version *2.0.4*. +This documentation was generated from the *Partners* API at revision *20180925*. The CLI is at version *2.0.5*. ```bash partners2 [options] diff --git a/gen/partners2-cli/mkdocs.yml b/gen/partners2-cli/mkdocs.yml index 8bb4a0942a..a217fa739c 100644 --- a/gen/partners2-cli/mkdocs.yml +++ b/gen/partners2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Partners v2.0.4+20180925 +site_name: Partners v2.0.5+20180925 site_url: http://byron.github.io/google-apis-rs/google-partners2-cli site_description: A complete library to interact with Partners (protocol v2) diff --git a/gen/partners2-cli/src/main.rs b/gen/partners2-cli/src/main.rs index 3aa6ede372..b729d22a49 100644 --- a/gen/partners2-cli/src/main.rs +++ b/gen/partners2-cli/src/main.rs @@ -2265,7 +2265,7 @@ async fn main() { let mut app = App::new("partners2") .author("Sebastian Thiel ") - .version("2.0.4+20180925") + .version("2.0.5+20180925") .about("Searches certified companies and creates contact leads with them, and also audits the usage of clients.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_partners2_cli") .arg(Arg::with_name("folder") diff --git a/gen/partners2/Cargo.toml b/gen/partners2/Cargo.toml index 2ad3bd51a6..37e50bea9f 100644 --- a/gen/partners2/Cargo.toml +++ b/gen/partners2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-partners2" -version = "2.0.4+20180925" +version = "2.0.5+20180925" authors = ["Sebastian Thiel "] description = "A complete library to interact with Partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/partners2" homepage = "https://developers.google.com/partners/" -documentation = "https://docs.rs/google-partners2/2.0.4+20180925" +documentation = "https://docs.rs/google-partners2/2.0.5+20180925" license = "MIT" keywords = ["partners", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/partners2/README.md b/gen/partners2/README.md index 9920de6476..a1443fe70d 100644 --- a/gen/partners2/README.md +++ b/gen/partners2/README.md @@ -5,36 +5,36 @@ DO NOT EDIT ! --> The `google-partners2` library allows access to all features of the *Google Partners* service. -This documentation was generated from *Partners* crate version *2.0.4+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Partners* crate version *2.0.5+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Partners* *v2* API can be found at the [official documentation site](https://developers.google.com/partners/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/Partners) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/Partners) ... * analytics - * [*list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::AnalyticListCall) + * [*list*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::AnalyticListCall) * client messages - * [*log*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::ClientMessageLogCall) -* [companies](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::Company) - * [*get*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::CompanyGetCall), [*leads create*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::CompanyLeadCreateCall) and [*list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::CompanyListCall) -* [leads](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::Lead) - * [*list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::LeadListCall) + * [*log*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::ClientMessageLogCall) +* [companies](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::Company) + * [*get*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::CompanyGetCall), [*leads create*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::CompanyLeadCreateCall) and [*list*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::CompanyListCall) +* [leads](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::Lead) + * [*list*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::LeadListCall) * offers - * [*history list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::OfferHistoryListCall) and [*list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::OfferListCall) + * [*history list*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::OfferHistoryListCall) and [*list*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::OfferListCall) * user events - * [*log*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserEventLogCall) + * [*log*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::UserEventLogCall) * user states - * [*list*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserStateListCall) -* [users](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::User) - * [*create company relation*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserCreateCompanyRelationCall), [*delete company relation*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserDeleteCompanyRelationCall), [*get*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserGetCall) and [*update profile*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::UserUpdateProfileCall) + * [*list*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::UserStateListCall) +* [users](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::User) + * [*create company relation*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::UserCreateCompanyRelationCall), [*delete company relation*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::UserDeleteCompanyRelationCall), [*get*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::UserGetCall) and [*update profile*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::UserUpdateProfileCall) Other activities are ... -* [get partnersstatus](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::MethodGetPartnersstatuCall) -* [update companies](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::MethodUpdateCompanyCall) -* [update leads](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/api::MethodUpdateLeadCall) +* [get partnersstatus](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::MethodGetPartnersstatuCall) +* [update companies](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::MethodUpdateCompanyCall) +* [update leads](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/api::MethodUpdateLeadCall) @@ -42,17 +42,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/Partners)** +* **[Hub](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/Partners)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::CallBuilder) -* **[Resources](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::CallBuilder) +* **[Resources](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Part)** + * **[Parts](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -86,9 +86,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-partners2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -161,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -181,29 +178,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Delegate) to the -[Method Builder](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Delegate) to the +[Method Builder](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Delegate) 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 [encodable](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::RequestValue) and -[decodable](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::RequestValue) and +[decodable](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-partners2/2.0.4+20180925/google_partners2/client::RequestValue) are moved +* [request values](https://docs.rs/google-partners2/2.0.5+20180925/google_partners2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/partners2/src/api.rs b/gen/partners2/src/api.rs index fe28a5d5cc..aaa1aa58b1 100644 --- a/gen/partners2/src/api.rs +++ b/gen/partners2/src/api.rs @@ -105,7 +105,7 @@ impl<'a, > Partners<> { Partners { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://partners.googleapis.com/".to_string(), _root_url: "https://partners.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > Partners<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/partners2/src/client.rs b/gen/partners2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/partners2/src/client.rs +++ b/gen/partners2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs index 9815ddd67d..36d78558ad 100644 --- a/gen/partners2/src/lib.rs +++ b/gen/partners2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Partners* crate version *2.0.4+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Partners* crate version *2.0.5+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Partners* *v2* API can be found at the //! [official documentation site](https://developers.google.com/partners/). @@ -86,9 +86,6 @@ //! ```toml //! [dependencies] //! google-partners2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/people1-cli/Cargo.toml b/gen/people1-cli/Cargo.toml index 4862a326a2..09d99bbe34 100644 --- a/gen/people1-cli/Cargo.toml +++ b/gen/people1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-people1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with People Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/people1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-people1] path = "../people1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/people1-cli/README.md b/gen/people1-cli/README.md index 346d0aa1a7..2780be088f 100644 --- a/gen/people1-cli/README.md +++ b/gen/people1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *People Service* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *People Service* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash people1 [options] diff --git a/gen/people1-cli/mkdocs.yml b/gen/people1-cli/mkdocs.yml index b01966c0f5..c9fbf3ad06 100644 --- a/gen/people1-cli/mkdocs.yml +++ b/gen/people1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: People Service v2.0.4+20210330 +site_name: People Service v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-people1-cli site_description: A complete library to interact with People Service (protocol v1) diff --git a/gen/people1-cli/src/main.rs b/gen/people1-cli/src/main.rs index 2125047280..b15345c69b 100644 --- a/gen/people1-cli/src/main.rs +++ b/gen/people1-cli/src/main.rs @@ -2536,7 +2536,7 @@ async fn main() { let mut app = App::new("people1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Provides access to information about profiles and contacts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_people1_cli") .arg(Arg::with_name("url") diff --git a/gen/people1/Cargo.toml b/gen/people1/Cargo.toml index 42a2779ee6..943acba187 100644 --- a/gen/people1/Cargo.toml +++ b/gen/people1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-people1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with People Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/people1" homepage = "https://developers.google.com/people/" -documentation = "https://docs.rs/google-people1/2.0.4+20210330" +documentation = "https://docs.rs/google-people1/2.0.5+20210330" license = "MIT" keywords = ["people", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/people1/README.md b/gen/people1/README.md index 8138c5cbea..484e595389 100644 --- a/gen/people1/README.md +++ b/gen/people1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-people1` library allows access to all features of the *Google People Service* service. -This documentation was generated from *People Service* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *People Service* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *People Service* *v1* API can be found at the [official documentation site](https://developers.google.com/people/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/2.0.4+20210330/google_people1/PeopleService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/2.0.5+20210330/google_people1/PeopleService) ... -* [contact groups](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroup) - * [*batch get*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupBatchGetCall), [*create*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupCreateCall), [*delete*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupDeleteCall), [*get*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupGetCall), [*list*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupListCall), [*members modify*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupMemberModifyCall) and [*update*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::ContactGroupUpdateCall) +* [contact groups](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroup) + * [*batch get*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupBatchGetCall), [*create*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupCreateCall), [*delete*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupDeleteCall), [*get*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupGetCall), [*list*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupListCall), [*members modify*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupMemberModifyCall) and [*update*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::ContactGroupUpdateCall) * other contacts - * [*copy other contact to my contacts group*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::OtherContactCopyOtherContactToMyContactsGroupCall), [*list*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::OtherContactListCall) and [*search*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::OtherContactSearchCall) + * [*copy other contact to my contacts group*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::OtherContactCopyOtherContactToMyContactsGroupCall), [*list*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::OtherContactListCall) and [*search*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::OtherContactSearchCall) * people - * [*batch create contacts*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleBatchCreateContactCall), [*batch delete contacts*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleBatchDeleteContactCall), [*batch update contacts*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleBatchUpdateContactCall), [*connections list*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleConnectionListCall), [*create contact*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleCreateContactCall), [*delete contact*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleDeleteContactCall), [*delete contact photo*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleDeleteContactPhotoCall), [*get*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleGetCall), [*get batch get*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleGetBatchGetCall), [*list directory people*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleListDirectoryPeopleCall), [*search contacts*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleSearchContactCall), [*search directory people*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleSearchDirectoryPeopleCall), [*update contact*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleUpdateContactCall) and [*update contact photo*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/api::PeopleUpdateContactPhotoCall) + * [*batch create contacts*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleBatchCreateContactCall), [*batch delete contacts*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleBatchDeleteContactCall), [*batch update contacts*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleBatchUpdateContactCall), [*connections list*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleConnectionListCall), [*create contact*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleCreateContactCall), [*delete contact*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleDeleteContactCall), [*delete contact photo*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleDeleteContactPhotoCall), [*get*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleGetCall), [*get batch get*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleGetBatchGetCall), [*list directory people*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleListDirectoryPeopleCall), [*search contacts*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleSearchContactCall), [*search directory people*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleSearchDirectoryPeopleCall), [*update contact*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleUpdateContactCall) and [*update contact photo*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/api::PeopleUpdateContactPhotoCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-people1/2.0.4+20210330/google_people1/PeopleService)** +* **[Hub](https://docs.rs/google-people1/2.0.5+20210330/google_people1/PeopleService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::CallBuilder) -* **[Resources](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::CallBuilder) +* **[Resources](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Part)** + * **[Parts](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -74,9 +74,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-people1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Delegate) to the -[Method Builder](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Delegate) to the +[Method Builder](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Delegate) 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 [encodable](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::RequestValue) and -[decodable](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::RequestValue) and +[decodable](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-people1/2.0.4+20210330/google_people1/client::RequestValue) are moved +* [request values](https://docs.rs/google-people1/2.0.5+20210330/google_people1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/people1/src/api.rs b/gen/people1/src/api.rs index 7b0fbc7400..5c5a0c3ac2 100644 --- a/gen/people1/src/api.rs +++ b/gen/people1/src/api.rs @@ -162,7 +162,7 @@ impl<'a, > PeopleService<> { PeopleService { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://people.googleapis.com/".to_string(), _root_url: "https://people.googleapis.com/".to_string(), } @@ -179,7 +179,7 @@ impl<'a, > PeopleService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/people1/src/client.rs b/gen/people1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/people1/src/client.rs +++ b/gen/people1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/people1/src/lib.rs b/gen/people1/src/lib.rs index 28ee830ddc..f08b905b31 100644 --- a/gen/people1/src/lib.rs +++ b/gen/people1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *People Service* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *People Service* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *People Service* *v1* API can be found at the //! [official documentation site](https://developers.google.com/people/). @@ -74,9 +74,6 @@ //! ```toml //! [dependencies] //! google-people1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/photoslibrary1-cli/Cargo.toml b/gen/photoslibrary1-cli/Cargo.toml index 83efad52ba..07de8ff9e9 100644 --- a/gen/photoslibrary1-cli/Cargo.toml +++ b/gen/photoslibrary1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-photoslibrary1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Photos Library (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/photoslibrary1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-photoslibrary1] path = "../photoslibrary1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/photoslibrary1-cli/README.md b/gen/photoslibrary1-cli/README.md index d75e337cc7..3e8882be7f 100644 --- a/gen/photoslibrary1-cli/README.md +++ b/gen/photoslibrary1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Photos Library* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Photos Library* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash photoslibrary1 [options] diff --git a/gen/photoslibrary1-cli/mkdocs.yml b/gen/photoslibrary1-cli/mkdocs.yml index 2db5340520..2920c81f6e 100644 --- a/gen/photoslibrary1-cli/mkdocs.yml +++ b/gen/photoslibrary1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Photos Library v2.0.4+20210331 +site_name: Photos Library v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-photoslibrary1-cli site_description: A complete library to interact with Photos Library (protocol v1) diff --git a/gen/photoslibrary1-cli/src/main.rs b/gen/photoslibrary1-cli/src/main.rs index 2db4f39f96..3dd4ea0c6e 100644 --- a/gen/photoslibrary1-cli/src/main.rs +++ b/gen/photoslibrary1-cli/src/main.rs @@ -2139,7 +2139,7 @@ async fn main() { let mut app = App::new("photoslibrary1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("Manage photos, videos, and albums in Google Photos ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_photoslibrary1_cli") .arg(Arg::with_name("url") diff --git a/gen/photoslibrary1/Cargo.toml b/gen/photoslibrary1/Cargo.toml index d6e1650529..2be6f5753c 100644 --- a/gen/photoslibrary1/Cargo.toml +++ b/gen/photoslibrary1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-photoslibrary1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Photos Library (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/photoslibrary1" homepage = "https://developers.google.com/photos/" -documentation = "https://docs.rs/google-photoslibrary1/2.0.4+20210331" +documentation = "https://docs.rs/google-photoslibrary1/2.0.5+20210331" license = "MIT" keywords = ["photoslibrary", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/photoslibrary1/README.md b/gen/photoslibrary1/README.md index ab304454f5..078e05ab4b 100644 --- a/gen/photoslibrary1/README.md +++ b/gen/photoslibrary1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-photoslibrary1` library allows access to all features of the *Google Photos Library* service. -This documentation was generated from *Photos Library* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Photos Library* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Photos Library* *v1* API can be found at the [official documentation site](https://developers.google.com/photos/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/PhotosLibrary) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/PhotosLibrary) ... -* [albums](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::Album) - * [*add enrichment*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumAddEnrichmentCall), [*batch add media items*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumBatchAddMediaItemCall), [*batch remove media items*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumBatchRemoveMediaItemCall), [*create*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumCreateCall), [*get*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumGetCall), [*list*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumListCall), [*patch*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumPatchCall), [*share*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumShareCall) and [*unshare*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::AlbumUnshareCall) -* [media items](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItem) - * [*batch create*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItemBatchCreateCall), [*batch get*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItemBatchGetCall), [*get*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItemGetCall), [*list*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItemListCall), [*patch*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItemPatchCall) and [*search*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::MediaItemSearchCall) +* [albums](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::Album) + * [*add enrichment*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumAddEnrichmentCall), [*batch add media items*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumBatchAddMediaItemCall), [*batch remove media items*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumBatchRemoveMediaItemCall), [*create*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumCreateCall), [*get*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumGetCall), [*list*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumListCall), [*patch*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumPatchCall), [*share*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumShareCall) and [*unshare*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::AlbumUnshareCall) +* [media items](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItem) + * [*batch create*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItemBatchCreateCall), [*batch get*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItemBatchGetCall), [*get*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItemGetCall), [*list*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItemListCall), [*patch*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItemPatchCall) and [*search*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::MediaItemSearchCall) * shared albums - * [*get*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::SharedAlbumGetCall), [*join*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::SharedAlbumJoinCall), [*leave*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::SharedAlbumLeaveCall) and [*list*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/api::SharedAlbumListCall) + * [*get*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::SharedAlbumGetCall), [*join*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::SharedAlbumJoinCall), [*leave*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::SharedAlbumLeaveCall) and [*list*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/api::SharedAlbumListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/PhotosLibrary)** +* **[Hub](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/PhotosLibrary)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::CallBuilder) -* **[Resources](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::CallBuilder) +* **[Resources](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Part)** + * **[Parts](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -77,9 +77,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-photoslibrary1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Delegate), 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-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Delegate) to the -[Method Builder](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Delegate) to the +[Method Builder](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::CallBuilder) 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-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Delegate) 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 [encodable](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::RequestValue) and -[decodable](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::RequestValue) and +[decodable](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::Part) 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-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::CallBuilder), 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-photoslibrary1/2.0.4+20210331/google_photoslibrary1/client::RequestValue) are moved +* [request values](https://docs.rs/google-photoslibrary1/2.0.5+20210331/google_photoslibrary1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/photoslibrary1/src/api.rs b/gen/photoslibrary1/src/api.rs index d7bf36ecd9..2081bfdd0d 100644 --- a/gen/photoslibrary1/src/api.rs +++ b/gen/photoslibrary1/src/api.rs @@ -137,7 +137,7 @@ impl<'a, > PhotosLibrary<> { PhotosLibrary { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://photoslibrary.googleapis.com/".to_string(), _root_url: "https://photoslibrary.googleapis.com/".to_string(), } @@ -154,7 +154,7 @@ impl<'a, > PhotosLibrary<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/photoslibrary1/src/client.rs b/gen/photoslibrary1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/photoslibrary1/src/client.rs +++ b/gen/photoslibrary1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/photoslibrary1/src/lib.rs b/gen/photoslibrary1/src/lib.rs index ebd606db09..45053d9631 100644 --- a/gen/photoslibrary1/src/lib.rs +++ b/gen/photoslibrary1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Photos Library* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Photos Library* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Photos Library* *v1* API can be found at the //! [official documentation site](https://developers.google.com/photos/). @@ -77,9 +77,6 @@ //! ```toml //! [dependencies] //! google-photoslibrary1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/playablelocations3-cli/Cargo.toml b/gen/playablelocations3-cli/Cargo.toml index fed221e446..04b400c370 100644 --- a/gen/playablelocations3-cli/Cargo.toml +++ b/gen/playablelocations3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playablelocations3-cli" -version = "2.0.4+20200707" +version = "2.0.5+20200707" authors = ["Sebastian Thiel "] description = "A complete library to interact with Playable Locations (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playablelocations3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playablelocations3] path = "../playablelocations3" -version = "2.0.4+20200707" +version = "2.0.5+20200707" diff --git a/gen/playablelocations3-cli/README.md b/gen/playablelocations3-cli/README.md index f692ba0d11..ae73597e4c 100644 --- a/gen/playablelocations3-cli/README.md +++ b/gen/playablelocations3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Playable Locations* API at revision *20200707*. The CLI is at version *2.0.4*. +This documentation was generated from the *Playable Locations* API at revision *20200707*. The CLI is at version *2.0.5*. ```bash playablelocations3 [options] diff --git a/gen/playablelocations3-cli/mkdocs.yml b/gen/playablelocations3-cli/mkdocs.yml index b358476786..ec4d76360e 100644 --- a/gen/playablelocations3-cli/mkdocs.yml +++ b/gen/playablelocations3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Playable Locations v2.0.4+20200707 +site_name: Playable Locations v2.0.5+20200707 site_url: http://byron.github.io/google-apis-rs/google-playablelocations3-cli site_description: A complete library to interact with Playable Locations (protocol v3) diff --git a/gen/playablelocations3-cli/src/main.rs b/gen/playablelocations3-cli/src/main.rs index f3c2e64bcd..2422151223 100644 --- a/gen/playablelocations3-cli/src/main.rs +++ b/gen/playablelocations3-cli/src/main.rs @@ -480,7 +480,7 @@ async fn main() { let mut app = App::new("playablelocations3") .author("Sebastian Thiel ") - .version("2.0.4+20200707") + .version("2.0.5+20200707") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playablelocations3_cli") .arg(Arg::with_name("folder") diff --git a/gen/playablelocations3/Cargo.toml b/gen/playablelocations3/Cargo.toml index ad92a30b2f..cba5612e7e 100644 --- a/gen/playablelocations3/Cargo.toml +++ b/gen/playablelocations3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playablelocations3" -version = "2.0.4+20200707" +version = "2.0.5+20200707" authors = ["Sebastian Thiel "] description = "A complete library to interact with Playable Locations (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playablelocations3" homepage = "https://developers.google.com/maps/contact-sales/" -documentation = "https://docs.rs/google-playablelocations3/2.0.4+20200707" +documentation = "https://docs.rs/google-playablelocations3/2.0.5+20200707" license = "MIT" keywords = ["playablelocations", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/playablelocations3/README.md b/gen/playablelocations3/README.md index b21d781233..af6af0a34f 100644 --- a/gen/playablelocations3/README.md +++ b/gen/playablelocations3/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-playablelocations3` library allows access to all features of the *Google Playable Locations* service. -This documentation was generated from *Playable Locations* crate version *2.0.4+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Playable Locations* crate version *2.0.5+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Playable Locations* *v3* API can be found at the [official documentation site](https://developers.google.com/maps/contact-sales/). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/PlayableLocations) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/PlayableLocations) ... -* [log impressions](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/api::MethodLogImpressionCall) -* [log player reports](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/api::MethodLogPlayerReportCall) -* [sample playable locations](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/api::MethodSamplePlayableLocationCall) +* [log impressions](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/api::MethodLogImpressionCall) +* [log player reports](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/api::MethodLogPlayerReportCall) +* [sample playable locations](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/api::MethodSamplePlayableLocationCall) @@ -24,17 +24,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/PlayableLocations)** +* **[Hub](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/PlayableLocations)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::CallBuilder) -* **[Resources](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::CallBuilder) +* **[Resources](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Part)** + * **[Parts](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-playablelocations3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Delegate), 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-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Delegate) to the -[Method Builder](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Delegate) to the +[Method Builder](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::CallBuilder) 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-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Delegate) 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 [encodable](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::RequestValue) and -[decodable](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::RequestValue) and +[decodable](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playablelocations3/2.0.4+20200707/google_playablelocations3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::Part) 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-playablelocations3/2.0.4+20200707/google_playablelocations3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::CallBuilder), 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-playablelocations3/2.0.4+20200707/google_playablelocations3/client::RequestValue) are moved +* [request values](https://docs.rs/google-playablelocations3/2.0.5+20200707/google_playablelocations3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playablelocations3/src/api.rs b/gen/playablelocations3/src/api.rs index e73da458c5..d8063621d1 100644 --- a/gen/playablelocations3/src/api.rs +++ b/gen/playablelocations3/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > PlayableLocations<> { PlayableLocations { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://playablelocations.googleapis.com/".to_string(), _root_url: "https://playablelocations.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > PlayableLocations<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/playablelocations3/src/client.rs b/gen/playablelocations3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/playablelocations3/src/client.rs +++ b/gen/playablelocations3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/playablelocations3/src/lib.rs b/gen/playablelocations3/src/lib.rs index 3425173f05..ca7414db90 100644 --- a/gen/playablelocations3/src/lib.rs +++ b/gen/playablelocations3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Playable Locations* crate version *2.0.4+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Playable Locations* crate version *2.0.5+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Playable Locations* *v3* API can be found at the //! [official documentation site](https://developers.google.com/maps/contact-sales/). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-playablelocations3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/playcustomapp1-cli/Cargo.toml b/gen/playcustomapp1-cli/Cargo.toml index 1a97ebdfaa..3728507681 100644 --- a/gen/playcustomapp1-cli/Cargo.toml +++ b/gen/playcustomapp1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playcustomapp1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with playcustomapp (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playcustomapp1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playcustomapp1] path = "../playcustomapp1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/playcustomapp1-cli/README.md b/gen/playcustomapp1-cli/README.md index c2eb0efb62..06c43fcb11 100644 --- a/gen/playcustomapp1-cli/README.md +++ b/gen/playcustomapp1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *playcustomapp* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *playcustomapp* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash playcustomapp1 [options] diff --git a/gen/playcustomapp1-cli/mkdocs.yml b/gen/playcustomapp1-cli/mkdocs.yml index 661bf67edd..4b6bbc62c3 100644 --- a/gen/playcustomapp1-cli/mkdocs.yml +++ b/gen/playcustomapp1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: playcustomapp v2.0.4+20210331 +site_name: playcustomapp v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-playcustomapp1-cli site_description: A complete library to interact with playcustomapp (protocol v1) diff --git a/gen/playcustomapp1-cli/src/main.rs b/gen/playcustomapp1-cli/src/main.rs index 6821e53097..eda323513e 100644 --- a/gen/playcustomapp1-cli/src/main.rs +++ b/gen/playcustomapp1-cli/src/main.rs @@ -260,7 +260,7 @@ async fn main() { let mut app = App::new("playcustomapp1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("API to create and publish custom Android apps") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playcustomapp1_cli") .arg(Arg::with_name("url") diff --git a/gen/playcustomapp1/Cargo.toml b/gen/playcustomapp1/Cargo.toml index 9adff60456..09e1bc4ca5 100644 --- a/gen/playcustomapp1/Cargo.toml +++ b/gen/playcustomapp1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playcustomapp1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with playcustomapp (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playcustomapp1" homepage = "https://developers.google.com/android/work/play/custom-app-api/" -documentation = "https://docs.rs/google-playcustomapp1/2.0.4+20210331" +documentation = "https://docs.rs/google-playcustomapp1/2.0.5+20210331" license = "MIT" keywords = ["playcustomapp", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/playcustomapp1/README.md b/gen/playcustomapp1/README.md index e8fe42b4be..a0c48ddd3f 100644 --- a/gen/playcustomapp1/README.md +++ b/gen/playcustomapp1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-playcustomapp1` library allows access to all features of the *Google playcustomapp* service. -This documentation was generated from *playcustomapp* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *playcustomapp* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *playcustomapp* *v1* API can be found at the [official documentation site](https://developers.google.com/android/work/play/custom-app-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/Playcustomapp) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/Playcustomapp) ... * accounts - * [*custom apps create*](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) + * [*custom apps create*](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) Upload supported by ... -* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) +* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/api::AccountCustomAppCreateCall) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/Playcustomapp)** +* **[Hub](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/Playcustomapp)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::CallBuilder) +* **[Resources](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Part)** + * **[Parts](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-playcustomapp1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Delegate), 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-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Delegate) to the +[Method Builder](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::CallBuilder) 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-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Delegate) 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 [encodable](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::RequestValue) and -[decodable](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::RequestValue) and +[decodable](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::Part) 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-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::CallBuilder), 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-playcustomapp1/2.0.4+20210331/google_playcustomapp1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playcustomapp1/2.0.5+20210331/google_playcustomapp1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playcustomapp1/src/api.rs b/gen/playcustomapp1/src/api.rs index 1bd922df3b..e1ab37b893 100644 --- a/gen/playcustomapp1/src/api.rs +++ b/gen/playcustomapp1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Playcustomapp<> { Playcustomapp { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://playcustomapp.googleapis.com/".to_string(), _root_url: "https://playcustomapp.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Playcustomapp<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -411,7 +411,6 @@ impl<'a> AccountCustomAppCreateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/playcustomapp1/src/client.rs b/gen/playcustomapp1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/playcustomapp1/src/client.rs +++ b/gen/playcustomapp1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/playcustomapp1/src/lib.rs b/gen/playcustomapp1/src/lib.rs index 16972b1835..178cec8402 100644 --- a/gen/playcustomapp1/src/lib.rs +++ b/gen/playcustomapp1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *playcustomapp* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *playcustomapp* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *playcustomapp* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/work/play/custom-app-api/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-playcustomapp1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/playmoviespartner1-cli/Cargo.toml b/gen/playmoviespartner1-cli/Cargo.toml index b4f8ad6375..30682567ee 100644 --- a/gen/playmoviespartner1-cli/Cargo.toml +++ b/gen/playmoviespartner1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playmoviespartner1-cli" -version = "2.0.4+20170919" +version = "2.0.5+20170919" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playmoviespartner1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playmoviespartner1] path = "../playmoviespartner1" -version = "2.0.4+20170919" +version = "2.0.5+20170919" diff --git a/gen/playmoviespartner1-cli/README.md b/gen/playmoviespartner1-cli/README.md index 034fc41213..6e01aa0ac5 100644 --- a/gen/playmoviespartner1-cli/README.md +++ b/gen/playmoviespartner1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Play Movies* API at revision *20170919*. The CLI is at version *2.0.4*. +This documentation was generated from the *Play Movies* API at revision *20170919*. The CLI is at version *2.0.5*. ```bash playmoviespartner1 [options] diff --git a/gen/playmoviespartner1-cli/mkdocs.yml b/gen/playmoviespartner1-cli/mkdocs.yml index 9eedcf9241..a24bad8048 100644 --- a/gen/playmoviespartner1-cli/mkdocs.yml +++ b/gen/playmoviespartner1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Play Movies v2.0.4+20170919 +site_name: Play Movies v2.0.5+20170919 site_url: http://byron.github.io/google-apis-rs/google-playmoviespartner1-cli site_description: A complete library to interact with Play Movies (protocol v1) diff --git a/gen/playmoviespartner1-cli/src/main.rs b/gen/playmoviespartner1-cli/src/main.rs index b72bbc4db2..0415b8bdc9 100644 --- a/gen/playmoviespartner1-cli/src/main.rs +++ b/gen/playmoviespartner1-cli/src/main.rs @@ -718,7 +718,7 @@ async fn main() { let mut app = App::new("playmoviespartner1") .author("Sebastian Thiel ") - .version("2.0.4+20170919") + .version("2.0.5+20170919") .about("Gets the delivery status of titles for Google Play Movies Partners.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playmoviespartner1_cli") .arg(Arg::with_name("url") diff --git a/gen/playmoviespartner1/Cargo.toml b/gen/playmoviespartner1/Cargo.toml index d86745a217..8487b718eb 100644 --- a/gen/playmoviespartner1/Cargo.toml +++ b/gen/playmoviespartner1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playmoviespartner1" -version = "2.0.4+20170919" +version = "2.0.5+20170919" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playmoviespartner1" homepage = "https://developers.google.com/playmoviespartner/" -documentation = "https://docs.rs/google-playmoviespartner1/2.0.4+20170919" +documentation = "https://docs.rs/google-playmoviespartner1/2.0.5+20170919" license = "MIT" keywords = ["playmoviespartner", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/playmoviespartner1/README.md b/gen/playmoviespartner1/README.md index e10c927313..09077b70bf 100644 --- a/gen/playmoviespartner1/README.md +++ b/gen/playmoviespartner1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-playmoviespartner1` library allows access to all features of the *Google Play Movies* service. -This documentation was generated from *Play Movies* crate version *2.0.4+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Play Movies* crate version *2.0.5+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Play Movies* *v1* API can be found at the [official documentation site](https://developers.google.com/playmoviespartner/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/PlayMovies) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/PlayMovies) ... * accounts - * [*avails get*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/api::AccountAvailGetCall), [*avails list*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/api::AccountAvailListCall), [*orders get*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/api::AccountOrderGetCall), [*orders list*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/api::AccountOrderListCall), [*store infos country get*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/api::AccountStoreInfoCountryGetCall) and [*store infos list*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/api::AccountStoreInfoListCall) + * [*avails get*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/api::AccountAvailGetCall), [*avails list*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/api::AccountAvailListCall), [*orders get*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/api::AccountOrderGetCall), [*orders list*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/api::AccountOrderListCall), [*store infos country get*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/api::AccountStoreInfoCountryGetCall) and [*store infos list*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/api::AccountStoreInfoListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/PlayMovies)** +* **[Hub](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/PlayMovies)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::CallBuilder) +* **[Resources](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Part)** + * **[Parts](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-playmoviespartner1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -126,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Delegate) to the +[Method Builder](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Delegate) 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 [encodable](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::RequestValue) and -[decodable](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::RequestValue) and +[decodable](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-playmoviespartner1/2.0.4+20170919/google_playmoviespartner1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playmoviespartner1/2.0.5+20170919/google_playmoviespartner1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playmoviespartner1/src/api.rs b/gen/playmoviespartner1/src/api.rs index 64582b92a2..1cd03153c1 100644 --- a/gen/playmoviespartner1/src/api.rs +++ b/gen/playmoviespartner1/src/api.rs @@ -114,7 +114,7 @@ impl<'a, > PlayMovies<> { PlayMovies { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://playmoviespartner.googleapis.com/".to_string(), _root_url: "https://playmoviespartner.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > PlayMovies<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/playmoviespartner1/src/client.rs b/gen/playmoviespartner1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/playmoviespartner1/src/client.rs +++ b/gen/playmoviespartner1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/playmoviespartner1/src/lib.rs b/gen/playmoviespartner1/src/lib.rs index 705eda6e91..2b7a83f5fc 100644 --- a/gen/playmoviespartner1/src/lib.rs +++ b/gen/playmoviespartner1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Play Movies* crate version *2.0.4+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Play Movies* crate version *2.0.5+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Play Movies* *v1* API can be found at the //! [official documentation site](https://developers.google.com/playmoviespartner/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-playmoviespartner1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/plus1-cli/Cargo.toml b/gen/plus1-cli/Cargo.toml index 28831a29cc..18740cf292 100644 --- a/gen/plus1-cli/Cargo.toml +++ b/gen/plus1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plus1-cli" -version = "2.0.4+20190616" +version = "2.0.5+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plus1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-plus1] path = "../plus1" -version = "2.0.4+20190616" +version = "2.0.5+20190616" diff --git a/gen/plus1-cli/README.md b/gen/plus1-cli/README.md index 527b2c79ab..a9882fe669 100644 --- a/gen/plus1-cli/README.md +++ b/gen/plus1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *plus* API at revision *20190616*. The CLI is at version *2.0.4*. +This documentation was generated from the *plus* API at revision *20190616*. The CLI is at version *2.0.5*. ```bash plus1 [options] diff --git a/gen/plus1-cli/mkdocs.yml b/gen/plus1-cli/mkdocs.yml index 31eb11b159..48e39904c6 100644 --- a/gen/plus1-cli/mkdocs.yml +++ b/gen/plus1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plus v2.0.4+20190616 +site_name: plus v2.0.5+20190616 site_url: http://byron.github.io/google-apis-rs/google-plus1-cli site_description: A complete library to interact with plus (protocol v1) diff --git a/gen/plus1-cli/src/main.rs b/gen/plus1-cli/src/main.rs index efafe68faf..721c3308b5 100644 --- a/gen/plus1-cli/src/main.rs +++ b/gen/plus1-cli/src/main.rs @@ -919,7 +919,7 @@ async fn main() { let mut app = App::new("plus1") .author("Sebastian Thiel ") - .version("2.0.4+20190616") + .version("2.0.5+20190616") .about("Builds on top of the Google+ platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_plus1_cli") .arg(Arg::with_name("url") diff --git a/gen/plus1/Cargo.toml b/gen/plus1/Cargo.toml index dc3bee55b5..9a9475e144 100644 --- a/gen/plus1/Cargo.toml +++ b/gen/plus1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plus1" -version = "2.0.4+20190616" +version = "2.0.5+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plus1" homepage = "https://developers.google.com/+/api/" -documentation = "https://docs.rs/google-plus1/2.0.4+20190616" +documentation = "https://docs.rs/google-plus1/2.0.5+20190616" license = "MIT" keywords = ["plus", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/plus1/README.md b/gen/plus1/README.md index 1cea8f8091..e6dea22a1d 100644 --- a/gen/plus1/README.md +++ b/gen/plus1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-plus1` library allows access to all features of the *Google plus* service. -This documentation was generated from *plus* crate version *2.0.4+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *plus* crate version *2.0.5+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *plus* *v1* API can be found at the [official documentation site](https://developers.google.com/+/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/Plus) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/Plus) ... -* [activities](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::Activity) - * [*get*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::ActivityGetCall), [*list*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::ActivityListCall) and [*search*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::ActivitySearchCall) -* [comments](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::Comment) - * [*get*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::CommentGetCall) and [*list*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::CommentListCall) +* [activities](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::Activity) + * [*get*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::ActivityGetCall), [*list*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::ActivityListCall) and [*search*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::ActivitySearchCall) +* [comments](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::Comment) + * [*get*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::CommentGetCall) and [*list*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::CommentListCall) * people - * [*get*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::PeopleGetCall), [*list*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::PeopleListCall), [*list by activity*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::PeopleListByActivityCall) and [*search*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/api::PeopleSearchCall) + * [*get*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::PeopleGetCall), [*list*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::PeopleListCall), [*list by activity*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::PeopleListByActivityCall) and [*search*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/api::PeopleSearchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/Plus)** +* **[Hub](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/Plus)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::CallBuilder) -* **[Resources](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::CallBuilder) +* **[Resources](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Part)** + * **[Parts](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-plus1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Delegate) to the -[Method Builder](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Delegate) to the +[Method Builder](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Delegate) 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 [encodable](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::RequestValue) and -[decodable](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::RequestValue) and +[decodable](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-plus1/2.0.4+20190616/google_plus1/client::RequestValue) are moved +* [request values](https://docs.rs/google-plus1/2.0.5+20190616/google_plus1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/plus1/src/api.rs b/gen/plus1/src/api.rs index f629fceccc..f9db18c235 100644 --- a/gen/plus1/src/api.rs +++ b/gen/plus1/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > Plus<> { Plus { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/plus/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -146,7 +146,7 @@ impl<'a, > Plus<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/plus1/src/client.rs b/gen/plus1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/plus1/src/client.rs +++ b/gen/plus1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/plus1/src/lib.rs b/gen/plus1/src/lib.rs index 0bf927303d..96de8c6d01 100644 --- a/gen/plus1/src/lib.rs +++ b/gen/plus1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *plus* crate version *2.0.4+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *plus* crate version *2.0.5+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *plus* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/api/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-plus1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/plusdomains1-cli/Cargo.toml b/gen/plusdomains1-cli/Cargo.toml index b1f965e838..ddd692d308 100644 --- a/gen/plusdomains1-cli/Cargo.toml +++ b/gen/plusdomains1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plusdomains1-cli" -version = "2.0.4+20190616" +version = "2.0.5+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plusdomains1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-plusdomains1] path = "../plusdomains1" -version = "2.0.4+20190616" +version = "2.0.5+20190616" diff --git a/gen/plusdomains1-cli/README.md b/gen/plusdomains1-cli/README.md index 3cc10a03e0..964da4202a 100644 --- a/gen/plusdomains1-cli/README.md +++ b/gen/plusdomains1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *plusDomains* API at revision *20190616*. The CLI is at version *2.0.4*. +This documentation was generated from the *plusDomains* API at revision *20190616*. The CLI is at version *2.0.5*. ```bash plusdomains1 [options] diff --git a/gen/plusdomains1-cli/mkdocs.yml b/gen/plusdomains1-cli/mkdocs.yml index 3457160576..0235b2b72d 100644 --- a/gen/plusdomains1-cli/mkdocs.yml +++ b/gen/plusdomains1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plusDomains v2.0.4+20190616 +site_name: plusDomains v2.0.5+20190616 site_url: http://byron.github.io/google-apis-rs/google-plusdomains1-cli site_description: A complete library to interact with plusDomains (protocol v1) diff --git a/gen/plusdomains1-cli/src/main.rs b/gen/plusdomains1-cli/src/main.rs index 23889f795a..4fdc558f38 100644 --- a/gen/plusdomains1-cli/src/main.rs +++ b/gen/plusdomains1-cli/src/main.rs @@ -1094,7 +1094,7 @@ async fn main() { let mut app = App::new("plusdomains1") .author("Sebastian Thiel ") - .version("2.0.4+20190616") + .version("2.0.5+20190616") .about("Builds on top of the Google+ platform for Google Apps Domains.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_plusdomains1_cli") .arg(Arg::with_name("url") diff --git a/gen/plusdomains1/Cargo.toml b/gen/plusdomains1/Cargo.toml index f7dfa92613..524f024782 100644 --- a/gen/plusdomains1/Cargo.toml +++ b/gen/plusdomains1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plusdomains1" -version = "2.0.4+20190616" +version = "2.0.5+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plusdomains1" homepage = "https://developers.google.com/+/domains/" -documentation = "https://docs.rs/google-plusdomains1/2.0.4+20190616" +documentation = "https://docs.rs/google-plusdomains1/2.0.5+20190616" license = "MIT" keywords = ["plusDomains", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/plusdomains1/README.md b/gen/plusdomains1/README.md index 363372f9f4..3a4487a37c 100644 --- a/gen/plusdomains1/README.md +++ b/gen/plusdomains1/README.md @@ -5,31 +5,31 @@ DO NOT EDIT ! --> The `google-plusdomains1` library allows access to all features of the *Google plusDomains* service. -This documentation was generated from *plusDomains* crate version *2.0.4+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *plusDomains* crate version *2.0.5+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *plusDomains* *v1* API can be found at the [official documentation site](https://developers.google.com/+/domains/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/PlusDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/PlusDomains) ... -* [activities](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::Activity) - * [*get*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::ActivityGetCall) and [*list*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::ActivityListCall) -* [audiences](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::Audience) - * [*list*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::AudienceListCall) -* [circles](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::Circle) - * [*list*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::CircleListCall) -* [comments](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::Comment) - * [*get*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::CommentGetCall) and [*list*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::CommentListCall) -* [media](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::Media) - * [*insert*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::MediaInsertCall) +* [activities](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::Activity) + * [*get*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::ActivityGetCall) and [*list*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::ActivityListCall) +* [audiences](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::Audience) + * [*list*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::AudienceListCall) +* [circles](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::Circle) + * [*list*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::CircleListCall) +* [comments](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::Comment) + * [*get*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::CommentGetCall) and [*list*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::CommentListCall) +* [media](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::Media) + * [*insert*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::MediaInsertCall) * people - * [*get*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::PeopleGetCall), [*list*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::PeopleListCall) and [*list by activity*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::PeopleListByActivityCall) + * [*get*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::PeopleGetCall), [*list*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::PeopleListCall) and [*list by activity*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::PeopleListByActivityCall) Upload supported by ... -* [*insert media*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/api::MediaInsertCall) +* [*insert media*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/api::MediaInsertCall) @@ -37,17 +37,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/PlusDomains)** +* **[Hub](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/PlusDomains)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::CallBuilder) -* **[Resources](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::CallBuilder) +* **[Resources](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Part)** + * **[Parts](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -79,9 +79,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-plusdomains1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -144,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Delegate) to the -[Method Builder](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Delegate) to the +[Method Builder](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Delegate) 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 [encodable](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::RequestValue) and -[decodable](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::RequestValue) and +[decodable](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-plusdomains1/2.0.4+20190616/google_plusdomains1/client::RequestValue) are moved +* [request values](https://docs.rs/google-plusdomains1/2.0.5+20190616/google_plusdomains1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/plusdomains1/src/api.rs b/gen/plusdomains1/src/api.rs index 9c8f35f627..02e785eda7 100644 --- a/gen/plusdomains1/src/api.rs +++ b/gen/plusdomains1/src/api.rs @@ -145,7 +145,7 @@ impl<'a, > PlusDomains<> { PlusDomains { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/plusDomains/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -171,7 +171,7 @@ impl<'a, > PlusDomains<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3924,7 +3924,6 @@ impl<'a> MediaInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/plusdomains1/src/client.rs b/gen/plusdomains1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/plusdomains1/src/client.rs +++ b/gen/plusdomains1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/plusdomains1/src/lib.rs b/gen/plusdomains1/src/lib.rs index 7e52a2f41e..58594ad0e0 100644 --- a/gen/plusdomains1/src/lib.rs +++ b/gen/plusdomains1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *plusDomains* crate version *2.0.4+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *plusDomains* crate version *2.0.5+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *plusDomains* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/domains/). @@ -79,9 +79,6 @@ //! ```toml //! [dependencies] //! google-plusdomains1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/policysimulator1-cli/Cargo.toml b/gen/policysimulator1-cli/Cargo.toml index ec43191b97..e1ecc6b2f5 100644 --- a/gen/policysimulator1-cli/Cargo.toml +++ b/gen/policysimulator1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-policysimulator1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Simulator (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policysimulator1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-policysimulator1] path = "../policysimulator1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/policysimulator1-cli/README.md b/gen/policysimulator1-cli/README.md index 6c67bcfb47..aebeae6162 100644 --- a/gen/policysimulator1-cli/README.md +++ b/gen/policysimulator1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Policy Simulator* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Policy Simulator* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash policysimulator1 [options] diff --git a/gen/policysimulator1-cli/mkdocs.yml b/gen/policysimulator1-cli/mkdocs.yml index 1737cd9fa8..241592cf24 100644 --- a/gen/policysimulator1-cli/mkdocs.yml +++ b/gen/policysimulator1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Simulator v2.0.4+20210330 +site_name: Policy Simulator v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-policysimulator1-cli site_description: A complete library to interact with Policy Simulator (protocol v1) diff --git a/gen/policysimulator1-cli/src/main.rs b/gen/policysimulator1-cli/src/main.rs index 5d22835843..fa49107eaf 100644 --- a/gen/policysimulator1-cli/src/main.rs +++ b/gen/policysimulator1-cli/src/main.rs @@ -1193,7 +1193,7 @@ async fn main() { let mut app = App::new("policysimulator1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about(" Policy Simulator is a collection of endpoints for creating, running, and viewing a Replay. A `Replay` is a type of simulation that lets you see how your members' access to resources might change if you changed your IAM policy. During a `Replay`, Policy Simulator re-evaluates, or replays, past access attempts under both the current policy and your proposed policy, and compares those results to determine how your members' access might change under the proposed policy.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_policysimulator1_cli") .arg(Arg::with_name("url") diff --git a/gen/policysimulator1/Cargo.toml b/gen/policysimulator1/Cargo.toml index 31850539d7..58349bbf51 100644 --- a/gen/policysimulator1/Cargo.toml +++ b/gen/policysimulator1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policysimulator1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Simulator (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policysimulator1" homepage = "https://cloud.google.com/iam/docs/simulating-access" -documentation = "https://docs.rs/google-policysimulator1/2.0.4+20210330" +documentation = "https://docs.rs/google-policysimulator1/2.0.5+20210330" license = "MIT" keywords = ["policysimulator", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/policysimulator1/README.md b/gen/policysimulator1/README.md index 4ae27ed6fb..0eba34eaaa 100644 --- a/gen/policysimulator1/README.md +++ b/gen/policysimulator1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-policysimulator1` library allows access to all features of the *Google Policy Simulator* service. -This documentation was generated from *Policy Simulator* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Policy Simulator* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Policy Simulator* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/docs/simulating-access). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/PolicySimulator) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/PolicySimulator) ... * folders - * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::FolderLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::FolderLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::FolderLocationReplayResultListCall) + * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::FolderLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::FolderLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::FolderLocationReplayResultListCall) * operations - * [*get*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::OperationGetCall) and [*list*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::OperationListCall) + * [*get*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::OperationGetCall) and [*list*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::OperationListCall) * organizations - * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::OrganizationLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::OrganizationLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::OrganizationLocationReplayResultListCall) + * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::OrganizationLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::OrganizationLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::OrganizationLocationReplayResultListCall) * projects - * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::ProjectLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::ProjectLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/api::ProjectLocationReplayResultListCall) + * [*locations replays create*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::ProjectLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::ProjectLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/api::ProjectLocationReplayResultListCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/PolicySimulator)** +* **[Hub](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/PolicySimulator)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::CallBuilder) +* **[Resources](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Part)** + * **[Parts](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-policysimulator1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -143,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Delegate), 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-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Delegate) to the +[Method Builder](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::CallBuilder) 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-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Delegate) 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 [encodable](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::RequestValue) and -[decodable](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::RequestValue) and +[decodable](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policysimulator1/2.0.4+20210330/google_policysimulator1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::Part) 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-policysimulator1/2.0.4+20210330/google_policysimulator1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::CallBuilder), 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-policysimulator1/2.0.4+20210330/google_policysimulator1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policysimulator1/2.0.5+20210330/google_policysimulator1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/policysimulator1/src/api.rs b/gen/policysimulator1/src/api.rs index 4c0b1d916a..02195567fd 100644 --- a/gen/policysimulator1/src/api.rs +++ b/gen/policysimulator1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > PolicySimulator<> { PolicySimulator { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://policysimulator.googleapis.com/".to_string(), _root_url: "https://policysimulator.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > PolicySimulator<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/policysimulator1/src/client.rs b/gen/policysimulator1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/policysimulator1/src/client.rs +++ b/gen/policysimulator1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/policysimulator1/src/lib.rs b/gen/policysimulator1/src/lib.rs index c1e81701f3..9fd2769bae 100644 --- a/gen/policysimulator1/src/lib.rs +++ b/gen/policysimulator1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Policy Simulator* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Policy Simulator* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Policy Simulator* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/docs/simulating-access). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-policysimulator1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/policytroubleshooter1-cli/Cargo.toml b/gen/policytroubleshooter1-cli/Cargo.toml index 09a5b3156c..89d96a21d4 100644 --- a/gen/policytroubleshooter1-cli/Cargo.toml +++ b/gen/policytroubleshooter1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-policytroubleshooter1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Troubleshooter (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policytroubleshooter1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-policytroubleshooter1] path = "../policytroubleshooter1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/policytroubleshooter1-cli/README.md b/gen/policytroubleshooter1-cli/README.md index fc6a62ad06..cec73f3f2f 100644 --- a/gen/policytroubleshooter1-cli/README.md +++ b/gen/policytroubleshooter1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Policy Troubleshooter* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Policy Troubleshooter* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash policytroubleshooter1 [options] diff --git a/gen/policytroubleshooter1-cli/mkdocs.yml b/gen/policytroubleshooter1-cli/mkdocs.yml index 1d7cb4b2bf..b3177c2801 100644 --- a/gen/policytroubleshooter1-cli/mkdocs.yml +++ b/gen/policytroubleshooter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Troubleshooter v2.0.4+20210329 +site_name: Policy Troubleshooter v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-policytroubleshooter1-cli site_description: A complete library to interact with Policy Troubleshooter (protocol v1) diff --git a/gen/policytroubleshooter1-cli/src/main.rs b/gen/policytroubleshooter1-cli/src/main.rs index 16a5d487f1..d8743b5484 100644 --- a/gen/policytroubleshooter1-cli/src/main.rs +++ b/gen/policytroubleshooter1-cli/src/main.rs @@ -244,7 +244,7 @@ async fn main() { let mut app = App::new("policytroubleshooter1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_policytroubleshooter1_cli") .arg(Arg::with_name("url") diff --git a/gen/policytroubleshooter1/Cargo.toml b/gen/policytroubleshooter1/Cargo.toml index 486233db6a..ccfce8ef2d 100644 --- a/gen/policytroubleshooter1/Cargo.toml +++ b/gen/policytroubleshooter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policytroubleshooter1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Troubleshooter (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policytroubleshooter1" homepage = "https://cloud.google.com/iam/" -documentation = "https://docs.rs/google-policytroubleshooter1/2.0.4+20210329" +documentation = "https://docs.rs/google-policytroubleshooter1/2.0.5+20210329" license = "MIT" keywords = ["policytroubleshooter", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/policytroubleshooter1/README.md b/gen/policytroubleshooter1/README.md index 44619eef58..39e33cdd4f 100644 --- a/gen/policytroubleshooter1/README.md +++ b/gen/policytroubleshooter1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-policytroubleshooter1` library allows access to all features of the *Google Policy Troubleshooter* service. -This documentation was generated from *Policy Troubleshooter* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Policy Troubleshooter* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Policy Troubleshooter* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/PolicyTroubleshooter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/PolicyTroubleshooter) ... * iam - * [*troubleshoot*](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/api::IamTroubleshootCall) + * [*troubleshoot*](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/api::IamTroubleshootCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/PolicyTroubleshooter)** +* **[Hub](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/PolicyTroubleshooter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::CallBuilder) +* **[Resources](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Part)** + * **[Parts](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-policytroubleshooter1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Delegate), 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-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Delegate) to the +[Method Builder](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::CallBuilder) 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-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Delegate) 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 [encodable](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::RequestValue) and -[decodable](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::RequestValue) and +[decodable](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::Part) 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-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::CallBuilder), 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-policytroubleshooter1/2.0.4+20210329/google_policytroubleshooter1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policytroubleshooter1/2.0.5+20210329/google_policytroubleshooter1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/policytroubleshooter1/src/api.rs b/gen/policytroubleshooter1/src/api.rs index fa9b347317..4bef72dcf7 100644 --- a/gen/policytroubleshooter1/src/api.rs +++ b/gen/policytroubleshooter1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > PolicyTroubleshooter<> { PolicyTroubleshooter { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://policytroubleshooter.googleapis.com/".to_string(), _root_url: "https://policytroubleshooter.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > PolicyTroubleshooter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/policytroubleshooter1/src/client.rs b/gen/policytroubleshooter1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/policytroubleshooter1/src/client.rs +++ b/gen/policytroubleshooter1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/policytroubleshooter1/src/lib.rs b/gen/policytroubleshooter1/src/lib.rs index 658b5efbf6..67a63d6f5b 100644 --- a/gen/policytroubleshooter1/src/lib.rs +++ b/gen/policytroubleshooter1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Policy Troubleshooter* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Policy Troubleshooter* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Policy Troubleshooter* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-policytroubleshooter1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/prediction1d6-cli/Cargo.toml b/gen/prediction1d6-cli/Cargo.toml index 5d3746620f..b170f96c20 100644 --- a/gen/prediction1d6-cli/Cargo.toml +++ b/gen/prediction1d6-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-prediction1d6-cli" -version = "2.0.4+20160511" +version = "2.0.5+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prediction1d6-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-prediction1d6] path = "../prediction1d6" -version = "2.0.4+20160511" +version = "2.0.5+20160511" diff --git a/gen/prediction1d6-cli/README.md b/gen/prediction1d6-cli/README.md index 22b8502326..a6b6c4177c 100644 --- a/gen/prediction1d6-cli/README.md +++ b/gen/prediction1d6-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *2.0.4*. +This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *2.0.5*. ```bash prediction1d6 [options] diff --git a/gen/prediction1d6-cli/mkdocs.yml b/gen/prediction1d6-cli/mkdocs.yml index c6dc8973f4..3c107b5d76 100644 --- a/gen/prediction1d6-cli/mkdocs.yml +++ b/gen/prediction1d6-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: prediction v2.0.4+20160511 +site_name: prediction v2.0.5+20160511 site_url: http://byron.github.io/google-apis-rs/google-prediction1d6-cli site_description: A complete library to interact with prediction (protocol v1.6) diff --git a/gen/prediction1d6-cli/src/main.rs b/gen/prediction1d6-cli/src/main.rs index a24b2d3927..c79c66778e 100644 --- a/gen/prediction1d6-cli/src/main.rs +++ b/gen/prediction1d6-cli/src/main.rs @@ -944,7 +944,7 @@ async fn main() { let mut app = App::new("prediction1d6") .author("Sebastian Thiel ") - .version("2.0.4+20160511") + .version("2.0.5+20160511") .about("Lets you access a cloud hosted machine learning service that makes it easy to build smart apps") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_prediction1d6_cli") .arg(Arg::with_name("url") diff --git a/gen/prediction1d6/Cargo.toml b/gen/prediction1d6/Cargo.toml index 05ed2550c5..70d1a85d0a 100644 --- a/gen/prediction1d6/Cargo.toml +++ b/gen/prediction1d6/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-prediction1d6" -version = "2.0.4+20160511" +version = "2.0.5+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prediction1d6" homepage = "https://developers.google.com/prediction/docs/developer-guide" -documentation = "https://docs.rs/google-prediction1d6/2.0.4+20160511" +documentation = "https://docs.rs/google-prediction1d6/2.0.5+20160511" license = "MIT" keywords = ["prediction", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/prediction1d6/README.md b/gen/prediction1d6/README.md index c5ee8c594c..bd20a429b9 100644 --- a/gen/prediction1d6/README.md +++ b/gen/prediction1d6/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-prediction1d6` library allows access to all features of the *Google prediction* service. -This documentation was generated from *prediction* crate version *2.0.4+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *prediction* crate version *2.0.5+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *prediction* *v1d6* API can be found at the [official documentation site](https://developers.google.com/prediction/docs/developer-guide). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/Prediction) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/Prediction) ... * hostedmodels - * [*predict*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::HostedmodelPredictCall) + * [*predict*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::HostedmodelPredictCall) * trainedmodels - * [*analyze*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelAnalyzeCall), [*delete*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelDeleteCall), [*get*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelGetCall), [*insert*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelInsertCall), [*list*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelListCall), [*predict*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelPredictCall) and [*update*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/api::TrainedmodelUpdateCall) + * [*analyze*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelAnalyzeCall), [*delete*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelDeleteCall), [*get*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelGetCall), [*insert*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelInsertCall), [*list*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelListCall), [*predict*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelPredictCall) and [*update*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/api::TrainedmodelUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/Prediction)** +* **[Hub](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/Prediction)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::CallBuilder) -* **[Resources](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::CallBuilder) +* **[Resources](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Part)** + * **[Parts](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::CallBuilder)** +* **[Activities](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-prediction1d6 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Delegate) to the -[Method Builder](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Delegate) to the +[Method Builder](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Delegate) 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 [encodable](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::RequestValue) and -[decodable](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::RequestValue) and +[decodable](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-prediction1d6/2.0.4+20160511/google_prediction1d6/client::RequestValue) are moved +* [request values](https://docs.rs/google-prediction1d6/2.0.5+20160511/google_prediction1d6/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/prediction1d6/src/api.rs b/gen/prediction1d6/src/api.rs index c2ab8f3d70..cc5013dabb 100644 --- a/gen/prediction1d6/src/api.rs +++ b/gen/prediction1d6/src/api.rs @@ -136,7 +136,7 @@ impl<'a, > Prediction<> { Prediction { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/prediction/v1.6/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -150,7 +150,7 @@ impl<'a, > Prediction<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/prediction1d6/src/client.rs b/gen/prediction1d6/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/prediction1d6/src/client.rs +++ b/gen/prediction1d6/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/prediction1d6/src/lib.rs b/gen/prediction1d6/src/lib.rs index 03785eed28..91ad462471 100644 --- a/gen/prediction1d6/src/lib.rs +++ b/gen/prediction1d6/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *prediction* crate version *2.0.4+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *prediction* crate version *2.0.5+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *prediction* *v1d6* API can be found at the //! [official documentation site](https://developers.google.com/prediction/docs/developer-guide). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-prediction1d6 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/privateca1_beta1-cli/Cargo.toml b/gen/privateca1_beta1-cli/Cargo.toml index f82244e09a..258c5f2cdf 100644 --- a/gen/privateca1_beta1-cli/Cargo.toml +++ b/gen/privateca1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-privateca1_beta1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Authority Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/privateca1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-privateca1_beta1] path = "../privateca1_beta1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/privateca1_beta1-cli/README.md b/gen/privateca1_beta1-cli/README.md index 6c1b9ec6fb..6df56fa1a9 100644 --- a/gen/privateca1_beta1-cli/README.md +++ b/gen/privateca1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Certificate Authority Service* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Certificate Authority Service* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash privateca1-beta1 [options] diff --git a/gen/privateca1_beta1-cli/mkdocs.yml b/gen/privateca1_beta1-cli/mkdocs.yml index d553da1b8c..f218570284 100644 --- a/gen/privateca1_beta1-cli/mkdocs.yml +++ b/gen/privateca1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Certificate Authority Service v2.0.4+20210322 +site_name: Certificate Authority Service v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-privateca1_beta1-cli site_description: A complete library to interact with Certificate Authority Service (protocol v1beta1) diff --git a/gen/privateca1_beta1-cli/src/main.rs b/gen/privateca1_beta1-cli/src/main.rs index 9d69e39739..6573c056c1 100644 --- a/gen/privateca1_beta1-cli/src/main.rs +++ b/gen/privateca1_beta1-cli/src/main.rs @@ -3991,7 +3991,7 @@ async fn main() { let mut app = App::new("privateca1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys.\" ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_privateca1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/privateca1_beta1/Cargo.toml b/gen/privateca1_beta1/Cargo.toml index d96a93f6e6..12d990475e 100644 --- a/gen/privateca1_beta1/Cargo.toml +++ b/gen/privateca1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-privateca1_beta1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Authority Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/privateca1_beta1" homepage = "https://cloud.google.com/" -documentation = "https://docs.rs/google-privateca1_beta1/2.0.4+20210322" +documentation = "https://docs.rs/google-privateca1_beta1/2.0.5+20210322" license = "MIT" keywords = ["privateca", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/privateca1_beta1/README.md b/gen/privateca1_beta1/README.md index bfa0f4ef03..41ee0ffa50 100644 --- a/gen/privateca1_beta1/README.md +++ b/gen/privateca1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-privateca1_beta1` library allows access to all features of the *Google Certificate Authority Service* service. -This documentation was generated from *Certificate Authority Service* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Certificate Authority Service* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Certificate Authority Service* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/CertificateAuthorityService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/CertificateAuthorityService) ... * projects - * [*locations certificate authorities activate*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityActivateCall), [*locations certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetCall), [*locations certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListListCall), [*locations certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListPatchCall), [*locations certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations certificate authorities certificates create*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateCreateCall), [*locations certificate authorities certificates get*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateGetCall), [*locations certificate authorities certificates list*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateListCall), [*locations certificate authorities certificates patch*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificatePatchCall), [*locations certificate authorities certificates revoke*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevokeCall), [*locations certificate authorities create*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCreateCall), [*locations certificate authorities disable*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityDisableCall), [*locations certificate authorities enable*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityEnableCall), [*locations certificate authorities fetch*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityFetchCall), [*locations certificate authorities get*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetCall), [*locations certificate authorities get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetIamPolicyCall), [*locations certificate authorities list*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityListCall), [*locations certificate authorities patch*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityPatchCall), [*locations certificate authorities restore*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityRestoreCall), [*locations certificate authorities schedule delete*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityScheduleDeleteCall), [*locations certificate authorities set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthoritySetIamPolicyCall), [*locations certificate authorities test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationOperationListCall), [*locations reusable configs get*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigGetCall), [*locations reusable configs get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigGetIamPolicyCall), [*locations reusable configs list*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigListCall), [*locations reusable configs set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigSetIamPolicyCall) and [*locations reusable configs test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigTestIamPermissionCall) + * [*locations certificate authorities activate*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityActivateCall), [*locations certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetCall), [*locations certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListListCall), [*locations certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListPatchCall), [*locations certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations certificate authorities certificates create*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateCreateCall), [*locations certificate authorities certificates get*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateGetCall), [*locations certificate authorities certificates list*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateListCall), [*locations certificate authorities certificates patch*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificatePatchCall), [*locations certificate authorities certificates revoke*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevokeCall), [*locations certificate authorities create*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCreateCall), [*locations certificate authorities disable*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityDisableCall), [*locations certificate authorities enable*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityEnableCall), [*locations certificate authorities fetch*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityFetchCall), [*locations certificate authorities get*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetCall), [*locations certificate authorities get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetIamPolicyCall), [*locations certificate authorities list*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityListCall), [*locations certificate authorities patch*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityPatchCall), [*locations certificate authorities restore*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityRestoreCall), [*locations certificate authorities schedule delete*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityScheduleDeleteCall), [*locations certificate authorities set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthoritySetIamPolicyCall), [*locations certificate authorities test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationOperationListCall), [*locations reusable configs get*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigGetCall), [*locations reusable configs get iam policy*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigGetIamPolicyCall), [*locations reusable configs list*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigListCall), [*locations reusable configs set iam policy*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigSetIamPolicyCall) and [*locations reusable configs test iam permissions*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/api::ProjectLocationReusableConfigTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/CertificateAuthorityService)** +* **[Hub](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/CertificateAuthorityService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -72,9 +72,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-privateca1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Delegate), 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-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::CallBuilder) 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-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::Part) 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-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::CallBuilder), 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-privateca1_beta1/2.0.4+20210322/google_privateca1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-privateca1_beta1/2.0.5+20210322/google_privateca1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/privateca1_beta1/src/api.rs b/gen/privateca1_beta1/src/api.rs index b8f7affd21..9a1adbe4d1 100644 --- a/gen/privateca1_beta1/src/api.rs +++ b/gen/privateca1_beta1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > CertificateAuthorityService<> { CertificateAuthorityService { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://privateca.googleapis.com/".to_string(), _root_url: "https://privateca.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CertificateAuthorityService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/privateca1_beta1/src/client.rs b/gen/privateca1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/privateca1_beta1/src/client.rs +++ b/gen/privateca1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/privateca1_beta1/src/lib.rs b/gen/privateca1_beta1/src/lib.rs index eb507c6a7f..39c79ef839 100644 --- a/gen/privateca1_beta1/src/lib.rs +++ b/gen/privateca1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Certificate Authority Service* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Certificate Authority Service* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Certificate Authority Service* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/). @@ -72,9 +72,6 @@ //! ```toml //! [dependencies] //! google-privateca1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml b/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml index fb7ccb6044..a105bf3aae 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml +++ b/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-prod_tt_sasportal1_alpha1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with SAS Portal Testing (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prod_tt_sasportal1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-prod_tt_sasportal1_alpha1] path = "../prod_tt_sasportal1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/prod_tt_sasportal1_alpha1-cli/README.md b/gen/prod_tt_sasportal1_alpha1-cli/README.md index ff802c47d0..f7ef6d5227 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/README.md +++ b/gen/prod_tt_sasportal1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *SAS Portal Testing* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *SAS Portal Testing* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash prod-tt-sasportal1-alpha1 [options] diff --git a/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml b/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml index 88c104f7dd..533a572b89 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml +++ b/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SAS Portal Testing v2.0.4+20210330 +site_name: SAS Portal Testing v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-prod_tt_sasportal1_alpha1-cli site_description: A complete library to interact with SAS Portal Testing (protocol v1alpha1) diff --git a/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs b/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs index d45e55109d..37b40007fc 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs +++ b/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs @@ -8769,7 +8769,7 @@ async fn main() { let mut app = App::new("prod-tt-sasportal1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_prod_tt_sasportal1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/prod_tt_sasportal1_alpha1/Cargo.toml b/gen/prod_tt_sasportal1_alpha1/Cargo.toml index 82e438e24a..030f7d0fb2 100644 --- a/gen/prod_tt_sasportal1_alpha1/Cargo.toml +++ b/gen/prod_tt_sasportal1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-prod_tt_sasportal1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with SAS Portal Testing (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prod_tt_sasportal1_alpha1" homepage = "https://developers.google.com/spectrum-access-system/" -documentation = "https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330" +documentation = "https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330" license = "MIT" keywords = ["prod_tt_sasportal", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/prod_tt_sasportal1_alpha1/README.md b/gen/prod_tt_sasportal1_alpha1/README.md index 0869283d4d..ea6ce8bcd8 100644 --- a/gen/prod_tt_sasportal1_alpha1/README.md +++ b/gen/prod_tt_sasportal1_alpha1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-prod_tt_sasportal1_alpha1` library allows access to all features of the *Google SAS Portal Testing* service. -This documentation was generated from *SAS Portal Testing* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *SAS Portal Testing* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *SAS Portal Testing* *v1_alpha1* API can be found at the [official documentation site](https://developers.google.com/spectrum-access-system/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/SASPortalTesting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/SASPortalTesting) ... * customers - * [*deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerPatchCall) + * [*deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::CustomerPatchCall) * deployments - * [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentGetCall) + * [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::DeploymentGetCall) * installer - * [*generate secret*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::InstallerValidateCall) + * [*generate secret*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::InstallerValidateCall) * nodes - * [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodePatchCall) + * [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::NodeNodePatchCall) * policies - * [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/api::PolicyTestCall) + * [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/api::PolicyTestCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/SASPortalTesting)** +* **[Hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/SASPortalTesting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,9 +92,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-prod_tt_sasportal1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -161,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate), 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-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -181,29 +178,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder) 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-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::Part) 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-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::CallBuilder), 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-prod_tt_sasportal1_alpha1/2.0.4+20210330/google_prod_tt_sasportal1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-prod_tt_sasportal1_alpha1/2.0.5+20210330/google_prod_tt_sasportal1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/prod_tt_sasportal1_alpha1/src/api.rs b/gen/prod_tt_sasportal1_alpha1/src/api.rs index 950bc8a7b5..a23fd05298 100644 --- a/gen/prod_tt_sasportal1_alpha1/src/api.rs +++ b/gen/prod_tt_sasportal1_alpha1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > SASPortalTesting<> { SASPortalTesting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://prod-tt-sasportal.googleapis.com/".to_string(), _root_url: "https://prod-tt-sasportal.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > SASPortalTesting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/prod_tt_sasportal1_alpha1/src/client.rs b/gen/prod_tt_sasportal1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/prod_tt_sasportal1_alpha1/src/client.rs +++ b/gen/prod_tt_sasportal1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/prod_tt_sasportal1_alpha1/src/lib.rs b/gen/prod_tt_sasportal1_alpha1/src/lib.rs index 0469d94d72..f528b3995f 100644 --- a/gen/prod_tt_sasportal1_alpha1/src/lib.rs +++ b/gen/prod_tt_sasportal1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SAS Portal Testing* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *SAS Portal Testing* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *SAS Portal Testing* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/spectrum-access-system/). @@ -92,9 +92,6 @@ //! ```toml //! [dependencies] //! google-prod_tt_sasportal1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/proximitybeacon1_beta1-cli/Cargo.toml b/gen/proximitybeacon1_beta1-cli/Cargo.toml index 3ed47dab19..1e55f48de0 100644 --- a/gen/proximitybeacon1_beta1-cli/Cargo.toml +++ b/gen/proximitybeacon1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-proximitybeacon1_beta1-cli" -version = "2.0.4+20200127" +version = "2.0.5+20200127" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/proximitybeacon1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-proximitybeacon1_beta1] path = "../proximitybeacon1_beta1" -version = "2.0.4+20200127" +version = "2.0.5+20200127" diff --git a/gen/proximitybeacon1_beta1-cli/README.md b/gen/proximitybeacon1_beta1-cli/README.md index db26e4bd6e..02f60e110b 100644 --- a/gen/proximitybeacon1_beta1-cli/README.md +++ b/gen/proximitybeacon1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *proximitybeacon* API at revision *20200127*. The CLI is at version *2.0.4*. +This documentation was generated from the *proximitybeacon* API at revision *20200127*. The CLI is at version *2.0.5*. ```bash proximitybeacon1-beta1 [options] diff --git a/gen/proximitybeacon1_beta1-cli/mkdocs.yml b/gen/proximitybeacon1_beta1-cli/mkdocs.yml index d9177eb7e5..5f1db50a58 100644 --- a/gen/proximitybeacon1_beta1-cli/mkdocs.yml +++ b/gen/proximitybeacon1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: proximitybeacon v2.0.4+20200127 +site_name: proximitybeacon v2.0.5+20200127 site_url: http://byron.github.io/google-apis-rs/google-proximitybeacon1_beta1-cli site_description: A complete library to interact with proximitybeacon (protocol v1beta1) diff --git a/gen/proximitybeacon1_beta1-cli/src/main.rs b/gen/proximitybeacon1_beta1-cli/src/main.rs index e531f299bd..ceef0acae9 100644 --- a/gen/proximitybeacon1_beta1-cli/src/main.rs +++ b/gen/proximitybeacon1_beta1-cli/src/main.rs @@ -1957,7 +1957,7 @@ async fn main() { let mut app = App::new("proximitybeacon1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20200127") + .version("2.0.5+20200127") .about("Registers, manages, indexes, and searches beacons.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_proximitybeacon1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/proximitybeacon1_beta1/Cargo.toml b/gen/proximitybeacon1_beta1/Cargo.toml index bfc0332e0a..c51e539e0a 100644 --- a/gen/proximitybeacon1_beta1/Cargo.toml +++ b/gen/proximitybeacon1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-proximitybeacon1_beta1" -version = "2.0.4+20200127" +version = "2.0.5+20200127" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/proximitybeacon1_beta1" homepage = "https://developers.google.com/beacons/proximity/" -documentation = "https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127" +documentation = "https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127" license = "MIT" keywords = ["proximitybeacon", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/proximitybeacon1_beta1/README.md b/gen/proximitybeacon1_beta1/README.md index 049a364665..526c645d71 100644 --- a/gen/proximitybeacon1_beta1/README.md +++ b/gen/proximitybeacon1_beta1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-proximitybeacon1_beta1` library allows access to all features of the *Google proximitybeacon* service. -This documentation was generated from *proximitybeacon* crate version *2.0.4+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *proximitybeacon* crate version *2.0.5+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *proximitybeacon* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/beacons/proximity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/Proximitybeacon) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/Proximitybeacon) ... * beaconinfo - * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconinfoGetforobservedCall) -* [beacons](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::Beacon) - * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconActivateCall), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentBatchDeleteCall), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentCreateCall), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentDeleteCall), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentListCall), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconDeactivateCall), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconDecommissionCall), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconDeleteCall), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconDiagnosticListCall), [*get*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconGetCall), [*list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconListCall), [*register*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconRegisterCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::BeaconUpdateCall) -* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::Namespace) - * [*list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::NamespaceListCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::NamespaceUpdateCall) + * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconinfoGetforobservedCall) +* [beacons](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::Beacon) + * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconActivateCall), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentBatchDeleteCall), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentCreateCall), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentDeleteCall), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentListCall), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconDeactivateCall), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconDecommissionCall), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconDeleteCall), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconDiagnosticListCall), [*get*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconGetCall), [*list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconListCall), [*register*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconRegisterCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::BeaconUpdateCall) +* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::Namespace) + * [*list*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::NamespaceListCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::NamespaceUpdateCall) Other activities are ... -* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/api::MethodGetEidparamCall) +* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/api::MethodGetEidparamCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/Proximitybeacon)** +* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/Proximitybeacon)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -83,9 +83,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-proximitybeacon1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -149,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::ResponseResult), 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")`. @@ -169,29 +166,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-proximitybeacon1_beta1/2.0.4+20200127/google_proximitybeacon1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-proximitybeacon1_beta1/2.0.5+20200127/google_proximitybeacon1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/proximitybeacon1_beta1/src/api.rs b/gen/proximitybeacon1_beta1/src/api.rs index 28f6147905..568c2a45c5 100644 --- a/gen/proximitybeacon1_beta1/src/api.rs +++ b/gen/proximitybeacon1_beta1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > Proximitybeacon<> { Proximitybeacon { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://proximitybeacon.googleapis.com/".to_string(), _root_url: "https://proximitybeacon.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > Proximitybeacon<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/proximitybeacon1_beta1/src/client.rs b/gen/proximitybeacon1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/proximitybeacon1_beta1/src/client.rs +++ b/gen/proximitybeacon1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs index ef1f5586e9..31a618cb5e 100644 --- a/gen/proximitybeacon1_beta1/src/lib.rs +++ b/gen/proximitybeacon1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *proximitybeacon* crate version *2.0.4+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *proximitybeacon* crate version *2.0.5+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *proximitybeacon* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/beacons/proximity/). @@ -83,9 +83,6 @@ //! ```toml //! [dependencies] //! google-proximitybeacon1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/pubsub1-cli/Cargo.toml b/gen/pubsub1-cli/Cargo.toml index 15649c6e76..d19196854b 100644 --- a/gen/pubsub1-cli/Cargo.toml +++ b/gen/pubsub1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pubsub1] path = "../pubsub1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/pubsub1-cli/README.md b/gen/pubsub1-cli/README.md index c2ffc61b15..e7af249cfe 100644 --- a/gen/pubsub1-cli/README.md +++ b/gen/pubsub1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Pubsub* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Pubsub* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash pubsub1 [options] diff --git a/gen/pubsub1-cli/mkdocs.yml b/gen/pubsub1-cli/mkdocs.yml index 7e003d81d1..271e44bd2a 100644 --- a/gen/pubsub1-cli/mkdocs.yml +++ b/gen/pubsub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v2.0.4+20210322 +site_name: Pubsub v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-pubsub1-cli site_description: A complete library to interact with Pubsub (protocol v1) diff --git a/gen/pubsub1-cli/src/main.rs b/gen/pubsub1-cli/src/main.rs index 904eac0b1b..cd4b759b26 100644 --- a/gen/pubsub1-cli/src/main.rs +++ b/gen/pubsub1-cli/src/main.rs @@ -4403,7 +4403,7 @@ async fn main() { let mut app = App::new("pubsub1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Provides reliable, many-to-many, asynchronous messaging between applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_cli") .arg(Arg::with_name("url") diff --git a/gen/pubsub1/Cargo.toml b/gen/pubsub1/Cargo.toml index 8163a848b0..daf231b655 100644 --- a/gen/pubsub1/Cargo.toml +++ b/gen/pubsub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1/2.0.4+20210322" +documentation = "https://docs.rs/google-pubsub1/2.0.5+20210322" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pubsub1/README.md b/gen/pubsub1/README.md index d774517c36..df07a84520 100644 --- a/gen/pubsub1/README.md +++ b/gen/pubsub1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pubsub1` library allows access to all features of the *Google Pubsub* service. -This documentation was generated from *Pubsub* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Pubsub* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Pubsub* *v1* API can be found at the [official documentation site](https://cloud.google.com/pubsub/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/Pubsub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/Pubsub) ... * projects - * [*schemas create*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaCreateCall), [*schemas delete*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaDeleteCall), [*schemas get*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaGetCall), [*schemas get iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaGetIamPolicyCall), [*schemas list*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaListCall), [*schemas set iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaSetIamPolicyCall), [*schemas test iam permissions*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaTestIamPermissionCall), [*schemas validate*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaValidateCall), [*schemas validate message*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSchemaValidateMessageCall), [*snapshots create*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotCreateCall), [*snapshots delete*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotDeleteCall), [*snapshots get*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotGetCall), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotGetIamPolicyCall), [*snapshots list*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotListCall), [*snapshots patch*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotPatchCall), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotSetIamPolicyCall), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSnapshotTestIamPermissionCall), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionDeleteCall), [*subscriptions detach*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionDetachCall), [*subscriptions get*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions patch*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionPatchCall), [*subscriptions pull*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionPullCall), [*subscriptions seek*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionSeekCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicListCall), [*topics patch*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicPatchCall), [*topics publish*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicSetIamPolicyCall), [*topics snapshots list*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicSnapshotListCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/api::ProjectTopicTestIamPermissionCall) + * [*schemas create*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaCreateCall), [*schemas delete*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaDeleteCall), [*schemas get*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaGetCall), [*schemas get iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaGetIamPolicyCall), [*schemas list*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaListCall), [*schemas set iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaSetIamPolicyCall), [*schemas test iam permissions*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaTestIamPermissionCall), [*schemas validate*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaValidateCall), [*schemas validate message*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSchemaValidateMessageCall), [*snapshots create*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotCreateCall), [*snapshots delete*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotDeleteCall), [*snapshots get*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotGetCall), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotGetIamPolicyCall), [*snapshots list*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotListCall), [*snapshots patch*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotPatchCall), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotSetIamPolicyCall), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSnapshotTestIamPermissionCall), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionDeleteCall), [*subscriptions detach*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionDetachCall), [*subscriptions get*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions patch*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionPatchCall), [*subscriptions pull*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionPullCall), [*subscriptions seek*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionSeekCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicListCall), [*topics patch*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicPatchCall), [*topics publish*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicSetIamPolicyCall), [*topics snapshots list*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicSnapshotListCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/api::ProjectTopicTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/Pubsub)** +* **[Hub](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/Pubsub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::CallBuilder) +* **[Resources](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Part)** + * **[Parts](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-pubsub1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Delegate) to the +[Method Builder](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Delegate) 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 [encodable](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::RequestValue) and -[decodable](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::RequestValue) and +[decodable](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pubsub1/2.0.4+20210322/google_pubsub1/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsub1/2.0.5+20210322/google_pubsub1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsub1/src/api.rs b/gen/pubsub1/src/api.rs index 825093d86f..c8aa5c3a52 100644 --- a/gen/pubsub1/src/api.rs +++ b/gen/pubsub1/src/api.rs @@ -119,7 +119,7 @@ impl<'a, > Pubsub<> { Pubsub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://pubsub.googleapis.com/".to_string(), _root_url: "https://pubsub.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Pubsub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsub1/src/client.rs b/gen/pubsub1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/pubsub1/src/client.rs +++ b/gen/pubsub1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/pubsub1/src/lib.rs b/gen/pubsub1/src/lib.rs index 66cc5cbbe0..ccc369c0c2 100644 --- a/gen/pubsub1/src/lib.rs +++ b/gen/pubsub1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Pubsub* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Pubsub* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Pubsub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-pubsub1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/pubsub1_beta2-cli/Cargo.toml b/gen/pubsub1_beta2-cli/Cargo.toml index ad81b7cfdd..4ff08b7f1e 100644 --- a/gen/pubsub1_beta2-cli/Cargo.toml +++ b/gen/pubsub1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1_beta2-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pubsub1_beta2] path = "../pubsub1_beta2" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/pubsub1_beta2-cli/README.md b/gen/pubsub1_beta2-cli/README.md index a7f33c0eec..8835557dc4 100644 --- a/gen/pubsub1_beta2-cli/README.md +++ b/gen/pubsub1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Pubsub* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Pubsub* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash pubsub1-beta2 [options] diff --git a/gen/pubsub1_beta2-cli/mkdocs.yml b/gen/pubsub1_beta2-cli/mkdocs.yml index ee5097e7e0..dcffeb1916 100644 --- a/gen/pubsub1_beta2-cli/mkdocs.yml +++ b/gen/pubsub1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v2.0.4+20210322 +site_name: Pubsub v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-pubsub1_beta2-cli site_description: A complete library to interact with Pubsub (protocol v1beta2) diff --git a/gen/pubsub1_beta2-cli/src/main.rs b/gen/pubsub1_beta2-cli/src/main.rs index c3d3e57dc6..5a63000605 100644 --- a/gen/pubsub1_beta2-cli/src/main.rs +++ b/gen/pubsub1_beta2-cli/src/main.rs @@ -2143,7 +2143,7 @@ async fn main() { let mut app = App::new("pubsub1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Provides reliable, many-to-many, asynchronous messaging between applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/pubsub1_beta2/Cargo.toml b/gen/pubsub1_beta2/Cargo.toml index f980ae6122..c9338ef3d2 100644 --- a/gen/pubsub1_beta2/Cargo.toml +++ b/gen/pubsub1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1_beta2" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1_beta2" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1_beta2/2.0.4+20210322" +documentation = "https://docs.rs/google-pubsub1_beta2/2.0.5+20210322" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pubsub1_beta2/README.md b/gen/pubsub1_beta2/README.md index 25cc9247ed..1f3bc0bc7f 100644 --- a/gen/pubsub1_beta2/README.md +++ b/gen/pubsub1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pubsub1_beta2` library allows access to all features of the *Google Pubsub* service. -This documentation was generated from *Pubsub* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Pubsub* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Pubsub* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/pubsub/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/Pubsub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/Pubsub) ... * projects - * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionDeleteCall), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionPullCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicListCall), [*topics publish*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicSetIamPolicyCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/api::ProjectTopicTestIamPermissionCall) + * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionDeleteCall), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionPullCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicListCall), [*topics publish*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicSetIamPolicyCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/api::ProjectTopicTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/Pubsub)** +* **[Hub](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/Pubsub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-pubsub1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pubsub1_beta2/2.0.4+20210322/google_pubsub1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsub1_beta2/2.0.5+20210322/google_pubsub1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsub1_beta2/src/api.rs b/gen/pubsub1_beta2/src/api.rs index 59bba537f7..5899f49516 100644 --- a/gen/pubsub1_beta2/src/api.rs +++ b/gen/pubsub1_beta2/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Pubsub<> { Pubsub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://pubsub.googleapis.com/".to_string(), _root_url: "https://pubsub.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Pubsub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsub1_beta2/src/client.rs b/gen/pubsub1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/pubsub1_beta2/src/client.rs +++ b/gen/pubsub1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/pubsub1_beta2/src/lib.rs b/gen/pubsub1_beta2/src/lib.rs index 204ad98ecf..c1746f7558 100644 --- a/gen/pubsub1_beta2/src/lib.rs +++ b/gen/pubsub1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Pubsub* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Pubsub* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Pubsub* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-pubsub1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/pubsublite1-cli/Cargo.toml b/gen/pubsublite1-cli/Cargo.toml index 82bbe19ea9..049ac150cf 100644 --- a/gen/pubsublite1-cli/Cargo.toml +++ b/gen/pubsublite1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsublite1-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with PubsubLite (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsublite1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pubsublite1] path = "../pubsublite1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/pubsublite1-cli/README.md b/gen/pubsublite1-cli/README.md index 7d92d44288..0b1a150914 100644 --- a/gen/pubsublite1-cli/README.md +++ b/gen/pubsublite1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *PubsubLite* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *PubsubLite* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash pubsublite1 [options] diff --git a/gen/pubsublite1-cli/mkdocs.yml b/gen/pubsublite1-cli/mkdocs.yml index 8b769e8e88..d73121c5fb 100644 --- a/gen/pubsublite1-cli/mkdocs.yml +++ b/gen/pubsublite1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: PubsubLite v2.0.4+20210322 +site_name: PubsubLite v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-pubsublite1-cli site_description: A complete library to interact with PubsubLite (protocol v1) diff --git a/gen/pubsublite1-cli/src/main.rs b/gen/pubsublite1-cli/src/main.rs index f8bed25faa..756700b6ab 100644 --- a/gen/pubsublite1-cli/src/main.rs +++ b/gen/pubsublite1-cli/src/main.rs @@ -1608,7 +1608,7 @@ async fn main() { let mut app = App::new("pubsublite1") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsublite1_cli") .arg(Arg::with_name("url") diff --git a/gen/pubsublite1/Cargo.toml b/gen/pubsublite1/Cargo.toml index 52ede67d15..6b6b50d94c 100644 --- a/gen/pubsublite1/Cargo.toml +++ b/gen/pubsublite1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsublite1" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with PubsubLite (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsublite1" homepage = "https://cloud.google.com/pubsub/lite/docs" -documentation = "https://docs.rs/google-pubsublite1/2.0.4+20210322" +documentation = "https://docs.rs/google-pubsublite1/2.0.5+20210322" license = "MIT" keywords = ["pubsublite", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/pubsublite1/README.md b/gen/pubsublite1/README.md index 3dcbf8dab2..3dee1ee5a9 100644 --- a/gen/pubsublite1/README.md +++ b/gen/pubsublite1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-pubsublite1` library allows access to all features of the *Google PubsubLite* service. -This documentation was generated from *PubsubLite* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *PubsubLite* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *PubsubLite* *v1* API can be found at the [official documentation site](https://cloud.google.com/pubsub/lite/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/PubsubLite) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/PubsubLite) ... * admin - * [*projects locations subscriptions create*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionCreateCall), [*projects locations subscriptions delete*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionDeleteCall), [*projects locations subscriptions get*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionGetCall), [*projects locations subscriptions list*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionListCall), [*projects locations subscriptions patch*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionPatchCall), [*projects locations topics create*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicCreateCall), [*projects locations topics delete*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicDeleteCall), [*projects locations topics get*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicGetCall), [*projects locations topics get partitions*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicGetPartitionCall), [*projects locations topics list*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicListCall), [*projects locations topics patch*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicPatchCall) and [*projects locations topics subscriptions list*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::AdminProjectLocationTopicSubscriptionListCall) -* [cursor](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::Cursor) - * [*projects locations subscriptions cursors list*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::CursorProjectLocationSubscriptionCursorListCall) + * [*projects locations subscriptions create*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionCreateCall), [*projects locations subscriptions delete*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionDeleteCall), [*projects locations subscriptions get*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionGetCall), [*projects locations subscriptions list*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionListCall), [*projects locations subscriptions patch*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationSubscriptionPatchCall), [*projects locations topics create*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicCreateCall), [*projects locations topics delete*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicDeleteCall), [*projects locations topics get*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicGetCall), [*projects locations topics get partitions*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicGetPartitionCall), [*projects locations topics list*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicListCall), [*projects locations topics patch*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicPatchCall) and [*projects locations topics subscriptions list*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::AdminProjectLocationTopicSubscriptionListCall) +* [cursor](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::Cursor) + * [*projects locations subscriptions cursors list*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::CursorProjectLocationSubscriptionCursorListCall) * topic stats - * [*projects locations topics compute head cursor*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::TopicStatProjectLocationTopicComputeHeadCursorCall) and [*projects locations topics compute message stats*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/api::TopicStatProjectLocationTopicComputeMessageStatCall) + * [*projects locations topics compute head cursor*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::TopicStatProjectLocationTopicComputeHeadCursorCall) and [*projects locations topics compute message stats*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/api::TopicStatProjectLocationTopicComputeMessageStatCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/PubsubLite)** +* **[Hub](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/PubsubLite)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::CallBuilder) +* **[Resources](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Part)** + * **[Parts](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-pubsublite1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Delegate), 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-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Delegate) to the +[Method Builder](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::CallBuilder) 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-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Delegate) 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 [encodable](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::RequestValue) and -[decodable](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::RequestValue) and +[decodable](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsublite1/2.0.4+20210322/google_pubsublite1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::Part) 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-pubsublite1/2.0.4+20210322/google_pubsublite1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::CallBuilder), 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-pubsublite1/2.0.4+20210322/google_pubsublite1/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsublite1/2.0.5+20210322/google_pubsublite1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsublite1/src/api.rs b/gen/pubsublite1/src/api.rs index ab90c9bb24..ac8a413233 100644 --- a/gen/pubsublite1/src/api.rs +++ b/gen/pubsublite1/src/api.rs @@ -122,7 +122,7 @@ impl<'a, > PubsubLite<> { PubsubLite { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://pubsublite.googleapis.com/".to_string(), _root_url: "https://pubsublite.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > PubsubLite<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsublite1/src/client.rs b/gen/pubsublite1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/pubsublite1/src/client.rs +++ b/gen/pubsublite1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/pubsublite1/src/lib.rs b/gen/pubsublite1/src/lib.rs index 46bc729b05..c8c8fbc666 100644 --- a/gen/pubsublite1/src/lib.rs +++ b/gen/pubsublite1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *PubsubLite* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *PubsubLite* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *PubsubLite* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/lite/docs). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-pubsublite1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/qpxexpress1-cli/Cargo.toml b/gen/qpxexpress1-cli/Cargo.toml index 9bc5e11652..cd606d17f8 100644 --- a/gen/qpxexpress1-cli/Cargo.toml +++ b/gen/qpxexpress1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-qpxexpress1-cli" -version = "2.0.4+20160708" +version = "2.0.5+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/qpxexpress1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-qpxexpress1] path = "../qpxexpress1" -version = "2.0.4+20160708" +version = "2.0.5+20160708" diff --git a/gen/qpxexpress1-cli/README.md b/gen/qpxexpress1-cli/README.md index 258b69a79d..03998f7e20 100644 --- a/gen/qpxexpress1-cli/README.md +++ b/gen/qpxexpress1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *2.0.4*. +This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *2.0.5*. ```bash qpxexpress1 [options] diff --git a/gen/qpxexpress1-cli/mkdocs.yml b/gen/qpxexpress1-cli/mkdocs.yml index e86361c6ed..ff6fe8aaaa 100644 --- a/gen/qpxexpress1-cli/mkdocs.yml +++ b/gen/qpxexpress1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: QPX Express v2.0.4+20160708 +site_name: QPX Express v2.0.5+20160708 site_url: http://byron.github.io/google-apis-rs/google-qpxexpress1-cli site_description: A complete library to interact with QPX Express (protocol v1) diff --git a/gen/qpxexpress1-cli/src/main.rs b/gen/qpxexpress1-cli/src/main.rs index 00356bf01b..bca79552e1 100644 --- a/gen/qpxexpress1-cli/src/main.rs +++ b/gen/qpxexpress1-cli/src/main.rs @@ -246,7 +246,7 @@ async fn main() { let mut app = App::new("qpxexpress1") .author("Sebastian Thiel ") - .version("2.0.4+20160708") + .version("2.0.5+20160708") .about("Finds the least expensive flights between an origin and a destination.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_qpxexpress1_cli") .arg(Arg::with_name("folder") diff --git a/gen/qpxexpress1/Cargo.toml b/gen/qpxexpress1/Cargo.toml index 74474041bd..fd70b8171f 100644 --- a/gen/qpxexpress1/Cargo.toml +++ b/gen/qpxexpress1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-qpxexpress1" -version = "2.0.4+20160708" +version = "2.0.5+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/qpxexpress1" homepage = "http://developers.google.com/qpx-express" -documentation = "https://docs.rs/google-qpxexpress1/2.0.4+20160708" +documentation = "https://docs.rs/google-qpxexpress1/2.0.5+20160708" license = "MIT" keywords = ["qpxExpress", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/qpxexpress1/README.md b/gen/qpxexpress1/README.md index 42de5fe263..3e5ce8e855 100644 --- a/gen/qpxexpress1/README.md +++ b/gen/qpxexpress1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-qpxexpress1` library allows access to all features of the *Google QPX Express* service. -This documentation was generated from *QPX Express* crate version *2.0.4+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *QPX Express* crate version *2.0.5+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *QPX Express* *v1* API can be found at the [official documentation site](http://developers.google.com/qpx-express). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/QPXExpress) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/QPXExpress) ... * trips - * [*search*](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/api::TripSearchCall) + * [*search*](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/api::TripSearchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/QPXExpress)** +* **[Hub](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/QPXExpress)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::CallBuilder) -* **[Resources](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::CallBuilder) +* **[Resources](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Part)** + * **[Parts](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-qpxexpress1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Delegate) to the -[Method Builder](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Delegate) to the +[Method Builder](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Delegate) 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 [encodable](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::RequestValue) and -[decodable](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::RequestValue) and +[decodable](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-qpxexpress1/2.0.4+20160708/google_qpxexpress1/client::RequestValue) are moved +* [request values](https://docs.rs/google-qpxexpress1/2.0.5+20160708/google_qpxexpress1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/qpxexpress1/src/api.rs b/gen/qpxexpress1/src/api.rs index ed97813932..3cdbf44e63 100644 --- a/gen/qpxexpress1/src/api.rs +++ b/gen/qpxexpress1/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > QPXExpress<> { QPXExpress { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/qpxExpress/v1/trips/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > QPXExpress<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/qpxexpress1/src/client.rs b/gen/qpxexpress1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/qpxexpress1/src/client.rs +++ b/gen/qpxexpress1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs index c342b265c4..ff6769dbc4 100644 --- a/gen/qpxexpress1/src/lib.rs +++ b/gen/qpxexpress1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *QPX Express* crate version *2.0.4+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *QPX Express* crate version *2.0.5+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *QPX Express* *v1* API can be found at the //! [official documentation site](http://developers.google.com/qpx-express). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-qpxexpress1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/realtimebidding1-cli/Cargo.toml b/gen/realtimebidding1-cli/Cargo.toml index 9efc27057a..bee133f14e 100644 --- a/gen/realtimebidding1-cli/Cargo.toml +++ b/gen/realtimebidding1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-realtimebidding1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Real-time Bidding (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/realtimebidding1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-realtimebidding1] path = "../realtimebidding1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/realtimebidding1-cli/README.md b/gen/realtimebidding1-cli/README.md index 6726e0c937..fbeb1aabfc 100644 --- a/gen/realtimebidding1-cli/README.md +++ b/gen/realtimebidding1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Real-time Bidding* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Real-time Bidding* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash realtimebidding1 [options] diff --git a/gen/realtimebidding1-cli/mkdocs.yml b/gen/realtimebidding1-cli/mkdocs.yml index 76947b31a3..a4ff1d23ef 100644 --- a/gen/realtimebidding1-cli/mkdocs.yml +++ b/gen/realtimebidding1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Real-time Bidding v2.0.4+20210331 +site_name: Real-time Bidding v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-realtimebidding1-cli site_description: A complete library to interact with Real-time Bidding (protocol v1) diff --git a/gen/realtimebidding1-cli/src/main.rs b/gen/realtimebidding1-cli/src/main.rs index 6ecc73d3f5..8a741591d0 100644 --- a/gen/realtimebidding1-cli/src/main.rs +++ b/gen/realtimebidding1-cli/src/main.rs @@ -3606,7 +3606,7 @@ async fn main() { let mut app = App::new("realtimebidding1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_realtimebidding1_cli") .arg(Arg::with_name("url") diff --git a/gen/realtimebidding1/Cargo.toml b/gen/realtimebidding1/Cargo.toml index f9b3ac18e8..433094550c 100644 --- a/gen/realtimebidding1/Cargo.toml +++ b/gen/realtimebidding1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-realtimebidding1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Real-time Bidding (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/realtimebidding1" homepage = "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/" -documentation = "https://docs.rs/google-realtimebidding1/2.0.4+20210331" +documentation = "https://docs.rs/google-realtimebidding1/2.0.5+20210331" license = "MIT" keywords = ["realtimebidding", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/realtimebidding1/README.md b/gen/realtimebidding1/README.md index 47df5302a7..90b71db8f2 100644 --- a/gen/realtimebidding1/README.md +++ b/gen/realtimebidding1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-realtimebidding1` library allows access to all features of the *Google Real-time Bidding* service. -This documentation was generated from *Real-time Bidding* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Real-time Bidding* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Real-time Bidding* *v1* API can be found at the [official documentation site](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/RealTimeBidding) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/RealTimeBidding) ... -* [bidders](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::Bidder) - * [*creatives list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderCreativeListCall), [*creatives watch*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderCreativeWatchCall), [*endpoints get*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderEndpointGetCall), [*endpoints list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderEndpointListCall), [*get*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderGetCall), [*list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderListCall), [*pretargeting configs activate*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigActivateCall), [*pretargeting configs add targeted apps*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedAppCall), [*pretargeting configs add targeted publishers*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedPublisherCall), [*pretargeting configs add targeted sites*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedSiteCall), [*pretargeting configs create*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigCreateCall), [*pretargeting configs delete*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigDeleteCall), [*pretargeting configs get*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigGetCall), [*pretargeting configs list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigListCall), [*pretargeting configs patch*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigPatchCall), [*pretargeting configs remove targeted apps*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedAppCall), [*pretargeting configs remove targeted publishers*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedPublisherCall), [*pretargeting configs remove targeted sites*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedSiteCall) and [*pretargeting configs suspend*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BidderPretargetingConfigSuspendCall) -* [buyers](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::Buyer) - * [*creatives create*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerCreativeCreateCall), [*creatives get*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerCreativeGetCall), [*creatives list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerCreativeListCall), [*creatives patch*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerCreativePatchCall), [*get*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerGetCall), [*get remarketing tag*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerGetRemarketingTagCall), [*list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerListCall), [*user lists close*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListCloseCall), [*user lists create*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListCreateCall), [*user lists get*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListGetCall), [*user lists get remarketing tag*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListGetRemarketingTagCall), [*user lists list*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListListCall), [*user lists open*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListOpenCall) and [*user lists update*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/api::BuyerUserListUpdateCall) +* [bidders](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::Bidder) + * [*creatives list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderCreativeListCall), [*creatives watch*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderCreativeWatchCall), [*endpoints get*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderEndpointGetCall), [*endpoints list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderEndpointListCall), [*get*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderGetCall), [*list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderListCall), [*pretargeting configs activate*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigActivateCall), [*pretargeting configs add targeted apps*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedAppCall), [*pretargeting configs add targeted publishers*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedPublisherCall), [*pretargeting configs add targeted sites*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedSiteCall), [*pretargeting configs create*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigCreateCall), [*pretargeting configs delete*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigDeleteCall), [*pretargeting configs get*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigGetCall), [*pretargeting configs list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigListCall), [*pretargeting configs patch*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigPatchCall), [*pretargeting configs remove targeted apps*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedAppCall), [*pretargeting configs remove targeted publishers*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedPublisherCall), [*pretargeting configs remove targeted sites*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedSiteCall) and [*pretargeting configs suspend*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BidderPretargetingConfigSuspendCall) +* [buyers](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::Buyer) + * [*creatives create*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerCreativeCreateCall), [*creatives get*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerCreativeGetCall), [*creatives list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerCreativeListCall), [*creatives patch*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerCreativePatchCall), [*get*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerGetCall), [*get remarketing tag*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerGetRemarketingTagCall), [*list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerListCall), [*user lists close*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListCloseCall), [*user lists create*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListCreateCall), [*user lists get*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListGetCall), [*user lists get remarketing tag*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListGetRemarketingTagCall), [*user lists list*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListListCall), [*user lists open*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListOpenCall) and [*user lists update*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/api::BuyerUserListUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/RealTimeBidding)** +* **[Hub](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/RealTimeBidding)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::CallBuilder) -* **[Resources](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::CallBuilder) +* **[Resources](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Part)** + * **[Parts](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -84,9 +84,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-realtimebidding1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -150,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Delegate), 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-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -170,29 +167,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Delegate) to the -[Method Builder](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Delegate) to the +[Method Builder](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::CallBuilder) 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-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Delegate) 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 [encodable](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::RequestValue) and -[decodable](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::RequestValue) and +[decodable](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::Part) 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-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::CallBuilder), 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-realtimebidding1/2.0.4+20210331/google_realtimebidding1/client::RequestValue) are moved +* [request values](https://docs.rs/google-realtimebidding1/2.0.5+20210331/google_realtimebidding1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/realtimebidding1/src/api.rs b/gen/realtimebidding1/src/api.rs index 284ba19522..dbf9e7c9d0 100644 --- a/gen/realtimebidding1/src/api.rs +++ b/gen/realtimebidding1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > RealTimeBidding<> { RealTimeBidding { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://realtimebidding.googleapis.com/".to_string(), _root_url: "https://realtimebidding.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > RealTimeBidding<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/realtimebidding1/src/client.rs b/gen/realtimebidding1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/realtimebidding1/src/client.rs +++ b/gen/realtimebidding1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/realtimebidding1/src/lib.rs b/gen/realtimebidding1/src/lib.rs index 98c0835fb4..9999f41667 100644 --- a/gen/realtimebidding1/src/lib.rs +++ b/gen/realtimebidding1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Real-time Bidding* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Real-time Bidding* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Real-time Bidding* *v1* API can be found at the //! [official documentation site](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/). @@ -84,9 +84,6 @@ //! ```toml //! [dependencies] //! google-realtimebidding1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/recommendationengine1_beta1-cli/Cargo.toml b/gen/recommendationengine1_beta1-cli/Cargo.toml index 9f8e80d4ff..bc2ca90281 100644 --- a/gen/recommendationengine1_beta1-cli/Cargo.toml +++ b/gen/recommendationengine1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recommendationengine1_beta1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommendations AI (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommendationengine1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recommendationengine1_beta1] path = "../recommendationengine1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/recommendationengine1_beta1-cli/README.md b/gen/recommendationengine1_beta1-cli/README.md index 18cdf41876..b1fa255fc3 100644 --- a/gen/recommendationengine1_beta1-cli/README.md +++ b/gen/recommendationengine1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Recommendations AI* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Recommendations AI* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash recommendationengine1-beta1 [options] diff --git a/gen/recommendationengine1_beta1-cli/mkdocs.yml b/gen/recommendationengine1_beta1-cli/mkdocs.yml index 300429c39a..e7971a79b6 100644 --- a/gen/recommendationengine1_beta1-cli/mkdocs.yml +++ b/gen/recommendationengine1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommendations AI v2.0.4+20210319 +site_name: Recommendations AI v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-recommendationengine1_beta1-cli site_description: A complete library to interact with Recommendations AI (protocol v1beta1) diff --git a/gen/recommendationengine1_beta1-cli/src/main.rs b/gen/recommendationengine1_beta1-cli/src/main.rs index 6b0fb6388d..cf58146f89 100644 --- a/gen/recommendationengine1_beta1-cli/src/main.rs +++ b/gen/recommendationengine1_beta1-cli/src/main.rs @@ -2383,7 +2383,7 @@ async fn main() { let mut app = App::new("recommendationengine1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recommendationengine1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/recommendationengine1_beta1/Cargo.toml b/gen/recommendationengine1_beta1/Cargo.toml index 52f45fbb6e..9af8089512 100644 --- a/gen/recommendationengine1_beta1/Cargo.toml +++ b/gen/recommendationengine1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommendationengine1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommendations AI (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommendationengine1_beta1" homepage = "https://cloud.google.com/recommendations-ai/docs" -documentation = "https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319" +documentation = "https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319" license = "MIT" keywords = ["recommendationengine", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/recommendationengine1_beta1/README.md b/gen/recommendationengine1_beta1/README.md index a94caffb35..865fdca01e 100644 --- a/gen/recommendationengine1_beta1/README.md +++ b/gen/recommendationengine1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-recommendationengine1_beta1` library allows access to all features of the *Google Recommendations AI* service. -This documentation was generated from *Recommendations AI* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Recommendations AI* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Recommendations AI* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/recommendations-ai/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/RecommendationsAI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/RecommendationsAI) ... * projects - * [*locations catalogs catalog items create*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemCreateCall), [*locations catalogs catalog items delete*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemDeleteCall), [*locations catalogs catalog items get*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemGetCall), [*locations catalogs catalog items import*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemImportCall), [*locations catalogs catalog items list*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemListCall), [*locations catalogs catalog items patch*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemPatchCall), [*locations catalogs event stores operations get*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationGetCall), [*locations catalogs event stores operations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationListCall), [*locations catalogs event stores placements predict*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePlacementPredictCall), [*locations catalogs event stores prediction api key registrations create*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationCreateCall), [*locations catalogs event stores prediction api key registrations delete*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationDeleteCall), [*locations catalogs event stores prediction api key registrations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationListCall), [*locations catalogs event stores user events collect*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventCollectCall), [*locations catalogs event stores user events import*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventImportCall), [*locations catalogs event stores user events list*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventListCall), [*locations catalogs event stores user events purge*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventPurgeCall), [*locations catalogs event stores user events rejoin*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventRejoinCall), [*locations catalogs event stores user events write*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventWriteCall), [*locations catalogs list*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationListCall) and [*locations catalogs patch*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogPatchCall) + * [*locations catalogs catalog items create*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemCreateCall), [*locations catalogs catalog items delete*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemDeleteCall), [*locations catalogs catalog items get*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemGetCall), [*locations catalogs catalog items import*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemImportCall), [*locations catalogs catalog items list*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemListCall), [*locations catalogs catalog items patch*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemPatchCall), [*locations catalogs event stores operations get*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationGetCall), [*locations catalogs event stores operations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationListCall), [*locations catalogs event stores placements predict*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePlacementPredictCall), [*locations catalogs event stores prediction api key registrations create*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationCreateCall), [*locations catalogs event stores prediction api key registrations delete*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationDeleteCall), [*locations catalogs event stores prediction api key registrations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationListCall), [*locations catalogs event stores user events collect*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventCollectCall), [*locations catalogs event stores user events import*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventImportCall), [*locations catalogs event stores user events list*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventListCall), [*locations catalogs event stores user events purge*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventPurgeCall), [*locations catalogs event stores user events rejoin*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventRejoinCall), [*locations catalogs event stores user events write*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventWriteCall), [*locations catalogs list*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationListCall) and [*locations catalogs patch*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/api::ProjectLocationCatalogPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/RecommendationsAI)** +* **[Hub](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/RecommendationsAI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-recommendationengine1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Delegate), 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-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::CallBuilder) 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-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::Part) 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-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::CallBuilder), 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-recommendationengine1_beta1/2.0.4+20210319/google_recommendationengine1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommendationengine1_beta1/2.0.5+20210319/google_recommendationengine1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recommendationengine1_beta1/src/api.rs b/gen/recommendationengine1_beta1/src/api.rs index ec8c8899f8..a27c8345ae 100644 --- a/gen/recommendationengine1_beta1/src/api.rs +++ b/gen/recommendationengine1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > RecommendationsAI<> { RecommendationsAI { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://recommendationengine.googleapis.com/".to_string(), _root_url: "https://recommendationengine.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > RecommendationsAI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/recommendationengine1_beta1/src/client.rs b/gen/recommendationengine1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/recommendationengine1_beta1/src/client.rs +++ b/gen/recommendationengine1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/recommendationengine1_beta1/src/lib.rs b/gen/recommendationengine1_beta1/src/lib.rs index eb5aa6bfa5..c6e1e158f4 100644 --- a/gen/recommendationengine1_beta1/src/lib.rs +++ b/gen/recommendationengine1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recommendations AI* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Recommendations AI* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Recommendations AI* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/recommendations-ai/docs). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-recommendationengine1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/recommender1-cli/Cargo.toml b/gen/recommender1-cli/Cargo.toml index fa3de555f3..62bec41bcf 100644 --- a/gen/recommender1-cli/Cargo.toml +++ b/gen/recommender1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recommender1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recommender1] path = "../recommender1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/recommender1-cli/README.md b/gen/recommender1-cli/README.md index 4bf7d34539..a4b6ba0154 100644 --- a/gen/recommender1-cli/README.md +++ b/gen/recommender1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Recommender* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Recommender* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash recommender1 [options] diff --git a/gen/recommender1-cli/mkdocs.yml b/gen/recommender1-cli/mkdocs.yml index 1db462fe31..b35133fc54 100644 --- a/gen/recommender1-cli/mkdocs.yml +++ b/gen/recommender1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommender v2.0.4+20210319 +site_name: Recommender v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-recommender1-cli site_description: A complete library to interact with Recommender (protocol v1) diff --git a/gen/recommender1-cli/src/main.rs b/gen/recommender1-cli/src/main.rs index dd00e10e69..bc23c10c9b 100644 --- a/gen/recommender1-cli/src/main.rs +++ b/gen/recommender1-cli/src/main.rs @@ -3349,7 +3349,7 @@ async fn main() { let mut app = App::new("recommender1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recommender1_cli") .arg(Arg::with_name("url") diff --git a/gen/recommender1/Cargo.toml b/gen/recommender1/Cargo.toml index 370fe12c72..569abaa8c1 100644 --- a/gen/recommender1/Cargo.toml +++ b/gen/recommender1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommender1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1" homepage = "https://cloud.google.com/recommender/docs/" -documentation = "https://docs.rs/google-recommender1/2.0.4+20210319" +documentation = "https://docs.rs/google-recommender1/2.0.5+20210319" license = "MIT" keywords = ["recommender", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/recommender1/README.md b/gen/recommender1/README.md index e4d2dacc8c..4c810d6515 100644 --- a/gen/recommender1/README.md +++ b/gen/recommender1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-recommender1` library allows access to all features of the *Google Recommender* service. -This documentation was generated from *Recommender* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Recommender* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Recommender* *v1* API can be found at the [official documentation site](https://cloud.google.com/recommender/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/Recommender) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/Recommender) ... * billing accounts - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) * folders - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) * organizations - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) * projects - * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/Recommender)** +* **[Hub](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/Recommender)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Part)** + * **[Parts](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -85,9 +85,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-recommender1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Delegate), 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-recommender1/2.0.4+20210319/google_recommender1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::CallBuilder) 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-recommender1/2.0.4+20210319/google_recommender1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Delegate) 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 [encodable](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::RequestValue) and -[decodable](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::RequestValue) and +[decodable](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommender1/2.0.4+20210319/google_recommender1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::Part) 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-recommender1/2.0.4+20210319/google_recommender1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::CallBuilder), 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-recommender1/2.0.4+20210319/google_recommender1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommender1/2.0.5+20210319/google_recommender1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recommender1/src/api.rs b/gen/recommender1/src/api.rs index cd2c29795c..a655cbbd26 100644 --- a/gen/recommender1/src/api.rs +++ b/gen/recommender1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Recommender<> { Recommender { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://recommender.googleapis.com/".to_string(), _root_url: "https://recommender.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > Recommender<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/recommender1/src/client.rs b/gen/recommender1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/recommender1/src/client.rs +++ b/gen/recommender1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/recommender1/src/lib.rs b/gen/recommender1/src/lib.rs index 15192c1c8f..fe717ca6b7 100644 --- a/gen/recommender1/src/lib.rs +++ b/gen/recommender1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recommender* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Recommender* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Recommender* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/recommender/docs/). @@ -85,9 +85,6 @@ //! ```toml //! [dependencies] //! google-recommender1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/recommender1_beta1-cli/Cargo.toml b/gen/recommender1_beta1-cli/Cargo.toml index 3209b89e3f..e37af577b8 100644 --- a/gen/recommender1_beta1-cli/Cargo.toml +++ b/gen/recommender1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recommender1_beta1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recommender1_beta1] path = "../recommender1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/recommender1_beta1-cli/README.md b/gen/recommender1_beta1-cli/README.md index a62aea34c5..5cb0066718 100644 --- a/gen/recommender1_beta1-cli/README.md +++ b/gen/recommender1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Recommender* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Recommender* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash recommender1-beta1 [options] diff --git a/gen/recommender1_beta1-cli/mkdocs.yml b/gen/recommender1_beta1-cli/mkdocs.yml index 6a2e2233d8..3eadc0ecee 100644 --- a/gen/recommender1_beta1-cli/mkdocs.yml +++ b/gen/recommender1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommender v2.0.4+20210319 +site_name: Recommender v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-recommender1_beta1-cli site_description: A complete library to interact with Recommender (protocol v1beta1) diff --git a/gen/recommender1_beta1-cli/src/main.rs b/gen/recommender1_beta1-cli/src/main.rs index 4793705371..a04dfa67b1 100644 --- a/gen/recommender1_beta1-cli/src/main.rs +++ b/gen/recommender1_beta1-cli/src/main.rs @@ -3349,7 +3349,7 @@ async fn main() { let mut app = App::new("recommender1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recommender1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/recommender1_beta1/Cargo.toml b/gen/recommender1_beta1/Cargo.toml index 0d858118cb..f85b176205 100644 --- a/gen/recommender1_beta1/Cargo.toml +++ b/gen/recommender1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommender1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1_beta1" homepage = "https://cloud.google.com/recommender/docs/" -documentation = "https://docs.rs/google-recommender1_beta1/2.0.4+20210319" +documentation = "https://docs.rs/google-recommender1_beta1/2.0.5+20210319" license = "MIT" keywords = ["recommender", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/recommender1_beta1/README.md b/gen/recommender1_beta1/README.md index 4027aa1abd..ff85159d5a 100644 --- a/gen/recommender1_beta1/README.md +++ b/gen/recommender1_beta1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-recommender1_beta1` library allows access to all features of the *Google Recommender* service. -This documentation was generated from *Recommender* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Recommender* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Recommender* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/recommender/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/Recommender) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/Recommender) ... * billing accounts - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) * folders - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) * organizations - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) * projects - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/Recommender)** +* **[Hub](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/Recommender)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -85,9 +85,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-recommender1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Delegate), 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-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::CallBuilder) 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-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::Part) 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-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::CallBuilder), 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-recommender1_beta1/2.0.4+20210319/google_recommender1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommender1_beta1/2.0.5+20210319/google_recommender1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recommender1_beta1/src/api.rs b/gen/recommender1_beta1/src/api.rs index 17d89d96d4..8eb23ab9d2 100644 --- a/gen/recommender1_beta1/src/api.rs +++ b/gen/recommender1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Recommender<> { Recommender { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://recommender.googleapis.com/".to_string(), _root_url: "https://recommender.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > Recommender<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/recommender1_beta1/src/client.rs b/gen/recommender1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/recommender1_beta1/src/client.rs +++ b/gen/recommender1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/recommender1_beta1/src/lib.rs b/gen/recommender1_beta1/src/lib.rs index 88e04977ac..ace0fa3cab 100644 --- a/gen/recommender1_beta1/src/lib.rs +++ b/gen/recommender1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recommender* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Recommender* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Recommender* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/recommender/docs/). @@ -85,9 +85,6 @@ //! ```toml //! [dependencies] //! google-recommender1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/redis1-cli/Cargo.toml b/gen/redis1-cli/Cargo.toml index 603cc54cc8..2e54ab8863 100644 --- a/gen/redis1-cli/Cargo.toml +++ b/gen/redis1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-redis1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Redis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/redis1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-redis1] path = "../redis1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/redis1-cli/README.md b/gen/redis1-cli/README.md index a23b7f24b9..11406fe3bf 100644 --- a/gen/redis1-cli/README.md +++ b/gen/redis1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Redis* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Redis* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash redis1 [options] diff --git a/gen/redis1-cli/mkdocs.yml b/gen/redis1-cli/mkdocs.yml index 42d51bdde1..9de192b551 100644 --- a/gen/redis1-cli/mkdocs.yml +++ b/gen/redis1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Redis v2.0.4+20210325 +site_name: Cloud Redis v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-redis1-cli site_description: A complete library to interact with Cloud Redis (protocol v1) diff --git a/gen/redis1-cli/src/main.rs b/gen/redis1-cli/src/main.rs index 17812fad24..7d2c241dcd 100644 --- a/gen/redis1-cli/src/main.rs +++ b/gen/redis1-cli/src/main.rs @@ -1673,7 +1673,7 @@ async fn main() { let mut app = App::new("redis1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Creates and manages Redis instances on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_redis1_cli") .arg(Arg::with_name("url") diff --git a/gen/redis1/Cargo.toml b/gen/redis1/Cargo.toml index e3b2f5a1bd..9705f8006b 100644 --- a/gen/redis1/Cargo.toml +++ b/gen/redis1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-redis1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Redis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/redis1" homepage = "https://cloud.google.com/memorystore/docs/redis/" -documentation = "https://docs.rs/google-redis1/2.0.4+20210325" +documentation = "https://docs.rs/google-redis1/2.0.5+20210325" license = "MIT" keywords = ["redis", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/redis1/README.md b/gen/redis1/README.md index c2818cb2d8..f8cc51ae57 100644 --- a/gen/redis1/README.md +++ b/gen/redis1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-redis1` library allows access to all features of the *Google Cloud Redis* service. -This documentation was generated from *Cloud Redis* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Redis* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Redis* *v1* API can be found at the [official documentation site](https://cloud.google.com/memorystore/docs/redis/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/CloudRedis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/CloudRedis) ... * projects - * [*locations get*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceDeleteCall), [*locations instances export*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceExportCall), [*locations instances failover*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceFailoverCall), [*locations instances get*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceGetCall), [*locations instances get auth string*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceGetAuthStringCall), [*locations instances import*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceImportCall), [*locations instances list*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstancePatchCall), [*locations instances upgrade*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceDeleteCall), [*locations instances export*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceExportCall), [*locations instances failover*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceFailoverCall), [*locations instances get*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceGetCall), [*locations instances get auth string*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceGetAuthStringCall), [*locations instances import*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceImportCall), [*locations instances list*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstancePatchCall), [*locations instances upgrade*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/CloudRedis)** +* **[Hub](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/CloudRedis)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::CallBuilder) -* **[Resources](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::CallBuilder) +* **[Resources](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Part)** + * **[Parts](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-redis1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Delegate), 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-redis1/2.0.4+20210325/google_redis1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Delegate) to the -[Method Builder](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Delegate) to the +[Method Builder](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::CallBuilder) 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-redis1/2.0.4+20210325/google_redis1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Delegate) 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 [encodable](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::RequestValue) and -[decodable](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::RequestValue) and +[decodable](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-redis1/2.0.4+20210325/google_redis1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::Part) 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-redis1/2.0.4+20210325/google_redis1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::CallBuilder), 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-redis1/2.0.4+20210325/google_redis1/client::RequestValue) are moved +* [request values](https://docs.rs/google-redis1/2.0.5+20210325/google_redis1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/redis1/src/api.rs b/gen/redis1/src/api.rs index 9c8f72540d..11d900ef4f 100644 --- a/gen/redis1/src/api.rs +++ b/gen/redis1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudRedis<> { CloudRedis { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://redis.googleapis.com/".to_string(), _root_url: "https://redis.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudRedis<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/redis1/src/client.rs b/gen/redis1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/redis1/src/client.rs +++ b/gen/redis1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/redis1/src/lib.rs b/gen/redis1/src/lib.rs index d49d7cc93f..20aca7fa10 100644 --- a/gen/redis1/src/lib.rs +++ b/gen/redis1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Redis* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Redis* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Redis* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/docs/redis/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-redis1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/remotebuildexecution2-cli/Cargo.toml b/gen/remotebuildexecution2-cli/Cargo.toml index 0c3965fa58..4668a90748 100644 --- a/gen/remotebuildexecution2-cli/Cargo.toml +++ b/gen/remotebuildexecution2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-remotebuildexecution2-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Remote Build Execution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/remotebuildexecution2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-remotebuildexecution2] path = "../remotebuildexecution2" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/remotebuildexecution2-cli/README.md b/gen/remotebuildexecution2-cli/README.md index 8f4ee6fe3f..16aa84fd77 100644 --- a/gen/remotebuildexecution2-cli/README.md +++ b/gen/remotebuildexecution2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Remote Build Execution* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Remote Build Execution* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash remotebuildexecution2 [options] diff --git a/gen/remotebuildexecution2-cli/mkdocs.yml b/gen/remotebuildexecution2-cli/mkdocs.yml index de7e0084e0..30c8fbda38 100644 --- a/gen/remotebuildexecution2-cli/mkdocs.yml +++ b/gen/remotebuildexecution2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Remote Build Execution v2.0.4+20210329 +site_name: Remote Build Execution v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-remotebuildexecution2-cli site_description: A complete library to interact with Remote Build Execution (protocol v2) diff --git a/gen/remotebuildexecution2-cli/src/main.rs b/gen/remotebuildexecution2-cli/src/main.rs index af2d03066a..9966c7ead9 100644 --- a/gen/remotebuildexecution2-cli/src/main.rs +++ b/gen/remotebuildexecution2-cli/src/main.rs @@ -1176,7 +1176,7 @@ async fn main() { let mut app = App::new("remotebuildexecution2") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Supplies a Remote Execution API service for tools such as bazel.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_remotebuildexecution2_cli") .arg(Arg::with_name("url") diff --git a/gen/remotebuildexecution2/Cargo.toml b/gen/remotebuildexecution2/Cargo.toml index a1e816219d..47b11dc466 100644 --- a/gen/remotebuildexecution2/Cargo.toml +++ b/gen/remotebuildexecution2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-remotebuildexecution2" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Remote Build Execution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/remotebuildexecution2" homepage = "https://cloud.google.com/remote-build-execution/docs/" -documentation = "https://docs.rs/google-remotebuildexecution2/2.0.4+20210329" +documentation = "https://docs.rs/google-remotebuildexecution2/2.0.5+20210329" license = "MIT" keywords = ["remotebuildexecution", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/remotebuildexecution2/README.md b/gen/remotebuildexecution2/README.md index 6b8168a07b..70bc56ea7f 100644 --- a/gen/remotebuildexecution2/README.md +++ b/gen/remotebuildexecution2/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-remotebuildexecution2` library allows access to all features of the *Google Remote Build Execution* service. -This documentation was generated from *Remote Build Execution* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Remote Build Execution* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Remote Build Execution* *v2* API can be found at the [official documentation site](https://cloud.google.com/remote-build-execution/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/RemoteBuildExecution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/RemoteBuildExecution) ... * action results - * [*get*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::ActionResultGetCall) and [*update*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::ActionResultUpdateCall) + * [*get*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::ActionResultGetCall) and [*update*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::ActionResultUpdateCall) * actions - * [*execute*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::ActionExecuteCall) + * [*execute*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::ActionExecuteCall) * blobs - * [*batch read*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::BlobBatchReadCall), [*batch update*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::BlobBatchUpdateCall), [*find missing*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::BlobFindMissingCall) and [*get tree*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::BlobGetTreeCall) + * [*batch read*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::BlobBatchReadCall), [*batch update*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::BlobBatchUpdateCall), [*find missing*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::BlobFindMissingCall) and [*get tree*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::BlobGetTreeCall) * operations - * [*wait execution*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::OperationWaitExecutionCall) + * [*wait execution*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::OperationWaitExecutionCall) Other activities are ... -* [get capabilities](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/api::MethodGetCapabilityCall) +* [get capabilities](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/api::MethodGetCapabilityCall) @@ -32,17 +32,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/RemoteBuildExecution)** +* **[Hub](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/RemoteBuildExecution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::CallBuilder) -* **[Resources](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::CallBuilder) +* **[Resources](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Part)** + * **[Parts](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -74,9 +74,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-remotebuildexecution2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Delegate), 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-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Delegate) to the -[Method Builder](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Delegate) to the +[Method Builder](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::CallBuilder) 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-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Delegate) 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 [encodable](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::RequestValue) and -[decodable](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::RequestValue) and +[decodable](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::Part) 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-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::CallBuilder), 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-remotebuildexecution2/2.0.4+20210329/google_remotebuildexecution2/client::RequestValue) are moved +* [request values](https://docs.rs/google-remotebuildexecution2/2.0.5+20210329/google_remotebuildexecution2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/remotebuildexecution2/src/api.rs b/gen/remotebuildexecution2/src/api.rs index 0ff4f2d944..ddb45dde71 100644 --- a/gen/remotebuildexecution2/src/api.rs +++ b/gen/remotebuildexecution2/src/api.rs @@ -117,7 +117,7 @@ impl<'a, > RemoteBuildExecution<> { RemoteBuildExecution { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://remotebuildexecution.googleapis.com/".to_string(), _root_url: "https://remotebuildexecution.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > RemoteBuildExecution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/remotebuildexecution2/src/client.rs b/gen/remotebuildexecution2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/remotebuildexecution2/src/client.rs +++ b/gen/remotebuildexecution2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/remotebuildexecution2/src/lib.rs b/gen/remotebuildexecution2/src/lib.rs index 396d586966..88995d3d7e 100644 --- a/gen/remotebuildexecution2/src/lib.rs +++ b/gen/remotebuildexecution2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Remote Build Execution* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Remote Build Execution* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Remote Build Execution* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/remote-build-execution/docs/). @@ -74,9 +74,6 @@ //! ```toml //! [dependencies] //! google-remotebuildexecution2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/replicapool1_beta2-cli/Cargo.toml b/gen/replicapool1_beta2-cli/Cargo.toml index ae74a583be..6c5f458508 100644 --- a/gen/replicapool1_beta2-cli/Cargo.toml +++ b/gen/replicapool1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-replicapool1_beta2-cli" -version = "2.0.4+20160512" +version = "2.0.5+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapool1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-replicapool1_beta2] path = "../replicapool1_beta2" -version = "2.0.4+20160512" +version = "2.0.5+20160512" diff --git a/gen/replicapool1_beta2-cli/README.md b/gen/replicapool1_beta2-cli/README.md index 22cbd806fe..caed94eab5 100644 --- a/gen/replicapool1_beta2-cli/README.md +++ b/gen/replicapool1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *2.0.4*. +This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *2.0.5*. ```bash replicapool1-beta2 [options] diff --git a/gen/replicapool1_beta2-cli/mkdocs.yml b/gen/replicapool1_beta2-cli/mkdocs.yml index c81f470872..2aa6c9fb5a 100644 --- a/gen/replicapool1_beta2-cli/mkdocs.yml +++ b/gen/replicapool1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapool v2.0.4+20160512 +site_name: replicapool v2.0.5+20160512 site_url: http://byron.github.io/google-apis-rs/google-replicapool1_beta2-cli site_description: A complete library to interact with replicapool (protocol v1beta2) diff --git a/gen/replicapool1_beta2-cli/src/main.rs b/gen/replicapool1_beta2-cli/src/main.rs index 9f2ee833e1..2633e19ed0 100644 --- a/gen/replicapool1_beta2-cli/src/main.rs +++ b/gen/replicapool1_beta2-cli/src/main.rs @@ -1471,7 +1471,7 @@ async fn main() { let mut app = App::new("replicapool1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20160512") + .version("2.0.5+20160512") .about("[Deprecated. Please use Instance Group Manager in Compute API] Provides groups of homogenous Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_replicapool1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/replicapool1_beta2/Cargo.toml b/gen/replicapool1_beta2/Cargo.toml index 08e8f3bd3d..c4f6e2f06a 100644 --- a/gen/replicapool1_beta2/Cargo.toml +++ b/gen/replicapool1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-replicapool1_beta2" -version = "2.0.4+20160512" +version = "2.0.5+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapool1_beta2" homepage = "https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" -documentation = "https://docs.rs/google-replicapool1_beta2/2.0.4+20160512" +documentation = "https://docs.rs/google-replicapool1_beta2/2.0.5+20160512" license = "MIT" keywords = ["replicapool", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/replicapool1_beta2/README.md b/gen/replicapool1_beta2/README.md index 984a6b5bb8..e7b1eaa10b 100644 --- a/gen/replicapool1_beta2/README.md +++ b/gen/replicapool1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-replicapool1_beta2` library allows access to all features of the *Google replicapool* service. -This documentation was generated from *replicapool* crate version *2.0.4+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *replicapool* crate version *2.0.5+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *replicapool* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/Replicapool) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/Replicapool) ... -* [instance group managers](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManager) - * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerAbandonInstanceCall), [*delete*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteInstanceCall), [*get*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerListCall), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetInstanceTemplateCall) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetTargetPoolCall) +* [instance group managers](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManager) + * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerAbandonInstanceCall), [*delete*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteInstanceCall), [*get*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerListCall), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetInstanceTemplateCall) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetTargetPoolCall) * zone operations - * [*get*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/api::ZoneOperationListCall) + * [*get*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/api::ZoneOperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/Replicapool)** +* **[Hub](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/Replicapool)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-replicapool1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -140,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-replicapool1_beta2/2.0.4+20160512/google_replicapool1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-replicapool1_beta2/2.0.5+20160512/google_replicapool1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/replicapool1_beta2/src/api.rs b/gen/replicapool1_beta2/src/api.rs index 0db6ab07e7..c1324ec590 100644 --- a/gen/replicapool1_beta2/src/api.rs +++ b/gen/replicapool1_beta2/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > Replicapool<> { Replicapool { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/replicapool/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > Replicapool<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/replicapool1_beta2/src/client.rs b/gen/replicapool1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/replicapool1_beta2/src/client.rs +++ b/gen/replicapool1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/replicapool1_beta2/src/lib.rs b/gen/replicapool1_beta2/src/lib.rs index c978992866..282f02c681 100644 --- a/gen/replicapool1_beta2/src/lib.rs +++ b/gen/replicapool1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *replicapool* crate version *2.0.4+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *replicapool* crate version *2.0.5+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *replicapool* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-replicapool1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/replicapoolupdater1_beta1-cli/Cargo.toml b/gen/replicapoolupdater1_beta1-cli/Cargo.toml index 6bc88c06ae..70594f5bb4 100644 --- a/gen/replicapoolupdater1_beta1-cli/Cargo.toml +++ b/gen/replicapoolupdater1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-replicapoolupdater1_beta1-cli" -version = "2.0.4+20161003" +version = "2.0.5+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapoolupdater1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-replicapoolupdater1_beta1] path = "../replicapoolupdater1_beta1" -version = "2.0.4+20161003" +version = "2.0.5+20161003" diff --git a/gen/replicapoolupdater1_beta1-cli/README.md b/gen/replicapoolupdater1_beta1-cli/README.md index e94ce88c62..1b7b0cbc20 100644 --- a/gen/replicapoolupdater1_beta1-cli/README.md +++ b/gen/replicapoolupdater1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *2.0.4*. +This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *2.0.5*. ```bash replicapoolupdater1-beta1 [options] diff --git a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml index 25eb9e7b46..ff9f9724df 100644 --- a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml +++ b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapoolupdater v2.0.4+20161003 +site_name: replicapoolupdater v2.0.5+20161003 site_url: http://byron.github.io/google-apis-rs/google-replicapoolupdater1_beta1-cli site_description: A complete library to interact with replicapoolupdater (protocol v1beta1) diff --git a/gen/replicapoolupdater1_beta1-cli/src/main.rs b/gen/replicapoolupdater1_beta1-cli/src/main.rs index 0222de6610..62a7929138 100644 --- a/gen/replicapoolupdater1_beta1-cli/src/main.rs +++ b/gen/replicapoolupdater1_beta1-cli/src/main.rs @@ -1099,7 +1099,7 @@ async fn main() { let mut app = App::new("replicapoolupdater1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20161003") + .version("2.0.5+20161003") .about("[Deprecated. Please use compute.instanceGroupManagers.update method. replicapoolupdater API will be disabled after December 30th, 2016] Updates groups of Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_replicapoolupdater1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/replicapoolupdater1_beta1/Cargo.toml b/gen/replicapoolupdater1_beta1/Cargo.toml index 0c07c9f4aa..30f2930df8 100644 --- a/gen/replicapoolupdater1_beta1/Cargo.toml +++ b/gen/replicapoolupdater1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-replicapoolupdater1_beta1" -version = "2.0.4+20161003" +version = "2.0.5+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapoolupdater1_beta1" homepage = "https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" -documentation = "https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003" +documentation = "https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003" license = "MIT" keywords = ["replicapoolupdater", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/replicapoolupdater1_beta1/README.md b/gen/replicapoolupdater1_beta1/README.md index a6b2891aa9..268a11ac13 100644 --- a/gen/replicapoolupdater1_beta1/README.md +++ b/gen/replicapoolupdater1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-replicapoolupdater1_beta1` library allows access to all features of the *Google replicapoolupdater* service. -This documentation was generated from *replicapoolupdater* crate version *2.0.4+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *replicapoolupdater* crate version *2.0.5+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater) ... -* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdate) - * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateCancelCall), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateGetCall), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateInsertCall), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListCall), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListInstanceUpdateCall), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdatePauseCall), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateResumeCall) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateRollbackCall) +* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdate) + * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateCancelCall), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateGetCall), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateInsertCall), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListCall), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListInstanceUpdateCall), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdatePauseCall), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateResumeCall) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateRollbackCall) * zone operations - * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationListCall) + * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater)** +* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-replicapoolupdater1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-replicapoolupdater1_beta1/2.0.4+20161003/google_replicapoolupdater1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-replicapoolupdater1_beta1/2.0.5+20161003/google_replicapoolupdater1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/replicapoolupdater1_beta1/src/api.rs b/gen/replicapoolupdater1_beta1/src/api.rs index 18fb20232a..e2e6e49a0f 100644 --- a/gen/replicapoolupdater1_beta1/src/api.rs +++ b/gen/replicapoolupdater1_beta1/src/api.rs @@ -129,7 +129,7 @@ impl<'a, > Replicapoolupdater<> { Replicapoolupdater { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/replicapoolupdater/v1beta1/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > Replicapoolupdater<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/replicapoolupdater1_beta1/src/client.rs b/gen/replicapoolupdater1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/replicapoolupdater1_beta1/src/client.rs +++ b/gen/replicapoolupdater1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs b/gen/replicapoolupdater1_beta1/src/lib.rs index a8739685d4..7381be8301 100644 --- a/gen/replicapoolupdater1_beta1/src/lib.rs +++ b/gen/replicapoolupdater1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *replicapoolupdater* crate version *2.0.4+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *replicapoolupdater* crate version *2.0.5+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-replicapoolupdater1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/reseller1_sandbox-cli/Cargo.toml b/gen/reseller1_sandbox-cli/Cargo.toml index 94dd0509db..7ee3713da3 100644 --- a/gen/reseller1_sandbox-cli/Cargo.toml +++ b/gen/reseller1_sandbox-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-reseller1_sandbox-cli" -version = "2.0.4+20160329" +version = "2.0.5+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/reseller1_sandbox-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-reseller1_sandbox] path = "../reseller1_sandbox" -version = "2.0.4+20160329" +version = "2.0.5+20160329" diff --git a/gen/reseller1_sandbox-cli/README.md b/gen/reseller1_sandbox-cli/README.md index 73f8691bf8..fc5f71125e 100644 --- a/gen/reseller1_sandbox-cli/README.md +++ b/gen/reseller1_sandbox-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *2.0.4*. +This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *2.0.5*. ```bash reseller1-sandbox [options] diff --git a/gen/reseller1_sandbox-cli/mkdocs.yml b/gen/reseller1_sandbox-cli/mkdocs.yml index d03cfc26b8..74221e29c0 100644 --- a/gen/reseller1_sandbox-cli/mkdocs.yml +++ b/gen/reseller1_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reseller v2.0.4+20160329 +site_name: reseller v2.0.5+20160329 site_url: http://byron.github.io/google-apis-rs/google-reseller1_sandbox-cli site_description: A complete library to interact with reseller (protocol v1sandbox) diff --git a/gen/reseller1_sandbox-cli/src/main.rs b/gen/reseller1_sandbox-cli/src/main.rs index b41f6fdd89..e2cdd93bde 100644 --- a/gen/reseller1_sandbox-cli/src/main.rs +++ b/gen/reseller1_sandbox-cli/src/main.rs @@ -1627,7 +1627,7 @@ async fn main() { let mut app = App::new("reseller1-sandbox") .author("Sebastian Thiel ") - .version("2.0.4+20160329") + .version("2.0.5+20160329") .about("Creates and manages your customers and their subscriptions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_reseller1_sandbox_cli") .arg(Arg::with_name("url") diff --git a/gen/reseller1_sandbox/Cargo.toml b/gen/reseller1_sandbox/Cargo.toml index 20be2966ee..3b5e02c4a0 100644 --- a/gen/reseller1_sandbox/Cargo.toml +++ b/gen/reseller1_sandbox/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-reseller1_sandbox" -version = "2.0.4+20160329" +version = "2.0.5+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/reseller1_sandbox" homepage = "https://developers.google.com/google-apps/reseller/" -documentation = "https://docs.rs/google-reseller1_sandbox/2.0.4+20160329" +documentation = "https://docs.rs/google-reseller1_sandbox/2.0.5+20160329" license = "MIT" keywords = ["reseller", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/reseller1_sandbox/README.md b/gen/reseller1_sandbox/README.md index 91239a1d44..984336d1dc 100644 --- a/gen/reseller1_sandbox/README.md +++ b/gen/reseller1_sandbox/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-reseller1_sandbox` library allows access to all features of the *Google reseller* service. -This documentation was generated from *reseller* crate version *2.0.4+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *reseller* crate version *2.0.5+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *reseller* *v1_sandbox* API can be found at the [official documentation site](https://developers.google.com/google-apps/reseller/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/Reseller) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/Reseller) ... -* [customers](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::Customer) - * [*get*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::CustomerGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::CustomerInsertCall), [*patch*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::CustomerPatchCall) and [*update*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::CustomerUpdateCall) -* [subscriptions](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::Subscription) - * [*activate*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionActivateCall), [*change plan*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionChangePlanCall), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionChangeRenewalSettingCall), [*change seats*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionChangeSeatCall), [*delete*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionDeleteCall), [*get*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionListCall), [*start paid service*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionStartPaidServiceCall) and [*suspend*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/api::SubscriptionSuspendCall) +* [customers](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::Customer) + * [*get*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::CustomerGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::CustomerInsertCall), [*patch*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::CustomerPatchCall) and [*update*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::CustomerUpdateCall) +* [subscriptions](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::Subscription) + * [*activate*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionActivateCall), [*change plan*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionChangePlanCall), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionChangeRenewalSettingCall), [*change seats*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionChangeSeatCall), [*delete*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionDeleteCall), [*get*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionListCall), [*start paid service*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionStartPaidServiceCall) and [*suspend*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/api::SubscriptionSuspendCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/Reseller)** +* **[Hub](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/Reseller)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::CallBuilder) -* **[Resources](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::CallBuilder) +* **[Resources](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Part)** + * **[Parts](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::CallBuilder)** +* **[Activities](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -75,9 +75,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-reseller1_sandbox = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Delegate) to the -[Method Builder](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Delegate) to the +[Method Builder](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Delegate) 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 [encodable](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::RequestValue) and -[decodable](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::RequestValue) and +[decodable](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-reseller1_sandbox/2.0.4+20160329/google_reseller1_sandbox/client::RequestValue) are moved +* [request values](https://docs.rs/google-reseller1_sandbox/2.0.5+20160329/google_reseller1_sandbox/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/reseller1_sandbox/src/api.rs b/gen/reseller1_sandbox/src/api.rs index d148fea0b7..8501a96da9 100644 --- a/gen/reseller1_sandbox/src/api.rs +++ b/gen/reseller1_sandbox/src/api.rs @@ -123,7 +123,7 @@ impl<'a, > Reseller<> { Reseller { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/apps/reseller/v1sandbox/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Reseller<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/reseller1_sandbox/src/client.rs b/gen/reseller1_sandbox/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/reseller1_sandbox/src/client.rs +++ b/gen/reseller1_sandbox/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/reseller1_sandbox/src/lib.rs b/gen/reseller1_sandbox/src/lib.rs index d5f6933241..640271ada5 100644 --- a/gen/reseller1_sandbox/src/lib.rs +++ b/gen/reseller1_sandbox/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *reseller* crate version *2.0.4+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *reseller* crate version *2.0.5+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *reseller* *v1_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/reseller/). @@ -75,9 +75,6 @@ //! ```toml //! [dependencies] //! google-reseller1_sandbox = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/resourceviews1_beta2-cli/Cargo.toml b/gen/resourceviews1_beta2-cli/Cargo.toml index 196dfb5d5d..f1cafb9a0b 100644 --- a/gen/resourceviews1_beta2-cli/Cargo.toml +++ b/gen/resourceviews1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-resourceviews1_beta2-cli" -version = "2.0.4+20160512" +version = "2.0.5+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/resourceviews1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-resourceviews1_beta2] path = "../resourceviews1_beta2" -version = "2.0.4+20160512" +version = "2.0.5+20160512" diff --git a/gen/resourceviews1_beta2-cli/README.md b/gen/resourceviews1_beta2-cli/README.md index 309ded37be..05f8e9402c 100644 --- a/gen/resourceviews1_beta2-cli/README.md +++ b/gen/resourceviews1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *2.0.4*. +This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *2.0.5*. ```bash resourceviews1-beta2 [options] diff --git a/gen/resourceviews1_beta2-cli/mkdocs.yml b/gen/resourceviews1_beta2-cli/mkdocs.yml index 9212c649cc..d55b7021cd 100644 --- a/gen/resourceviews1_beta2-cli/mkdocs.yml +++ b/gen/resourceviews1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: resourceviews v2.0.4+20160512 +site_name: resourceviews v2.0.5+20160512 site_url: http://byron.github.io/google-apis-rs/google-resourceviews1_beta2-cli site_description: A complete library to interact with resourceviews (protocol v1beta2) diff --git a/gen/resourceviews1_beta2-cli/src/main.rs b/gen/resourceviews1_beta2-cli/src/main.rs index 1c4183844c..b1cf874ef2 100644 --- a/gen/resourceviews1_beta2-cli/src/main.rs +++ b/gen/resourceviews1_beta2-cli/src/main.rs @@ -1304,7 +1304,7 @@ async fn main() { let mut app = App::new("resourceviews1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20160512") + .version("2.0.5+20160512") .about("The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_resourceviews1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/resourceviews1_beta2/Cargo.toml b/gen/resourceviews1_beta2/Cargo.toml index 11577b3bf8..5ddcdb7330 100644 --- a/gen/resourceviews1_beta2/Cargo.toml +++ b/gen/resourceviews1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-resourceviews1_beta2" -version = "2.0.4+20160512" +version = "2.0.5+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/resourceviews1_beta2" homepage = "https://developers.google.com/compute/" -documentation = "https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512" +documentation = "https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512" license = "MIT" keywords = ["resourceviews", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/resourceviews1_beta2/README.md b/gen/resourceviews1_beta2/README.md index fd6f010716..9cdff5cba4 100644 --- a/gen/resourceviews1_beta2/README.md +++ b/gen/resourceviews1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-resourceviews1_beta2` library allows access to all features of the *Google resourceviews* service. -This documentation was generated from *resourceviews* crate version *2.0.4+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *resourceviews* crate version *2.0.5+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *resourceviews* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/compute/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/Resourceviews) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/Resourceviews) ... * zone operations - * [*get*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneOperationListCall) + * [*get*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneOperationListCall) * zone views - * [*add resources*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewAddResourceCall), [*delete*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewDeleteCall), [*get*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewGetCall), [*get service*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewGetServiceCall), [*insert*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewInsertCall), [*list*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewListCall), [*list resources*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewListResourceCall), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewRemoveResourceCall) and [*set service*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/api::ZoneViewSetServiceCall) + * [*add resources*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewAddResourceCall), [*delete*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewDeleteCall), [*get*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewGetCall), [*get service*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewGetServiceCall), [*insert*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewInsertCall), [*list*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewListCall), [*list resources*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewListResourceCall), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewRemoveResourceCall) and [*set service*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/api::ZoneViewSetServiceCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/Resourceviews)** +* **[Hub](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/Resourceviews)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-resourceviews1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-resourceviews1_beta2/2.0.4+20160512/google_resourceviews1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-resourceviews1_beta2/2.0.5+20160512/google_resourceviews1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/resourceviews1_beta2/src/api.rs b/gen/resourceviews1_beta2/src/api.rs index 44b546ba82..56682f5df5 100644 --- a/gen/resourceviews1_beta2/src/api.rs +++ b/gen/resourceviews1_beta2/src/api.rs @@ -140,7 +140,7 @@ impl<'a, > Resourceviews<> { Resourceviews { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/resourceviews/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -154,7 +154,7 @@ impl<'a, > Resourceviews<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/resourceviews1_beta2/src/client.rs b/gen/resourceviews1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/resourceviews1_beta2/src/client.rs +++ b/gen/resourceviews1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/resourceviews1_beta2/src/lib.rs b/gen/resourceviews1_beta2/src/lib.rs index 650ea1e9ca..382987f24c 100644 --- a/gen/resourceviews1_beta2/src/lib.rs +++ b/gen/resourceviews1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *resourceviews* crate version *2.0.4+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *resourceviews* crate version *2.0.5+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *resourceviews* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-resourceviews1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/retail2-cli/Cargo.toml b/gen/retail2-cli/Cargo.toml index 3bd0f4f436..fc73390f45 100644 --- a/gen/retail2-cli/Cargo.toml +++ b/gen/retail2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-retail2-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Retail (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/retail2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-retail2] path = "../retail2" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/retail2-cli/README.md b/gen/retail2-cli/README.md index 5bcc85e68d..52d3c422c5 100644 --- a/gen/retail2-cli/README.md +++ b/gen/retail2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Retail* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Retail* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash retail2 [options] diff --git a/gen/retail2-cli/mkdocs.yml b/gen/retail2-cli/mkdocs.yml index c9b6461a98..cd1672f58c 100644 --- a/gen/retail2-cli/mkdocs.yml +++ b/gen/retail2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Retail v2.0.4+20210319 +site_name: Cloud Retail v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-retail2-cli site_description: A complete library to interact with Cloud Retail (protocol v2) diff --git a/gen/retail2-cli/src/main.rs b/gen/retail2-cli/src/main.rs index 8be4182fd4..80c0ddc333 100644 --- a/gen/retail2-cli/src/main.rs +++ b/gen/retail2-cli/src/main.rs @@ -2013,7 +2013,7 @@ async fn main() { let mut app = App::new("retail2") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_retail2_cli") .arg(Arg::with_name("url") diff --git a/gen/retail2/Cargo.toml b/gen/retail2/Cargo.toml index 659d861b2b..b98aa56869 100644 --- a/gen/retail2/Cargo.toml +++ b/gen/retail2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-retail2" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Retail (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/retail2" homepage = "https://cloud.google.com/recommendations" -documentation = "https://docs.rs/google-retail2/2.0.4+20210319" +documentation = "https://docs.rs/google-retail2/2.0.5+20210319" license = "MIT" keywords = ["retail", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/retail2/README.md b/gen/retail2/README.md index adc1045d4b..c3b2fa8019 100644 --- a/gen/retail2/README.md +++ b/gen/retail2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-retail2` library allows access to all features of the *Google Cloud Retail* service. -This documentation was generated from *Cloud Retail* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Retail* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Retail* *v2* API can be found at the [official documentation site](https://cloud.google.com/recommendations). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/CloudRetail) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/CloudRetail) ... * projects - * [*locations catalogs branches operations get*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogBrancheOperationGetCall), [*locations catalogs branches products create*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductCreateCall), [*locations catalogs branches products delete*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductDeleteCall), [*locations catalogs branches products get*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductGetCall), [*locations catalogs branches products import*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductImportCall), [*locations catalogs branches products patch*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductPatchCall), [*locations catalogs list*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogOperationListCall), [*locations catalogs patch*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogPatchCall), [*locations catalogs placements predict*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogPlacementPredictCall), [*locations catalogs user events collect*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogUserEventCollectCall), [*locations catalogs user events import*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogUserEventImportCall), [*locations catalogs user events purge*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogUserEventPurgeCall), [*locations catalogs user events rejoin*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogUserEventRejoinCall), [*locations catalogs user events write*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationCatalogUserEventWriteCall), [*locations operations get*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/api::ProjectLocationOperationListCall) + * [*locations catalogs branches operations get*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogBrancheOperationGetCall), [*locations catalogs branches products create*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductCreateCall), [*locations catalogs branches products delete*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductDeleteCall), [*locations catalogs branches products get*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductGetCall), [*locations catalogs branches products import*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductImportCall), [*locations catalogs branches products patch*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogBrancheProductPatchCall), [*locations catalogs list*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogOperationListCall), [*locations catalogs patch*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogPatchCall), [*locations catalogs placements predict*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogPlacementPredictCall), [*locations catalogs user events collect*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogUserEventCollectCall), [*locations catalogs user events import*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogUserEventImportCall), [*locations catalogs user events purge*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogUserEventPurgeCall), [*locations catalogs user events rejoin*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogUserEventRejoinCall), [*locations catalogs user events write*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationCatalogUserEventWriteCall), [*locations operations get*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/CloudRetail)** +* **[Hub](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/CloudRetail)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::CallBuilder) -* **[Resources](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::CallBuilder) +* **[Resources](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Part)** + * **[Parts](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-retail2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Delegate), 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-retail2/2.0.4+20210319/google_retail2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Delegate) to the -[Method Builder](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Delegate) to the +[Method Builder](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::CallBuilder) 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-retail2/2.0.4+20210319/google_retail2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Delegate) 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 [encodable](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::RequestValue) and -[decodable](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::RequestValue) and +[decodable](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-retail2/2.0.4+20210319/google_retail2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::Part) 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-retail2/2.0.4+20210319/google_retail2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::CallBuilder), 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-retail2/2.0.4+20210319/google_retail2/client::RequestValue) are moved +* [request values](https://docs.rs/google-retail2/2.0.5+20210319/google_retail2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/retail2/src/api.rs b/gen/retail2/src/api.rs index 4c63a6b958..ec4cb324f6 100644 --- a/gen/retail2/src/api.rs +++ b/gen/retail2/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudRetail<> { CloudRetail { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://retail.googleapis.com/".to_string(), _root_url: "https://retail.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudRetail<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/retail2/src/client.rs b/gen/retail2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/retail2/src/client.rs +++ b/gen/retail2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/retail2/src/lib.rs b/gen/retail2/src/lib.rs index 71824bd715..92f0191cf8 100644 --- a/gen/retail2/src/lib.rs +++ b/gen/retail2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Retail* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Retail* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Retail* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/recommendations). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-retail2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/run1-cli/Cargo.toml b/gen/run1-cli/Cargo.toml index d82cb14c81..289bc53b19 100644 --- a/gen/run1-cli/Cargo.toml +++ b/gen/run1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-run1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/run1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-run1] path = "../run1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/run1-cli/README.md b/gen/run1-cli/README.md index f784d6b691..1c640baf00 100644 --- a/gen/run1-cli/README.md +++ b/gen/run1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Run* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Run* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash run1 [options] diff --git a/gen/run1-cli/mkdocs.yml b/gen/run1-cli/mkdocs.yml index 7720e2fd9a..0c38cd9aee 100644 --- a/gen/run1-cli/mkdocs.yml +++ b/gen/run1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Run v2.0.4+20210326 +site_name: Cloud Run v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-run1-cli site_description: A complete library to interact with Cloud Run (protocol v1) diff --git a/gen/run1-cli/src/main.rs b/gen/run1-cli/src/main.rs index 05b73227cb..afc8bad11a 100644 --- a/gen/run1-cli/src/main.rs +++ b/gen/run1-cli/src/main.rs @@ -4007,7 +4007,7 @@ async fn main() { let mut app = App::new("run1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Deploy and manage user provided container images that scale automatically based on HTTP traffic.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_run1_cli") .arg(Arg::with_name("url") diff --git a/gen/run1/Cargo.toml b/gen/run1/Cargo.toml index ab94993ae9..f06a0edb6f 100644 --- a/gen/run1/Cargo.toml +++ b/gen/run1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-run1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/run1" homepage = "https://cloud.google.com/run/" -documentation = "https://docs.rs/google-run1/2.0.4+20210326" +documentation = "https://docs.rs/google-run1/2.0.5+20210326" license = "MIT" keywords = ["run", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/run1/README.md b/gen/run1/README.md index 529c176993..8e470473ca 100644 --- a/gen/run1/README.md +++ b/gen/run1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-run1` library allows access to all features of the *Google Cloud Run* service. -This documentation was generated from *Cloud Run* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Run* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Run* *v1* API can be found at the [official documentation site](https://cloud.google.com/run/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run1/2.0.4+20210326/google_run1/CloudRun) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run1/2.0.5+20210326/google_run1/CloudRun) ... * namespaces - * [*authorizeddomains list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceAuthorizeddomainListCall), [*configurations get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceConfigurationGetCall), [*configurations list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceConfigurationListCall), [*domainmappings create*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceDomainmappingCreateCall), [*domainmappings delete*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceDomainmappingDeleteCall), [*domainmappings get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceDomainmappingGetCall), [*domainmappings list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceDomainmappingListCall), [*revisions delete*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceRevisionDeleteCall), [*revisions get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceRevisionGetCall), [*revisions list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceRevisionListCall), [*routes get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceRouteGetCall), [*routes list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceRouteListCall), [*services create*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceServiceCreateCall), [*services delete*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceServiceDeleteCall), [*services get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceServiceGetCall), [*services list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceServiceListCall) and [*services replace service*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::NamespaceServiceReplaceServiceCall) + * [*authorizeddomains list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceAuthorizeddomainListCall), [*configurations get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceConfigurationGetCall), [*configurations list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceConfigurationListCall), [*domainmappings create*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceDomainmappingCreateCall), [*domainmappings delete*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceDomainmappingDeleteCall), [*domainmappings get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceDomainmappingGetCall), [*domainmappings list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceDomainmappingListCall), [*revisions delete*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceRevisionDeleteCall), [*revisions get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceRevisionGetCall), [*revisions list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceRevisionListCall), [*routes get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceRouteGetCall), [*routes list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceRouteListCall), [*services create*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceServiceCreateCall), [*services delete*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceServiceDeleteCall), [*services get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceServiceGetCall), [*services list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceServiceListCall) and [*services replace service*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::NamespaceServiceReplaceServiceCall) * projects - * [*authorizeddomains list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectAuthorizeddomainListCall), [*locations authorizeddomains list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationAuthorizeddomainListCall), [*locations configurations get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationConfigurationGetCall), [*locations configurations list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationConfigurationListCall), [*locations domainmappings create*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationDomainmappingCreateCall), [*locations domainmappings delete*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationDomainmappingDeleteCall), [*locations domainmappings get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationDomainmappingGetCall), [*locations domainmappings list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationDomainmappingListCall), [*locations list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationListCall), [*locations revisions delete*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationRevisionDeleteCall), [*locations revisions get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationRevisionGetCall), [*locations revisions list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationRevisionListCall), [*locations routes get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationRouteGetCall), [*locations routes list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationRouteListCall), [*locations services create*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceListCall), [*locations services replace service*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceReplaceServiceCall), [*locations services set iam policy*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/api::ProjectLocationServiceTestIamPermissionCall) + * [*authorizeddomains list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectAuthorizeddomainListCall), [*locations authorizeddomains list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationAuthorizeddomainListCall), [*locations configurations get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationConfigurationGetCall), [*locations configurations list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationConfigurationListCall), [*locations domainmappings create*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationDomainmappingCreateCall), [*locations domainmappings delete*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationDomainmappingDeleteCall), [*locations domainmappings get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationDomainmappingGetCall), [*locations domainmappings list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationDomainmappingListCall), [*locations list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationListCall), [*locations revisions delete*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationRevisionDeleteCall), [*locations revisions get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationRevisionGetCall), [*locations revisions list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationRevisionListCall), [*locations routes get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationRouteGetCall), [*locations routes list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationRouteListCall), [*locations services create*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceListCall), [*locations services replace service*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceReplaceServiceCall), [*locations services set iam policy*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/api::ProjectLocationServiceTestIamPermissionCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-run1/2.0.4+20210326/google_run1/CloudRun)** +* **[Hub](https://docs.rs/google-run1/2.0.5+20210326/google_run1/CloudRun)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::CallBuilder) -* **[Resources](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::CallBuilder) +* **[Resources](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Part)** + * **[Parts](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-run1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Delegate), 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-run1/2.0.4+20210326/google_run1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Delegate) to the -[Method Builder](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Delegate) to the +[Method Builder](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::CallBuilder) 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-run1/2.0.4+20210326/google_run1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Delegate) 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 [encodable](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::RequestValue) and -[decodable](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::RequestValue) and +[decodable](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-run1/2.0.4+20210326/google_run1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::Part) 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-run1/2.0.4+20210326/google_run1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::CallBuilder), 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-run1/2.0.4+20210326/google_run1/client::RequestValue) are moved +* [request values](https://docs.rs/google-run1/2.0.5+20210326/google_run1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/run1/src/api.rs b/gen/run1/src/api.rs index b24c11d6da..63081a8174 100644 --- a/gen/run1/src/api.rs +++ b/gen/run1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > CloudRun<> { CloudRun { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://run.googleapis.com/".to_string(), _root_url: "https://run.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudRun<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/run1/src/client.rs b/gen/run1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/run1/src/client.rs +++ b/gen/run1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/run1/src/lib.rs b/gen/run1/src/lib.rs index 83b59c1bf5..408e73447e 100644 --- a/gen/run1/src/lib.rs +++ b/gen/run1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Run* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Run* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Run* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/run/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-run1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/runtimeconfig1-cli/Cargo.toml b/gen/runtimeconfig1-cli/Cargo.toml index 416a67687d..a922de90c4 100644 --- a/gen/runtimeconfig1-cli/Cargo.toml +++ b/gen/runtimeconfig1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-runtimeconfig1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-runtimeconfig1] path = "../runtimeconfig1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/runtimeconfig1-cli/README.md b/gen/runtimeconfig1-cli/README.md index 8942bcaac6..39b50c4c80 100644 --- a/gen/runtimeconfig1-cli/README.md +++ b/gen/runtimeconfig1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud RuntimeConfig* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash runtimeconfig1 [options] diff --git a/gen/runtimeconfig1-cli/mkdocs.yml b/gen/runtimeconfig1-cli/mkdocs.yml index 8f4a631e4a..bd3c8338b4 100644 --- a/gen/runtimeconfig1-cli/mkdocs.yml +++ b/gen/runtimeconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v2.0.4+20210329 +site_name: Cloud RuntimeConfig v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-runtimeconfig1-cli site_description: A complete library to interact with Cloud RuntimeConfig (protocol v1) diff --git a/gen/runtimeconfig1-cli/src/main.rs b/gen/runtimeconfig1-cli/src/main.rs index b408fa3112..7dbb0f2c19 100644 --- a/gen/runtimeconfig1-cli/src/main.rs +++ b/gen/runtimeconfig1-cli/src/main.rs @@ -411,7 +411,7 @@ async fn main() { let mut app = App::new("runtimeconfig1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_runtimeconfig1_cli") .arg(Arg::with_name("url") diff --git a/gen/runtimeconfig1/Cargo.toml b/gen/runtimeconfig1/Cargo.toml index d38476e611..697e11df82 100644 --- a/gen/runtimeconfig1/Cargo.toml +++ b/gen/runtimeconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1" homepage = "https://cloud.google.com/deployment-manager/runtime-configurator/" -documentation = "https://docs.rs/google-runtimeconfig1/2.0.4+20210329" +documentation = "https://docs.rs/google-runtimeconfig1/2.0.5+20210329" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/runtimeconfig1/README.md b/gen/runtimeconfig1/README.md index e92e7af7c8..1aac8b91b5 100644 --- a/gen/runtimeconfig1/README.md +++ b/gen/runtimeconfig1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-runtimeconfig1` library allows access to all features of the *Google Cloud RuntimeConfig* service. -This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud RuntimeConfig* *v1* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/CloudRuntimeConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/CloudRuntimeConfig) ... -* [operations](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/api::Operation) - * [*cancel*](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/api::OperationCancelCall), [*delete*](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/api::OperationListCall) +* [operations](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/api::Operation) + * [*cancel*](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/api::OperationCancelCall), [*delete*](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/CloudRuntimeConfig)** +* **[Hub](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/CloudRuntimeConfig)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::CallBuilder) -* **[Resources](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::CallBuilder) +* **[Resources](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Part)** + * **[Parts](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-runtimeconfig1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Delegate), 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-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Delegate) to the -[Method Builder](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Delegate) to the +[Method Builder](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::CallBuilder) 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-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Delegate) 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 [encodable](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::RequestValue) and -[decodable](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::RequestValue) and +[decodable](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::Part) 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-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::CallBuilder), 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-runtimeconfig1/2.0.4+20210329/google_runtimeconfig1/client::RequestValue) are moved +* [request values](https://docs.rs/google-runtimeconfig1/2.0.5+20210329/google_runtimeconfig1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/runtimeconfig1/src/api.rs b/gen/runtimeconfig1/src/api.rs index 66a5c289c7..fbdc8d98f9 100644 --- a/gen/runtimeconfig1/src/api.rs +++ b/gen/runtimeconfig1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > CloudRuntimeConfig<> { CloudRuntimeConfig { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://runtimeconfig.googleapis.com/".to_string(), _root_url: "https://runtimeconfig.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudRuntimeConfig<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/runtimeconfig1/src/client.rs b/gen/runtimeconfig1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/runtimeconfig1/src/client.rs +++ b/gen/runtimeconfig1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/runtimeconfig1/src/lib.rs b/gen/runtimeconfig1/src/lib.rs index 6d49bddcc9..75a72fd2a4 100644 --- a/gen/runtimeconfig1/src/lib.rs +++ b/gen/runtimeconfig1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud RuntimeConfig* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-runtimeconfig1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/runtimeconfig1_beta1-cli/Cargo.toml b/gen/runtimeconfig1_beta1-cli/Cargo.toml index 3020bba192..99572f96c8 100644 --- a/gen/runtimeconfig1_beta1-cli/Cargo.toml +++ b/gen/runtimeconfig1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-runtimeconfig1_beta1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-runtimeconfig1_beta1] path = "../runtimeconfig1_beta1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/runtimeconfig1_beta1-cli/README.md b/gen/runtimeconfig1_beta1-cli/README.md index 5ee3cfffbe..f29ca7dc74 100644 --- a/gen/runtimeconfig1_beta1-cli/README.md +++ b/gen/runtimeconfig1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud RuntimeConfig* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash runtimeconfig1-beta1 [options] diff --git a/gen/runtimeconfig1_beta1-cli/mkdocs.yml b/gen/runtimeconfig1_beta1-cli/mkdocs.yml index 6afda935cd..dca30ebf00 100644 --- a/gen/runtimeconfig1_beta1-cli/mkdocs.yml +++ b/gen/runtimeconfig1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v2.0.4+20210329 +site_name: Cloud RuntimeConfig v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-runtimeconfig1_beta1-cli site_description: A complete library to interact with Cloud RuntimeConfig (protocol v1beta1) diff --git a/gen/runtimeconfig1_beta1-cli/src/main.rs b/gen/runtimeconfig1_beta1-cli/src/main.rs index 2441b249eb..608a54a0bc 100644 --- a/gen/runtimeconfig1_beta1-cli/src/main.rs +++ b/gen/runtimeconfig1_beta1-cli/src/main.rs @@ -2322,7 +2322,7 @@ async fn main() { let mut app = App::new("runtimeconfig1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_runtimeconfig1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/runtimeconfig1_beta1/Cargo.toml b/gen/runtimeconfig1_beta1/Cargo.toml index 95fa9d68dc..2dc0c941c2 100644 --- a/gen/runtimeconfig1_beta1/Cargo.toml +++ b/gen/runtimeconfig1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1_beta1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1_beta1" homepage = "https://cloud.google.com/deployment-manager/runtime-configurator/" -documentation = "https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329" +documentation = "https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/runtimeconfig1_beta1/README.md b/gen/runtimeconfig1_beta1/README.md index a6366e422c..57145e5287 100644 --- a/gen/runtimeconfig1_beta1/README.md +++ b/gen/runtimeconfig1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-runtimeconfig1_beta1` library allows access to all features of the *Google Cloud RuntimeConfig* service. -This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud RuntimeConfig* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig) ... * projects - * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigCreateCall), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigDeleteCall), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigGetCall), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigGetIamPolicyCall), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigListCall), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigOperationGetCall), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigOperationTestIamPermissionCall), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigSetIamPolicyCall), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigTestIamPermissionCall), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigUpdateCall), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableCreateCall), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableDeleteCall), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableGetCall), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableListCall), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableTestIamPermissionCall), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableUpdateCall), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableWatchCall), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterCreateCall), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterDeleteCall), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterGetCall), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterListCall) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterTestIamPermissionCall) + * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigCreateCall), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigDeleteCall), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigGetCall), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigGetIamPolicyCall), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigListCall), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigOperationGetCall), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigOperationTestIamPermissionCall), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigSetIamPolicyCall), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigTestIamPermissionCall), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigUpdateCall), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableCreateCall), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableDeleteCall), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableGetCall), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableListCall), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableTestIamPermissionCall), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableUpdateCall), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigVariableWatchCall), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterCreateCall), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterDeleteCall), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterGetCall), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterListCall) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/api::ProjectConfigWaiterTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig)** +* **[Hub](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/CloudRuntimeConfig)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-runtimeconfig1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Delegate), 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-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::CallBuilder) 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-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::Part) 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-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::CallBuilder), 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-runtimeconfig1_beta1/2.0.4+20210329/google_runtimeconfig1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-runtimeconfig1_beta1/2.0.5+20210329/google_runtimeconfig1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/runtimeconfig1_beta1/src/api.rs b/gen/runtimeconfig1_beta1/src/api.rs index 2478deeaf5..e0ef0418cf 100644 --- a/gen/runtimeconfig1_beta1/src/api.rs +++ b/gen/runtimeconfig1_beta1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > CloudRuntimeConfig<> { CloudRuntimeConfig { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://runtimeconfig.googleapis.com/".to_string(), _root_url: "https://runtimeconfig.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudRuntimeConfig<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/runtimeconfig1_beta1/src/client.rs b/gen/runtimeconfig1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/runtimeconfig1_beta1/src/client.rs +++ b/gen/runtimeconfig1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/runtimeconfig1_beta1/src/lib.rs b/gen/runtimeconfig1_beta1/src/lib.rs index 5237047d8c..85d6f0afab 100644 --- a/gen/runtimeconfig1_beta1/src/lib.rs +++ b/gen/runtimeconfig1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud RuntimeConfig* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud RuntimeConfig* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-runtimeconfig1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/safebrowsing4-cli/Cargo.toml b/gen/safebrowsing4-cli/Cargo.toml index d6da6e0972..a12445e2bf 100644 --- a/gen/safebrowsing4-cli/Cargo.toml +++ b/gen/safebrowsing4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-safebrowsing4-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/safebrowsing4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-safebrowsing4] path = "../safebrowsing4" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/safebrowsing4-cli/README.md b/gen/safebrowsing4-cli/README.md index c279abf1b3..9aa5558469 100644 --- a/gen/safebrowsing4-cli/README.md +++ b/gen/safebrowsing4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Safebrowsing* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Safebrowsing* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash safebrowsing4 [options] diff --git a/gen/safebrowsing4-cli/mkdocs.yml b/gen/safebrowsing4-cli/mkdocs.yml index 8e0c3a4ad3..06e54bbe68 100644 --- a/gen/safebrowsing4-cli/mkdocs.yml +++ b/gen/safebrowsing4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Safebrowsing v2.0.4+20210330 +site_name: Safebrowsing v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-safebrowsing4-cli site_description: A complete library to interact with Safebrowsing (protocol v4) diff --git a/gen/safebrowsing4-cli/src/main.rs b/gen/safebrowsing4-cli/src/main.rs index 3f3313103d..91134c576f 100644 --- a/gen/safebrowsing4-cli/src/main.rs +++ b/gen/safebrowsing4-cli/src/main.rs @@ -876,7 +876,7 @@ async fn main() { let mut app = App::new("safebrowsing4") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_safebrowsing4_cli") .arg(Arg::with_name("folder") diff --git a/gen/safebrowsing4/Cargo.toml b/gen/safebrowsing4/Cargo.toml index 8109233919..f2c156ba6c 100644 --- a/gen/safebrowsing4/Cargo.toml +++ b/gen/safebrowsing4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-safebrowsing4" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/safebrowsing4" homepage = "https://developers.google.com/safe-browsing/" -documentation = "https://docs.rs/google-safebrowsing4/2.0.4+20210330" +documentation = "https://docs.rs/google-safebrowsing4/2.0.5+20210330" license = "MIT" keywords = ["safebrowsing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/safebrowsing4/README.md b/gen/safebrowsing4/README.md index 9de47c3f5d..986eb3bd98 100644 --- a/gen/safebrowsing4/README.md +++ b/gen/safebrowsing4/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-safebrowsing4` library allows access to all features of the *Google Safebrowsing* service. -This documentation was generated from *Safebrowsing* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Safebrowsing* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Safebrowsing* *v4* API can be found at the [official documentation site](https://developers.google.com/safe-browsing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/Safebrowsing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/Safebrowsing) ... * encoded full hashes - * [*get*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::EncodedFullHasheGetCall) + * [*get*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::EncodedFullHasheGetCall) * encoded updates - * [*get*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::EncodedUpdateGetCall) + * [*get*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::EncodedUpdateGetCall) * full hashes - * [*find*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::FullHasheFindCall) + * [*find*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::FullHasheFindCall) * threat hits - * [*create*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatHitCreateCall) + * [*create*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::ThreatHitCreateCall) * threat list updates - * [*fetch*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatListUpdateFetchCall) + * [*fetch*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::ThreatListUpdateFetchCall) * threat lists - * [*list*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatListListCall) + * [*list*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::ThreatListListCall) * threat matches - * [*find*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/api::ThreatMatcheFindCall) + * [*find*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/api::ThreatMatcheFindCall) @@ -35,17 +35,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/Safebrowsing)** +* **[Hub](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/Safebrowsing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::CallBuilder) -* **[Resources](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::CallBuilder) +* **[Resources](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Part)** + * **[Parts](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -77,9 +77,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-safebrowsing4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -141,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Delegate) to the -[Method Builder](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Delegate) to the +[Method Builder](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Delegate) 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 [encodable](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::RequestValue) and -[decodable](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::RequestValue) and +[decodable](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-safebrowsing4/2.0.4+20210330/google_safebrowsing4/client::RequestValue) are moved +* [request values](https://docs.rs/google-safebrowsing4/2.0.5+20210330/google_safebrowsing4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/safebrowsing4/src/api.rs b/gen/safebrowsing4/src/api.rs index 08f8c5f2d2..b755d330ec 100644 --- a/gen/safebrowsing4/src/api.rs +++ b/gen/safebrowsing4/src/api.rs @@ -94,7 +94,7 @@ impl<'a, > Safebrowsing<> { Safebrowsing { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://safebrowsing.googleapis.com/".to_string(), _root_url: "https://safebrowsing.googleapis.com/".to_string(), } @@ -123,7 +123,7 @@ impl<'a, > Safebrowsing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/safebrowsing4/src/client.rs b/gen/safebrowsing4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/safebrowsing4/src/client.rs +++ b/gen/safebrowsing4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/safebrowsing4/src/lib.rs b/gen/safebrowsing4/src/lib.rs index e631cd9119..3009413b7e 100644 --- a/gen/safebrowsing4/src/lib.rs +++ b/gen/safebrowsing4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Safebrowsing* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Safebrowsing* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Safebrowsing* *v4* API can be found at the //! [official documentation site](https://developers.google.com/safe-browsing/). @@ -77,9 +77,6 @@ //! ```toml //! [dependencies] //! google-safebrowsing4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/sasportal1_alpha1-cli/Cargo.toml b/gen/sasportal1_alpha1-cli/Cargo.toml index f7a2c0adca..ffcaa067f6 100644 --- a/gen/sasportal1_alpha1-cli/Cargo.toml +++ b/gen/sasportal1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sasportal1_alpha1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with sasportal (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sasportal1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sasportal1_alpha1] path = "../sasportal1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/sasportal1_alpha1-cli/README.md b/gen/sasportal1_alpha1-cli/README.md index 76f5efd7af..1f320604fd 100644 --- a/gen/sasportal1_alpha1-cli/README.md +++ b/gen/sasportal1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *sasportal* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *sasportal* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash sasportal1-alpha1 [options] diff --git a/gen/sasportal1_alpha1-cli/mkdocs.yml b/gen/sasportal1_alpha1-cli/mkdocs.yml index f5c8060211..075c2dc25a 100644 --- a/gen/sasportal1_alpha1-cli/mkdocs.yml +++ b/gen/sasportal1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: sasportal v2.0.4+20210330 +site_name: sasportal v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-sasportal1_alpha1-cli site_description: A complete library to interact with sasportal (protocol v1alpha1) diff --git a/gen/sasportal1_alpha1-cli/src/main.rs b/gen/sasportal1_alpha1-cli/src/main.rs index 8f97ce87c8..1a75c01736 100644 --- a/gen/sasportal1_alpha1-cli/src/main.rs +++ b/gen/sasportal1_alpha1-cli/src/main.rs @@ -8769,7 +8769,7 @@ async fn main() { let mut app = App::new("sasportal1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sasportal1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/sasportal1_alpha1/Cargo.toml b/gen/sasportal1_alpha1/Cargo.toml index ae6e57a75b..53e37158b3 100644 --- a/gen/sasportal1_alpha1/Cargo.toml +++ b/gen/sasportal1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sasportal1_alpha1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with sasportal (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sasportal1_alpha1" homepage = "https://developers.google.com/spectrum-access-system/" -documentation = "https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330" +documentation = "https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330" license = "MIT" keywords = ["sasportal", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sasportal1_alpha1/README.md b/gen/sasportal1_alpha1/README.md index 61432f6a72..56eb5d79d7 100644 --- a/gen/sasportal1_alpha1/README.md +++ b/gen/sasportal1_alpha1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-sasportal1_alpha1` library allows access to all features of the *Google sasportal* service. -This documentation was generated from *sasportal* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *sasportal* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *sasportal* *v1_alpha1* API can be found at the [official documentation site](https://developers.google.com/spectrum-access-system/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/Sasportal) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/Sasportal) ... * customers - * [*deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::CustomerPatchCall) + * [*deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::CustomerPatchCall) * deployments - * [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::DeploymentGetCall) + * [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::DeploymentGetCall) * installer - * [*generate secret*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::InstallerValidateCall) + * [*generate secret*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::InstallerValidateCall) * nodes - * [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::NodeNodePatchCall) + * [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::NodeNodePatchCall) * policies - * [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/api::PolicyTestCall) + * [*get*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/api::PolicyTestCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/Sasportal)** +* **[Hub](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/Sasportal)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,9 +92,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-sasportal1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -161,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Delegate), 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-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -181,29 +178,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::CallBuilder) 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-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::Part) 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-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::CallBuilder), 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-sasportal1_alpha1/2.0.4+20210330/google_sasportal1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sasportal1_alpha1/2.0.5+20210330/google_sasportal1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sasportal1_alpha1/src/api.rs b/gen/sasportal1_alpha1/src/api.rs index 12b9f12bb1..d58ab67b03 100644 --- a/gen/sasportal1_alpha1/src/api.rs +++ b/gen/sasportal1_alpha1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Sasportal<> { Sasportal { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://sasportal.googleapis.com/".to_string(), _root_url: "https://sasportal.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > Sasportal<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sasportal1_alpha1/src/client.rs b/gen/sasportal1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/sasportal1_alpha1/src/client.rs +++ b/gen/sasportal1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/sasportal1_alpha1/src/lib.rs b/gen/sasportal1_alpha1/src/lib.rs index f29e25475a..c374d4bd43 100644 --- a/gen/sasportal1_alpha1/src/lib.rs +++ b/gen/sasportal1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *sasportal* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *sasportal* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *sasportal* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/spectrum-access-system/). @@ -92,9 +92,6 @@ //! ```toml //! [dependencies] //! google-sasportal1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/searchconsole1-cli/Cargo.toml b/gen/searchconsole1-cli/Cargo.toml index 51df144a2f..92ebebf050 100644 --- a/gen/searchconsole1-cli/Cargo.toml +++ b/gen/searchconsole1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-searchconsole1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Search Console (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/searchconsole1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-searchconsole1] path = "../searchconsole1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/searchconsole1-cli/README.md b/gen/searchconsole1-cli/README.md index e2cebd7915..f1ffce4a7b 100644 --- a/gen/searchconsole1-cli/README.md +++ b/gen/searchconsole1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Search Console* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Search Console* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash searchconsole1 [options] diff --git a/gen/searchconsole1-cli/mkdocs.yml b/gen/searchconsole1-cli/mkdocs.yml index 2ccf0edfea..56183bc495 100644 --- a/gen/searchconsole1-cli/mkdocs.yml +++ b/gen/searchconsole1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Search Console v2.0.4+20210325 +site_name: Search Console v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-searchconsole1-cli site_description: A complete library to interact with Search Console (protocol v1) diff --git a/gen/searchconsole1-cli/src/main.rs b/gen/searchconsole1-cli/src/main.rs index fbb92b4d8d..45c4dea791 100644 --- a/gen/searchconsole1-cli/src/main.rs +++ b/gen/searchconsole1-cli/src/main.rs @@ -972,7 +972,7 @@ async fn main() { let mut app = App::new("searchconsole1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_searchconsole1_cli") .arg(Arg::with_name("url") diff --git a/gen/searchconsole1/Cargo.toml b/gen/searchconsole1/Cargo.toml index 8b133dfc7a..38655c2a88 100644 --- a/gen/searchconsole1/Cargo.toml +++ b/gen/searchconsole1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-searchconsole1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Search Console (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/searchconsole1" homepage = "https://developers.google.com/webmaster-tools/search-console-api/" -documentation = "https://docs.rs/google-searchconsole1/2.0.4+20210325" +documentation = "https://docs.rs/google-searchconsole1/2.0.5+20210325" license = "MIT" keywords = ["searchconsole", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/searchconsole1/README.md b/gen/searchconsole1/README.md index 8af47bfac3..522219ae2d 100644 --- a/gen/searchconsole1/README.md +++ b/gen/searchconsole1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-searchconsole1` library allows access to all features of the *Google Search Console* service. -This documentation was generated from *Search Console* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Search Console* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Search Console* *v1* API can be found at the [official documentation site](https://developers.google.com/webmaster-tools/search-console-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/SearchConsole) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/SearchConsole) ... * searchanalytics - * [*query*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SearchanalyticQueryCall) + * [*query*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SearchanalyticQueryCall) * sitemaps - * [*delete*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SitemapDeleteCall), [*get*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SitemapGetCall), [*list*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SitemapListCall) and [*submit*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SitemapSubmitCall) + * [*delete*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SitemapDeleteCall), [*get*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SitemapGetCall), [*list*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SitemapListCall) and [*submit*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SitemapSubmitCall) * sites - * [*add*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SiteAddCall), [*delete*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SiteDeleteCall), [*get*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SiteGetCall) and [*list*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::SiteListCall) + * [*add*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SiteAddCall), [*delete*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SiteDeleteCall), [*get*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SiteGetCall) and [*list*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::SiteListCall) * url testing tools - * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/api::UrlTestingToolMobileFriendlyTestRunCall) + * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/api::UrlTestingToolMobileFriendlyTestRunCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/SearchConsole)** +* **[Hub](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/SearchConsole)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::CallBuilder) -* **[Resources](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::CallBuilder) +* **[Resources](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Part)** + * **[Parts](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-searchconsole1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Delegate), 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-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Delegate) to the -[Method Builder](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Delegate) to the +[Method Builder](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::CallBuilder) 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-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Delegate) 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 [encodable](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::RequestValue) and -[decodable](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::RequestValue) and +[decodable](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-searchconsole1/2.0.4+20210325/google_searchconsole1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::Part) 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-searchconsole1/2.0.4+20210325/google_searchconsole1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::CallBuilder), 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-searchconsole1/2.0.4+20210325/google_searchconsole1/client::RequestValue) are moved +* [request values](https://docs.rs/google-searchconsole1/2.0.5+20210325/google_searchconsole1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/searchconsole1/src/api.rs b/gen/searchconsole1/src/api.rs index 33cc70f796..1fd02a5d5f 100644 --- a/gen/searchconsole1/src/api.rs +++ b/gen/searchconsole1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > SearchConsole<> { SearchConsole { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://searchconsole.googleapis.com/".to_string(), _root_url: "https://searchconsole.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > SearchConsole<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/searchconsole1/src/client.rs b/gen/searchconsole1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/searchconsole1/src/client.rs +++ b/gen/searchconsole1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/searchconsole1/src/lib.rs b/gen/searchconsole1/src/lib.rs index af8a40904b..09e8fc00e0 100644 --- a/gen/searchconsole1/src/lib.rs +++ b/gen/searchconsole1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Search Console* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Search Console* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Search Console* *v1* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/search-console-api/). @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-searchconsole1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/secretmanager1-cli/Cargo.toml b/gen/secretmanager1-cli/Cargo.toml index 622e318690..b7ee330b47 100644 --- a/gen/secretmanager1-cli/Cargo.toml +++ b/gen/secretmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-secretmanager1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-secretmanager1] path = "../secretmanager1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/secretmanager1-cli/README.md b/gen/secretmanager1-cli/README.md index e2530580d7..0cf8d400ef 100644 --- a/gen/secretmanager1-cli/README.md +++ b/gen/secretmanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Secret Manager* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Secret Manager* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash secretmanager1 [options] diff --git a/gen/secretmanager1-cli/mkdocs.yml b/gen/secretmanager1-cli/mkdocs.yml index a396a1f05f..dc4c00f5e6 100644 --- a/gen/secretmanager1-cli/mkdocs.yml +++ b/gen/secretmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Secret Manager v2.0.4+20210319 +site_name: Secret Manager v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-secretmanager1-cli site_description: A complete library to interact with Secret Manager (protocol v1) diff --git a/gen/secretmanager1-cli/src/main.rs b/gen/secretmanager1-cli/src/main.rs index 262008f52c..29b4f2bfea 100644 --- a/gen/secretmanager1-cli/src/main.rs +++ b/gen/secretmanager1-cli/src/main.rs @@ -1802,7 +1802,7 @@ async fn main() { let mut app = App::new("secretmanager1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_secretmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/secretmanager1/Cargo.toml b/gen/secretmanager1/Cargo.toml index b32389d6bd..4251762a0b 100644 --- a/gen/secretmanager1/Cargo.toml +++ b/gen/secretmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-secretmanager1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1" homepage = "https://cloud.google.com/secret-manager/" -documentation = "https://docs.rs/google-secretmanager1/2.0.4+20210319" +documentation = "https://docs.rs/google-secretmanager1/2.0.5+20210319" license = "MIT" keywords = ["secretmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/secretmanager1/README.md b/gen/secretmanager1/README.md index 05a5976058..5439a54e41 100644 --- a/gen/secretmanager1/README.md +++ b/gen/secretmanager1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-secretmanager1` library allows access to all features of the *Google Secret Manager* service. -This documentation was generated from *Secret Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Secret Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Secret Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/secret-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/SecretManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/SecretManager) ... * projects - * [*locations get*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/api::ProjectSecretVersionListCall) + * [*locations get*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/api::ProjectSecretVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/SecretManager)** +* **[Hub](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/SecretManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Part)** + * **[Parts](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-secretmanager1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Delegate), 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-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::CallBuilder) 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-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Delegate) 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 [encodable](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1/2.0.4+20210319/google_secretmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::Part) 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-secretmanager1/2.0.4+20210319/google_secretmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::CallBuilder), 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-secretmanager1/2.0.4+20210319/google_secretmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-secretmanager1/2.0.5+20210319/google_secretmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/secretmanager1/src/api.rs b/gen/secretmanager1/src/api.rs index dfcffcb679..b5cbc4ac71 100644 --- a/gen/secretmanager1/src/api.rs +++ b/gen/secretmanager1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > SecretManager<> { SecretManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://secretmanager.googleapis.com/".to_string(), _root_url: "https://secretmanager.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > SecretManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/secretmanager1/src/client.rs b/gen/secretmanager1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/secretmanager1/src/client.rs +++ b/gen/secretmanager1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/secretmanager1/src/lib.rs b/gen/secretmanager1/src/lib.rs index df1eb370ca..339e23746f 100644 --- a/gen/secretmanager1/src/lib.rs +++ b/gen/secretmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Secret Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Secret Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Secret Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/secret-manager/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-secretmanager1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/secretmanager1_beta1-cli/Cargo.toml b/gen/secretmanager1_beta1-cli/Cargo.toml index 0d53b8cf36..291612286b 100644 --- a/gen/secretmanager1_beta1-cli/Cargo.toml +++ b/gen/secretmanager1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-secretmanager1_beta1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-secretmanager1_beta1] path = "../secretmanager1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/secretmanager1_beta1-cli/README.md b/gen/secretmanager1_beta1-cli/README.md index 8e24218448..870e73599e 100644 --- a/gen/secretmanager1_beta1-cli/README.md +++ b/gen/secretmanager1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Secret Manager* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Secret Manager* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash secretmanager1-beta1 [options] diff --git a/gen/secretmanager1_beta1-cli/mkdocs.yml b/gen/secretmanager1_beta1-cli/mkdocs.yml index 80fc871a2e..d934ca2b3f 100644 --- a/gen/secretmanager1_beta1-cli/mkdocs.yml +++ b/gen/secretmanager1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Secret Manager v2.0.4+20210319 +site_name: Secret Manager v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-secretmanager1_beta1-cli site_description: A complete library to interact with Secret Manager (protocol v1beta1) diff --git a/gen/secretmanager1_beta1-cli/src/main.rs b/gen/secretmanager1_beta1-cli/src/main.rs index 45723df186..29e725d1e4 100644 --- a/gen/secretmanager1_beta1-cli/src/main.rs +++ b/gen/secretmanager1_beta1-cli/src/main.rs @@ -1792,7 +1792,7 @@ async fn main() { let mut app = App::new("secretmanager1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_secretmanager1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/secretmanager1_beta1/Cargo.toml b/gen/secretmanager1_beta1/Cargo.toml index 397a604b95..69c66a7abf 100644 --- a/gen/secretmanager1_beta1/Cargo.toml +++ b/gen/secretmanager1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-secretmanager1_beta1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1_beta1" homepage = "https://cloud.google.com/secret-manager/" -documentation = "https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319" +documentation = "https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319" license = "MIT" keywords = ["secretmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/secretmanager1_beta1/README.md b/gen/secretmanager1_beta1/README.md index b93fd4e288..27251e3028 100644 --- a/gen/secretmanager1_beta1/README.md +++ b/gen/secretmanager1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-secretmanager1_beta1` library allows access to all features of the *Google Secret Manager* service. -This documentation was generated from *Secret Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Secret Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Secret Manager* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/secret-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/SecretManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/SecretManager) ... * projects - * [*locations get*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionListCall) + * [*locations get*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/api::ProjectSecretVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/SecretManager)** +* **[Hub](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/SecretManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-secretmanager1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Delegate), 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-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::CallBuilder) 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-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::Part) 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-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::CallBuilder), 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-secretmanager1_beta1/2.0.4+20210319/google_secretmanager1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-secretmanager1_beta1/2.0.5+20210319/google_secretmanager1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/secretmanager1_beta1/src/api.rs b/gen/secretmanager1_beta1/src/api.rs index cf13ce93db..a80fdf207c 100644 --- a/gen/secretmanager1_beta1/src/api.rs +++ b/gen/secretmanager1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > SecretManager<> { SecretManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://secretmanager.googleapis.com/".to_string(), _root_url: "https://secretmanager.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > SecretManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/secretmanager1_beta1/src/client.rs b/gen/secretmanager1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/secretmanager1_beta1/src/client.rs +++ b/gen/secretmanager1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/secretmanager1_beta1/src/lib.rs b/gen/secretmanager1_beta1/src/lib.rs index 7710297ba9..e2b9f80c5b 100644 --- a/gen/secretmanager1_beta1/src/lib.rs +++ b/gen/secretmanager1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Secret Manager* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Secret Manager* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Secret Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/secret-manager/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-secretmanager1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/securitycenter1-cli/Cargo.toml b/gen/securitycenter1-cli/Cargo.toml index 37ebdd1341..e2e07d6e66 100644 --- a/gen/securitycenter1-cli/Cargo.toml +++ b/gen/securitycenter1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-securitycenter1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Security Command Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-securitycenter1] path = "../securitycenter1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/securitycenter1-cli/README.md b/gen/securitycenter1-cli/README.md index 63a672deeb..5207a6d1fb 100644 --- a/gen/securitycenter1-cli/README.md +++ b/gen/securitycenter1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Security Command Center* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Security Command Center* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash securitycenter1 [options] diff --git a/gen/securitycenter1-cli/mkdocs.yml b/gen/securitycenter1-cli/mkdocs.yml index f56523e70b..0f0dcbc17c 100644 --- a/gen/securitycenter1-cli/mkdocs.yml +++ b/gen/securitycenter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Security Command Center v2.0.4+20210326 +site_name: Security Command Center v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-securitycenter1-cli site_description: A complete library to interact with Security Command Center (protocol v1) diff --git a/gen/securitycenter1-cli/src/main.rs b/gen/securitycenter1-cli/src/main.rs index eaf482867b..e54c99bc39 100644 --- a/gen/securitycenter1-cli/src/main.rs +++ b/gen/securitycenter1-cli/src/main.rs @@ -5144,7 +5144,7 @@ async fn main() { let mut app = App::new("securitycenter1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Security Command Center API provides access to temporal views of assets and findings within an organization.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_securitycenter1_cli") .arg(Arg::with_name("url") diff --git a/gen/securitycenter1/Cargo.toml b/gen/securitycenter1/Cargo.toml index 4425ae4108..660a9fbf57 100644 --- a/gen/securitycenter1/Cargo.toml +++ b/gen/securitycenter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-securitycenter1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Security Command Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1" homepage = "https://cloud.google.com/security-command-center" -documentation = "https://docs.rs/google-securitycenter1/2.0.4+20210326" +documentation = "https://docs.rs/google-securitycenter1/2.0.5+20210326" license = "MIT" keywords = ["securitycenter", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/securitycenter1/README.md b/gen/securitycenter1/README.md index a37b16da92..6f4cb92b66 100644 --- a/gen/securitycenter1/README.md +++ b/gen/securitycenter1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-securitycenter1` library allows access to all features of the *Google Security Command Center* service. -This documentation was generated from *Security Command Center* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Security Command Center* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Security Command Center* *v1* API can be found at the [official documentation site](https://cloud.google.com/security-command-center). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/SecurityCommandCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/SecurityCommandCenter) ... -* [folders](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::Folder) - * [*assets group*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderAssetUpdateSecurityMarkCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::FolderSourceListCall) +* [folders](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::Folder) + * [*assets group*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderAssetUpdateSecurityMarkCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::FolderSourceListCall) * organizations - * [*assets group*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationAssetListCall), [*assets run discovery*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationAssetRunDiscoveryCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationAssetUpdateSecurityMarkCall), [*get organization settings*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationGetOrganizationSettingCall), [*notification configs create*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationNotificationConfigCreateCall), [*notification configs delete*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationNotificationConfigDeleteCall), [*notification configs get*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationNotificationConfigGetCall), [*notification configs list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationNotificationConfigListCall), [*notification configs patch*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationNotificationConfigPatchCall), [*operations cancel*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationOperationCancelCall), [*operations delete*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationOperationDeleteCall), [*operations get*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationOperationListCall), [*sources create*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceCreateCall), [*sources findings create*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceFindingCreateCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceFindingUpdateSecurityMarkCall), [*sources get*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceGetCall), [*sources get iam policy*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceGetIamPolicyCall), [*sources list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceListCall), [*sources patch*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourcePatchCall), [*sources set iam policy*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceSetIamPolicyCall), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationSourceTestIamPermissionCall) and [*update organization settings*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::OrganizationUpdateOrganizationSettingCall) + * [*assets group*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationAssetListCall), [*assets run discovery*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationAssetRunDiscoveryCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationAssetUpdateSecurityMarkCall), [*get organization settings*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationGetOrganizationSettingCall), [*notification configs create*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationNotificationConfigCreateCall), [*notification configs delete*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationNotificationConfigDeleteCall), [*notification configs get*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationNotificationConfigGetCall), [*notification configs list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationNotificationConfigListCall), [*notification configs patch*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationNotificationConfigPatchCall), [*operations cancel*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationOperationCancelCall), [*operations delete*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationOperationDeleteCall), [*operations get*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationOperationListCall), [*sources create*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceCreateCall), [*sources findings create*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceFindingCreateCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceFindingUpdateSecurityMarkCall), [*sources get*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceGetCall), [*sources get iam policy*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceGetIamPolicyCall), [*sources list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceListCall), [*sources patch*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourcePatchCall), [*sources set iam policy*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceSetIamPolicyCall), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationSourceTestIamPermissionCall) and [*update organization settings*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::OrganizationUpdateOrganizationSettingCall) * projects - * [*assets group*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectAssetUpdateSecurityMarkCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/api::ProjectSourceListCall) + * [*assets group*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectAssetUpdateSecurityMarkCall), [*sources findings group*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectSourceFindingPatchCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/api::ProjectSourceListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/SecurityCommandCenter)** +* **[Hub](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/SecurityCommandCenter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::CallBuilder) -* **[Resources](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::CallBuilder) +* **[Resources](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Part)** + * **[Parts](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -76,9 +76,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-securitycenter1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -145,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Delegate), 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-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Delegate) to the -[Method Builder](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Delegate) to the +[Method Builder](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::CallBuilder) 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-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Delegate) 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 [encodable](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::RequestValue) and -[decodable](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::RequestValue) and +[decodable](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-securitycenter1/2.0.4+20210326/google_securitycenter1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::Part) 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-securitycenter1/2.0.4+20210326/google_securitycenter1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::CallBuilder), 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-securitycenter1/2.0.4+20210326/google_securitycenter1/client::RequestValue) are moved +* [request values](https://docs.rs/google-securitycenter1/2.0.5+20210326/google_securitycenter1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/securitycenter1/src/api.rs b/gen/securitycenter1/src/api.rs index 6857661e06..f328e85964 100644 --- a/gen/securitycenter1/src/api.rs +++ b/gen/securitycenter1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > SecurityCommandCenter<> { SecurityCommandCenter { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://securitycenter.googleapis.com/".to_string(), _root_url: "https://securitycenter.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > SecurityCommandCenter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/securitycenter1/src/client.rs b/gen/securitycenter1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/securitycenter1/src/client.rs +++ b/gen/securitycenter1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/securitycenter1/src/lib.rs b/gen/securitycenter1/src/lib.rs index 36e5ec794b..197fa6e69a 100644 --- a/gen/securitycenter1/src/lib.rs +++ b/gen/securitycenter1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Security Command Center* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Security Command Center* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Security Command Center* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/security-command-center). @@ -76,9 +76,6 @@ //! ```toml //! [dependencies] //! google-securitycenter1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/servicebroker1-cli/Cargo.toml b/gen/servicebroker1-cli/Cargo.toml index 598c1e47ec..8204cd0bfa 100644 --- a/gen/servicebroker1-cli/Cargo.toml +++ b/gen/servicebroker1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicebroker1-cli" -version = "2.0.4+20190624" +version = "2.0.5+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Broker (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicebroker1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicebroker1] path = "../servicebroker1" -version = "2.0.4+20190624" +version = "2.0.5+20190624" diff --git a/gen/servicebroker1-cli/README.md b/gen/servicebroker1-cli/README.md index 367493669b..7a743a8b28 100644 --- a/gen/servicebroker1-cli/README.md +++ b/gen/servicebroker1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Broker* API at revision *20190624*. The CLI is at version *2.0.4*. +This documentation was generated from the *Service Broker* API at revision *20190624*. The CLI is at version *2.0.5*. ```bash servicebroker1 [options] diff --git a/gen/servicebroker1-cli/mkdocs.yml b/gen/servicebroker1-cli/mkdocs.yml index d9a006a238..d20bffa686 100644 --- a/gen/servicebroker1-cli/mkdocs.yml +++ b/gen/servicebroker1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Broker v2.0.4+20190624 +site_name: Service Broker v2.0.5+20190624 site_url: http://byron.github.io/google-apis-rs/google-servicebroker1-cli site_description: A complete library to interact with Service Broker (protocol v1) diff --git a/gen/servicebroker1-cli/src/main.rs b/gen/servicebroker1-cli/src/main.rs index 9be44b6e06..f71b0db765 100644 --- a/gen/servicebroker1-cli/src/main.rs +++ b/gen/servicebroker1-cli/src/main.rs @@ -454,7 +454,7 @@ async fn main() { let mut app = App::new("servicebroker1") .author("Sebastian Thiel ") - .version("2.0.4+20190624") + .version("2.0.5+20190624") .about("The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/). diff --git a/gen/servicebroker1/Cargo.toml b/gen/servicebroker1/Cargo.toml index 3a7cce3222..9a3e512953 100644 --- a/gen/servicebroker1/Cargo.toml +++ b/gen/servicebroker1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicebroker1" -version = "2.0.4+20190624" +version = "2.0.5+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Broker (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicebroker1" homepage = "https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker" -documentation = "https://docs.rs/google-servicebroker1/2.0.4+20190624" +documentation = "https://docs.rs/google-servicebroker1/2.0.5+20190624" license = "MIT" keywords = ["servicebroker", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicebroker1/README.md b/gen/servicebroker1/README.md index 4ba3211d6c..d75d30ccdb 100644 --- a/gen/servicebroker1/README.md +++ b/gen/servicebroker1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-servicebroker1` library allows access to all features of the *Google Service Broker* service. -This documentation was generated from *Service Broker* crate version *2.0.4+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Service Broker* crate version *2.0.5+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Service Broker* *v1* API can be found at the [official documentation site](https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/ServiceBroker) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/ServiceBroker) ... -* [get iam policy](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/api::MethodGetIamPolicyCall) -* [set iam policy](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/api::MethodTestIamPermissionCall) +* [get iam policy](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/api::MethodGetIamPolicyCall) +* [set iam policy](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/api::MethodSetIamPolicyCall) +* [test iam permissions](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/api::MethodTestIamPermissionCall) @@ -24,17 +24,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/ServiceBroker)** +* **[Hub](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/ServiceBroker)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Part)** + * **[Parts](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-servicebroker1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Delegate), 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-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::CallBuilder) 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-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Delegate) 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 [encodable](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::RequestValue) and -[decodable](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::RequestValue) and +[decodable](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicebroker1/2.0.4+20190624/google_servicebroker1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::Part) 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-servicebroker1/2.0.4+20190624/google_servicebroker1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::CallBuilder), 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-servicebroker1/2.0.4+20190624/google_servicebroker1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicebroker1/2.0.5+20190624/google_servicebroker1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicebroker1/src/api.rs b/gen/servicebroker1/src/api.rs index 9c15c8810b..204734f28c 100644 --- a/gen/servicebroker1/src/api.rs +++ b/gen/servicebroker1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > ServiceBroker<> { ServiceBroker { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://servicebroker.googleapis.com/".to_string(), _root_url: "https://servicebroker.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ServiceBroker<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicebroker1/src/client.rs b/gen/servicebroker1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/servicebroker1/src/client.rs +++ b/gen/servicebroker1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/servicebroker1/src/lib.rs b/gen/servicebroker1/src/lib.rs index 5c6ab46da7..8b99179585 100644 --- a/gen/servicebroker1/src/lib.rs +++ b/gen/servicebroker1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Broker* crate version *2.0.4+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Service Broker* crate version *2.0.5+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Service Broker* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-servicebroker1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/servicecontrol1-cli/Cargo.toml b/gen/servicecontrol1-cli/Cargo.toml index a36fa77f88..7ee6711c2c 100644 --- a/gen/servicecontrol1-cli/Cargo.toml +++ b/gen/servicecontrol1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicecontrol1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicecontrol1] path = "../servicecontrol1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/servicecontrol1-cli/README.md b/gen/servicecontrol1-cli/README.md index 5f0f7f3056..9ef0dca3e7 100644 --- a/gen/servicecontrol1-cli/README.md +++ b/gen/servicecontrol1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Control* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Service Control* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash servicecontrol1 [options] diff --git a/gen/servicecontrol1-cli/mkdocs.yml b/gen/servicecontrol1-cli/mkdocs.yml index 8f99f57951..6da3cbe222 100644 --- a/gen/servicecontrol1-cli/mkdocs.yml +++ b/gen/servicecontrol1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v2.0.4+20210326 +site_name: Service Control v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-servicecontrol1-cli site_description: A complete library to interact with Service Control (protocol v1) diff --git a/gen/servicecontrol1-cli/src/main.rs b/gen/servicecontrol1-cli/src/main.rs index edf7740bf6..8936d64307 100644 --- a/gen/servicecontrol1-cli/src/main.rs +++ b/gen/servicecontrol1-cli/src/main.rs @@ -496,7 +496,7 @@ async fn main() { let mut app = App::new("servicecontrol1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Provides admission control and telemetry reporting for services integrated with Service Infrastructure. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicecontrol1_cli") .arg(Arg::with_name("url") diff --git a/gen/servicecontrol1/Cargo.toml b/gen/servicecontrol1/Cargo.toml index 37c68ba656..6570ca4962 100644 --- a/gen/servicecontrol1/Cargo.toml +++ b/gen/servicecontrol1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol1" homepage = "https://cloud.google.com/service-control/" -documentation = "https://docs.rs/google-servicecontrol1/2.0.4+20210326" +documentation = "https://docs.rs/google-servicecontrol1/2.0.5+20210326" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicecontrol1/README.md b/gen/servicecontrol1/README.md index 48cb04746c..bf3ae99094 100644 --- a/gen/servicecontrol1/README.md +++ b/gen/servicecontrol1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicecontrol1` library allows access to all features of the *Google Service Control* service. -This documentation was generated from *Service Control* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Service Control* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Service Control* *v1* API can be found at the [official documentation site](https://cloud.google.com/service-control/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/ServiceControl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/ServiceControl) ... * services - * [*allocate quota*](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/api::ServiceAllocateQuotaCall), [*check*](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/api::ServiceReportCall) + * [*allocate quota*](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/api::ServiceAllocateQuotaCall), [*check*](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/api::ServiceReportCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/ServiceControl)** +* **[Hub](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/ServiceControl)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Part)** + * **[Parts](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-servicecontrol1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Delegate), 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-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::CallBuilder) 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-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Delegate) 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 [encodable](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::RequestValue) and -[decodable](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::RequestValue) and +[decodable](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::Part) 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-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::CallBuilder), 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-servicecontrol1/2.0.4+20210326/google_servicecontrol1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicecontrol1/2.0.5+20210326/google_servicecontrol1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicecontrol1/src/api.rs b/gen/servicecontrol1/src/api.rs index d824d7af8c..5be65f618e 100644 --- a/gen/servicecontrol1/src/api.rs +++ b/gen/servicecontrol1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > ServiceControl<> { ServiceControl { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://servicecontrol.googleapis.com/".to_string(), _root_url: "https://servicecontrol.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > ServiceControl<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicecontrol1/src/client.rs b/gen/servicecontrol1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/servicecontrol1/src/client.rs +++ b/gen/servicecontrol1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/servicecontrol1/src/lib.rs b/gen/servicecontrol1/src/lib.rs index 3792b8a8ce..136b4fb67c 100644 --- a/gen/servicecontrol1/src/lib.rs +++ b/gen/servicecontrol1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Control* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Service Control* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Service Control* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-servicecontrol1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/servicecontrol2-cli/Cargo.toml b/gen/servicecontrol2-cli/Cargo.toml index 9c0d9e2d05..b15155f81b 100644 --- a/gen/servicecontrol2-cli/Cargo.toml +++ b/gen/servicecontrol2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicecontrol2-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicecontrol2] path = "../servicecontrol2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/servicecontrol2-cli/README.md b/gen/servicecontrol2-cli/README.md index bc308e42d8..a87c1590a4 100644 --- a/gen/servicecontrol2-cli/README.md +++ b/gen/servicecontrol2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Control* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Service Control* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash servicecontrol2 [options] diff --git a/gen/servicecontrol2-cli/mkdocs.yml b/gen/servicecontrol2-cli/mkdocs.yml index bc3547f21a..b52dfd9b10 100644 --- a/gen/servicecontrol2-cli/mkdocs.yml +++ b/gen/servicecontrol2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v2.0.4+20210326 +site_name: Service Control v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-servicecontrol2-cli site_description: A complete library to interact with Service Control (protocol v2) diff --git a/gen/servicecontrol2-cli/src/main.rs b/gen/servicecontrol2-cli/src/main.rs index 638ab498b3..529bc72283 100644 --- a/gen/servicecontrol2-cli/src/main.rs +++ b/gen/servicecontrol2-cli/src/main.rs @@ -416,7 +416,7 @@ async fn main() { let mut app = App::new("servicecontrol2") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Provides admission control and telemetry reporting for services integrated with Service Infrastructure. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicecontrol2_cli") .arg(Arg::with_name("url") diff --git a/gen/servicecontrol2/Cargo.toml b/gen/servicecontrol2/Cargo.toml index 040652dcf0..b8bd481993 100644 --- a/gen/servicecontrol2/Cargo.toml +++ b/gen/servicecontrol2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol2" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol2" homepage = "https://cloud.google.com/service-control/" -documentation = "https://docs.rs/google-servicecontrol2/2.0.4+20210326" +documentation = "https://docs.rs/google-servicecontrol2/2.0.5+20210326" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicecontrol2/README.md b/gen/servicecontrol2/README.md index b4a2a67b79..d543b1a142 100644 --- a/gen/servicecontrol2/README.md +++ b/gen/servicecontrol2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicecontrol2` library allows access to all features of the *Google Service Control* service. -This documentation was generated from *Service Control* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Service Control* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Service Control* *v2* API can be found at the [official documentation site](https://cloud.google.com/service-control/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/ServiceControl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/ServiceControl) ... * services - * [*check*](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/api::ServiceReportCall) + * [*check*](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/api::ServiceReportCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/ServiceControl)** +* **[Hub](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/ServiceControl)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Part)** + * **[Parts](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-servicecontrol2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Delegate), 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-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::CallBuilder) 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-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Delegate) 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 [encodable](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::RequestValue) and -[decodable](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::RequestValue) and +[decodable](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::Part) 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-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::CallBuilder), 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-servicecontrol2/2.0.4+20210326/google_servicecontrol2/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicecontrol2/2.0.5+20210326/google_servicecontrol2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicecontrol2/src/api.rs b/gen/servicecontrol2/src/api.rs index ea2de6a7f3..cec3b39135 100644 --- a/gen/servicecontrol2/src/api.rs +++ b/gen/servicecontrol2/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > ServiceControl<> { ServiceControl { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://servicecontrol.googleapis.com/".to_string(), _root_url: "https://servicecontrol.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > ServiceControl<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicecontrol2/src/client.rs b/gen/servicecontrol2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/servicecontrol2/src/client.rs +++ b/gen/servicecontrol2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/servicecontrol2/src/lib.rs b/gen/servicecontrol2/src/lib.rs index bee96cd7c8..a1edb643ef 100644 --- a/gen/servicecontrol2/src/lib.rs +++ b/gen/servicecontrol2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Control* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Service Control* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Service Control* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-servicecontrol2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/servicedirectory1-cli/Cargo.toml b/gen/servicedirectory1-cli/Cargo.toml index 5ae29e6426..9a98146b08 100644 --- a/gen/servicedirectory1-cli/Cargo.toml +++ b/gen/servicedirectory1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicedirectory1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicedirectory1] path = "../servicedirectory1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/servicedirectory1-cli/README.md b/gen/servicedirectory1-cli/README.md index 5fd69a658e..cf982c4c98 100644 --- a/gen/servicedirectory1-cli/README.md +++ b/gen/servicedirectory1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Directory* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Service Directory* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash servicedirectory1 [options] diff --git a/gen/servicedirectory1-cli/mkdocs.yml b/gen/servicedirectory1-cli/mkdocs.yml index 8d1afcf27b..5b8698e526 100644 --- a/gen/servicedirectory1-cli/mkdocs.yml +++ b/gen/servicedirectory1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Directory v2.0.4+20210316 +site_name: Service Directory v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-servicedirectory1-cli site_description: A complete library to interact with Service Directory (protocol v1) diff --git a/gen/servicedirectory1-cli/src/main.rs b/gen/servicedirectory1-cli/src/main.rs index 8d059e1cd6..bb02daa01a 100644 --- a/gen/servicedirectory1-cli/src/main.rs +++ b/gen/servicedirectory1-cli/src/main.rs @@ -2573,7 +2573,7 @@ async fn main() { let mut app = App::new("servicedirectory1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("Service Directory is a platform for discovering, publishing, and connecting services. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicedirectory1_cli") .arg(Arg::with_name("url") diff --git a/gen/servicedirectory1/Cargo.toml b/gen/servicedirectory1/Cargo.toml index 5176dc6fb3..2d17150e92 100644 --- a/gen/servicedirectory1/Cargo.toml +++ b/gen/servicedirectory1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicedirectory1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1" homepage = "https://cloud.google.com/service-directory" -documentation = "https://docs.rs/google-servicedirectory1/2.0.4+20210316" +documentation = "https://docs.rs/google-servicedirectory1/2.0.5+20210316" license = "MIT" keywords = ["servicedirectory", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicedirectory1/README.md b/gen/servicedirectory1/README.md index 2d706f46bb..c08839ea52 100644 --- a/gen/servicedirectory1/README.md +++ b/gen/servicedirectory1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicedirectory1` library allows access to all features of the *Google Service Directory* service. -This documentation was generated from *Service Directory* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Service Directory* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Service Directory* *v1* API can be found at the [official documentation site](https://cloud.google.com/service-directory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/ServiceDirectory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/ServiceDirectory) ... * projects - * [*locations get*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/api::ProjectLocationNamespaceTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/api::ProjectLocationNamespaceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/ServiceDirectory)** +* **[Hub](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/ServiceDirectory)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Part)** + * **[Parts](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-servicedirectory1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Delegate), 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-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::CallBuilder) 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-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Delegate) 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 [encodable](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::RequestValue) and -[decodable](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::RequestValue) and +[decodable](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::Part) 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-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::CallBuilder), 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-servicedirectory1/2.0.4+20210316/google_servicedirectory1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicedirectory1/2.0.5+20210316/google_servicedirectory1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicedirectory1/src/api.rs b/gen/servicedirectory1/src/api.rs index 7db5fb6e91..040ff08a22 100644 --- a/gen/servicedirectory1/src/api.rs +++ b/gen/servicedirectory1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > ServiceDirectory<> { ServiceDirectory { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://servicedirectory.googleapis.com/".to_string(), _root_url: "https://servicedirectory.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ServiceDirectory<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicedirectory1/src/client.rs b/gen/servicedirectory1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/servicedirectory1/src/client.rs +++ b/gen/servicedirectory1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/servicedirectory1/src/lib.rs b/gen/servicedirectory1/src/lib.rs index c4ac438f88..ebcd6c3c52 100644 --- a/gen/servicedirectory1/src/lib.rs +++ b/gen/servicedirectory1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Directory* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Service Directory* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Service Directory* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-directory). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-servicedirectory1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/servicedirectory1_beta1-cli/Cargo.toml b/gen/servicedirectory1_beta1-cli/Cargo.toml index bf67180cbd..41c2764290 100644 --- a/gen/servicedirectory1_beta1-cli/Cargo.toml +++ b/gen/servicedirectory1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicedirectory1_beta1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicedirectory1_beta1] path = "../servicedirectory1_beta1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/servicedirectory1_beta1-cli/README.md b/gen/servicedirectory1_beta1-cli/README.md index 7fb7612a9d..ae32a3aca8 100644 --- a/gen/servicedirectory1_beta1-cli/README.md +++ b/gen/servicedirectory1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Directory* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Service Directory* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash servicedirectory1-beta1 [options] diff --git a/gen/servicedirectory1_beta1-cli/mkdocs.yml b/gen/servicedirectory1_beta1-cli/mkdocs.yml index 1b3d6c2cd1..12b4314743 100644 --- a/gen/servicedirectory1_beta1-cli/mkdocs.yml +++ b/gen/servicedirectory1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Directory v2.0.4+20210316 +site_name: Service Directory v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-servicedirectory1_beta1-cli site_description: A complete library to interact with Service Directory (protocol v1beta1) diff --git a/gen/servicedirectory1_beta1-cli/src/main.rs b/gen/servicedirectory1_beta1-cli/src/main.rs index 009d95b2ca..2e2bfe5281 100644 --- a/gen/servicedirectory1_beta1-cli/src/main.rs +++ b/gen/servicedirectory1_beta1-cli/src/main.rs @@ -2573,7 +2573,7 @@ async fn main() { let mut app = App::new("servicedirectory1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("Service Directory is a platform for discovering, publishing, and connecting services. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicedirectory1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/servicedirectory1_beta1/Cargo.toml b/gen/servicedirectory1_beta1/Cargo.toml index 08276893b1..4b84045ae6 100644 --- a/gen/servicedirectory1_beta1/Cargo.toml +++ b/gen/servicedirectory1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicedirectory1_beta1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1_beta1" homepage = "https://cloud.google.com/service-directory" -documentation = "https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316" +documentation = "https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316" license = "MIT" keywords = ["servicedirectory", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/servicedirectory1_beta1/README.md b/gen/servicedirectory1_beta1/README.md index 9c4405aafe..dccd5d7a5f 100644 --- a/gen/servicedirectory1_beta1/README.md +++ b/gen/servicedirectory1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicedirectory1_beta1` library allows access to all features of the *Google Service Directory* service. -This documentation was generated from *Service Directory* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Service Directory* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Service Directory* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/service-directory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/ServiceDirectory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/ServiceDirectory) ... * projects - * [*locations get*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/api::ProjectLocationNamespaceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/ServiceDirectory)** +* **[Hub](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/ServiceDirectory)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-servicedirectory1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Delegate), 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-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::CallBuilder) 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-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::Part) 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-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::CallBuilder), 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-servicedirectory1_beta1/2.0.4+20210316/google_servicedirectory1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicedirectory1_beta1/2.0.5+20210316/google_servicedirectory1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicedirectory1_beta1/src/api.rs b/gen/servicedirectory1_beta1/src/api.rs index 74de4c7518..171830536c 100644 --- a/gen/servicedirectory1_beta1/src/api.rs +++ b/gen/servicedirectory1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > ServiceDirectory<> { ServiceDirectory { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://servicedirectory.googleapis.com/".to_string(), _root_url: "https://servicedirectory.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ServiceDirectory<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/servicedirectory1_beta1/src/client.rs b/gen/servicedirectory1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/servicedirectory1_beta1/src/client.rs +++ b/gen/servicedirectory1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/servicedirectory1_beta1/src/lib.rs b/gen/servicedirectory1_beta1/src/lib.rs index 0a925e71e9..775edd0489 100644 --- a/gen/servicedirectory1_beta1/src/lib.rs +++ b/gen/servicedirectory1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Directory* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Service Directory* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Service Directory* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/service-directory). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-servicedirectory1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/serviceregistryalpha-cli/Cargo.toml b/gen/serviceregistryalpha-cli/Cargo.toml index 8e07ac9b11..b34e7e69cd 100644 --- a/gen/serviceregistryalpha-cli/Cargo.toml +++ b/gen/serviceregistryalpha-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-serviceregistryalpha-cli" -version = "2.0.4+20160401" +version = "2.0.5+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/serviceregistryalpha-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-serviceregistryalpha] path = "../serviceregistryalpha" -version = "2.0.4+20160401" +version = "2.0.5+20160401" diff --git a/gen/serviceregistryalpha-cli/README.md b/gen/serviceregistryalpha-cli/README.md index c9516fe8fb..1e46df2a79 100644 --- a/gen/serviceregistryalpha-cli/README.md +++ b/gen/serviceregistryalpha-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *2.0.4*. +This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *2.0.5*. ```bash serviceregistryalpha [options] diff --git a/gen/serviceregistryalpha-cli/mkdocs.yml b/gen/serviceregistryalpha-cli/mkdocs.yml index a54e93d9f4..6638e1940d 100644 --- a/gen/serviceregistryalpha-cli/mkdocs.yml +++ b/gen/serviceregistryalpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Registry v2.0.4+20160401 +site_name: Service Registry v2.0.5+20160401 site_url: http://byron.github.io/google-apis-rs/google-serviceregistryalpha-cli site_description: A complete library to interact with Service Registry (protocol alpha) diff --git a/gen/serviceregistryalpha-cli/src/main.rs b/gen/serviceregistryalpha-cli/src/main.rs index 780e6e5280..cbc968c8d2 100644 --- a/gen/serviceregistryalpha-cli/src/main.rs +++ b/gen/serviceregistryalpha-cli/src/main.rs @@ -956,7 +956,7 @@ async fn main() { let mut app = App::new("serviceregistryalpha") .author("Sebastian Thiel ") - .version("2.0.4+20160401") + .version("2.0.5+20160401") .about("Manages service endpoints in Service Registry and provides integration with DNS for service discovery and name resolution.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_serviceregistryalpha_cli") .arg(Arg::with_name("url") diff --git a/gen/serviceregistryalpha/Cargo.toml b/gen/serviceregistryalpha/Cargo.toml index af90e326ff..81e306521d 100644 --- a/gen/serviceregistryalpha/Cargo.toml +++ b/gen/serviceregistryalpha/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-serviceregistryalpha" -version = "2.0.4+20160401" +version = "2.0.5+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/serviceregistryalpha" homepage = "https://developers.google.com/cloud-serviceregistry/" -documentation = "https://docs.rs/google-serviceregistryalpha/2.0.4+20160401" +documentation = "https://docs.rs/google-serviceregistryalpha/2.0.5+20160401" license = "MIT" keywords = ["serviceregistry", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/serviceregistryalpha/README.md b/gen/serviceregistryalpha/README.md index 6c7323cb12..8be4d274f4 100644 --- a/gen/serviceregistryalpha/README.md +++ b/gen/serviceregistryalpha/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-serviceregistryalpha` library allows access to all features of the *Google Service Registry* service. -This documentation was generated from *Service Registry* crate version *2.0.4+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Service Registry* crate version *2.0.5+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Service Registry* *alpha* API can be found at the [official documentation site](https://developers.google.com/cloud-serviceregistry/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/ServiceRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/ServiceRegistry) ... -* [endpoints](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::Endpoint) - * [*delete*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::EndpointDeleteCall), [*get*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::EndpointGetCall), [*insert*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::EndpointInsertCall), [*list*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::EndpointListCall), [*patch*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::EndpointPatchCall) and [*update*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::EndpointUpdateCall) -* [operations](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::Operation) - * [*get*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::OperationGetCall) and [*list*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/api::OperationListCall) +* [endpoints](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::Endpoint) + * [*delete*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::EndpointDeleteCall), [*get*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::EndpointGetCall), [*insert*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::EndpointInsertCall), [*list*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::EndpointListCall), [*patch*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::EndpointPatchCall) and [*update*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::EndpointUpdateCall) +* [operations](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::Operation) + * [*get*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::OperationGetCall) and [*list*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/api::OperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/ServiceRegistry)** +* **[Hub](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/ServiceRegistry)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::CallBuilder) -* **[Resources](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::CallBuilder) +* **[Resources](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Part)** + * **[Parts](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::CallBuilder)** +* **[Activities](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-serviceregistryalpha = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Delegate) to the -[Method Builder](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Delegate) to the +[Method Builder](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Delegate) 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 [encodable](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::RequestValue) and -[decodable](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::RequestValue) and +[decodable](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-serviceregistryalpha/2.0.4+20160401/google_serviceregistryalpha/client::RequestValue) are moved +* [request values](https://docs.rs/google-serviceregistryalpha/2.0.5+20160401/google_serviceregistryalpha/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/serviceregistryalpha/src/api.rs b/gen/serviceregistryalpha/src/api.rs index 3c59697a1c..e03131201f 100644 --- a/gen/serviceregistryalpha/src/api.rs +++ b/gen/serviceregistryalpha/src/api.rs @@ -130,7 +130,7 @@ impl<'a, > ServiceRegistry<> { ServiceRegistry { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/serviceregistry/alpha/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > ServiceRegistry<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/serviceregistryalpha/src/client.rs b/gen/serviceregistryalpha/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/serviceregistryalpha/src/client.rs +++ b/gen/serviceregistryalpha/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/serviceregistryalpha/src/lib.rs b/gen/serviceregistryalpha/src/lib.rs index eca81befcc..917de40951 100644 --- a/gen/serviceregistryalpha/src/lib.rs +++ b/gen/serviceregistryalpha/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Registry* crate version *2.0.4+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Service Registry* crate version *2.0.5+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Service Registry* *alpha* API can be found at the //! [official documentation site](https://developers.google.com/cloud-serviceregistry/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-serviceregistryalpha = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/sheets4-cli/Cargo.toml b/gen/sheets4-cli/Cargo.toml index 5316d3f64b..40aae26ec2 100644 --- a/gen/sheets4-cli/Cargo.toml +++ b/gen/sheets4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sheets4-cli" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Sheets (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sheets4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sheets4] path = "../sheets4" -version = "2.0.4+20210322" +version = "2.0.5+20210322" diff --git a/gen/sheets4-cli/README.md b/gen/sheets4-cli/README.md index 90b325d956..e85e8f4201 100644 --- a/gen/sheets4-cli/README.md +++ b/gen/sheets4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Sheets* API at revision *20210322*. The CLI is at version *2.0.4*. +This documentation was generated from the *Sheets* API at revision *20210322*. The CLI is at version *2.0.5*. ```bash sheets4 [options] diff --git a/gen/sheets4-cli/mkdocs.yml b/gen/sheets4-cli/mkdocs.yml index fc77f25b33..edf6872e41 100644 --- a/gen/sheets4-cli/mkdocs.yml +++ b/gen/sheets4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Sheets v2.0.4+20210322 +site_name: Sheets v2.0.5+20210322 site_url: http://byron.github.io/google-apis-rs/google-sheets4-cli site_description: A complete library to interact with Sheets (protocol v4) diff --git a/gen/sheets4-cli/src/main.rs b/gen/sheets4-cli/src/main.rs index 6c08b09385..15c9613e43 100644 --- a/gen/sheets4-cli/src/main.rs +++ b/gen/sheets4-cli/src/main.rs @@ -2138,7 +2138,7 @@ async fn main() { let mut app = App::new("sheets4") .author("Sebastian Thiel ") - .version("2.0.4+20210322") + .version("2.0.5+20210322") .about("Reads and writes Google Sheets.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sheets4_cli") .arg(Arg::with_name("url") diff --git a/gen/sheets4/Cargo.toml b/gen/sheets4/Cargo.toml index 32c8b8e6db..a445d65850 100644 --- a/gen/sheets4/Cargo.toml +++ b/gen/sheets4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sheets4" -version = "2.0.4+20210322" +version = "2.0.5+20210322" authors = ["Sebastian Thiel "] description = "A complete library to interact with Sheets (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sheets4" homepage = "https://developers.google.com/sheets/" -documentation = "https://docs.rs/google-sheets4/2.0.4+20210322" +documentation = "https://docs.rs/google-sheets4/2.0.5+20210322" license = "MIT" keywords = ["sheets", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sheets4/README.md b/gen/sheets4/README.md index 60cd641c4d..149216b0a1 100644 --- a/gen/sheets4/README.md +++ b/gen/sheets4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-sheets4` library allows access to all features of the *Google Sheets* service. -This documentation was generated from *Sheets* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Sheets* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Sheets* *v4* API can be found at the [official documentation site](https://developers.google.com/sheets/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/Sheets) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/Sheets) ... -* [spreadsheets](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::Spreadsheet) - * [*batch update*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetBatchUpdateCall), [*create*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetCreateCall), [*developer metadata get*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetDeveloperMetadataGetCall), [*developer metadata search*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetDeveloperMetadataSearchCall), [*get*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetGetCall), [*get by data filter*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetGetByDataFilterCall), [*sheets copy to*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetSheetCopyToCall), [*values append*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueAppendCall), [*values batch clear*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueBatchClearCall), [*values batch clear by data filter*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueBatchClearByDataFilterCall), [*values batch get*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueBatchGetCall), [*values batch get by data filter*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueBatchGetByDataFilterCall), [*values batch update*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueBatchUpdateCall), [*values batch update by data filter*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueBatchUpdateByDataFilterCall), [*values clear*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueClearCall), [*values get*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueGetCall) and [*values update*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/api::SpreadsheetValueUpdateCall) +* [spreadsheets](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::Spreadsheet) + * [*batch update*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetBatchUpdateCall), [*create*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetCreateCall), [*developer metadata get*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetDeveloperMetadataGetCall), [*developer metadata search*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetDeveloperMetadataSearchCall), [*get*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetGetCall), [*get by data filter*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetGetByDataFilterCall), [*sheets copy to*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetSheetCopyToCall), [*values append*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueAppendCall), [*values batch clear*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueBatchClearCall), [*values batch clear by data filter*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueBatchClearByDataFilterCall), [*values batch get*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueBatchGetCall), [*values batch get by data filter*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueBatchGetByDataFilterCall), [*values batch update*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueBatchUpdateCall), [*values batch update by data filter*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueBatchUpdateByDataFilterCall), [*values clear*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueClearCall), [*values get*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueGetCall) and [*values update*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/api::SpreadsheetValueUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/Sheets)** +* **[Hub](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/Sheets)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::CallBuilder) +* **[Resources](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Part)** + * **[Parts](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -80,9 +80,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-sheets4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -153,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Delegate), 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-sheets4/2.0.4+20210322/google_sheets4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Delegate) to the +[Method Builder](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::CallBuilder) 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-sheets4/2.0.4+20210322/google_sheets4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Delegate) 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 [encodable](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::RequestValue) and -[decodable](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::RequestValue) and +[decodable](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sheets4/2.0.4+20210322/google_sheets4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::Part) 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-sheets4/2.0.4+20210322/google_sheets4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::CallBuilder), 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-sheets4/2.0.4+20210322/google_sheets4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sheets4/2.0.5+20210322/google_sheets4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sheets4/src/api.rs b/gen/sheets4/src/api.rs index 05b2bde199..5f51a8fa19 100644 --- a/gen/sheets4/src/api.rs +++ b/gen/sheets4/src/api.rs @@ -141,7 +141,7 @@ impl<'a, > Sheets<> { Sheets { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://sheets.googleapis.com/".to_string(), _root_url: "https://sheets.googleapis.com/".to_string(), } @@ -152,7 +152,7 @@ impl<'a, > Sheets<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sheets4/src/client.rs b/gen/sheets4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/sheets4/src/client.rs +++ b/gen/sheets4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/sheets4/src/lib.rs b/gen/sheets4/src/lib.rs index 963f055b9f..c4f83dd658 100644 --- a/gen/sheets4/src/lib.rs +++ b/gen/sheets4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Sheets* crate version *2.0.4+20210322*, where *20210322* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Sheets* crate version *2.0.5+20210322*, where *20210322* is the exact revision of the *sheets:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Sheets* *v4* API can be found at the //! [official documentation site](https://developers.google.com/sheets/). @@ -80,9 +80,6 @@ //! ```toml //! [dependencies] //! google-sheets4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/siteverification1-cli/Cargo.toml b/gen/siteverification1-cli/Cargo.toml index a74b836089..d851510df5 100644 --- a/gen/siteverification1-cli/Cargo.toml +++ b/gen/siteverification1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-siteverification1-cli" -version = "2.0.4+20191119" +version = "2.0.5+20191119" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/siteverification1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-siteverification1] path = "../siteverification1" -version = "2.0.4+20191119" +version = "2.0.5+20191119" diff --git a/gen/siteverification1-cli/README.md b/gen/siteverification1-cli/README.md index 51c589152b..ed69dda0cd 100644 --- a/gen/siteverification1-cli/README.md +++ b/gen/siteverification1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *siteVerification* API at revision *20191119*. The CLI is at version *2.0.4*. +This documentation was generated from the *siteVerification* API at revision *20191119*. The CLI is at version *2.0.5*. ```bash siteverification1 [options] diff --git a/gen/siteverification1-cli/mkdocs.yml b/gen/siteverification1-cli/mkdocs.yml index 5fde4db103..1989526c3b 100644 --- a/gen/siteverification1-cli/mkdocs.yml +++ b/gen/siteverification1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: siteVerification v2.0.4+20191119 +site_name: siteVerification v2.0.5+20191119 site_url: http://byron.github.io/google-apis-rs/google-siteverification1-cli site_description: A complete library to interact with siteVerification (protocol v1) diff --git a/gen/siteverification1-cli/src/main.rs b/gen/siteverification1-cli/src/main.rs index 5321bd869e..e8c3eaddb9 100644 --- a/gen/siteverification1-cli/src/main.rs +++ b/gen/siteverification1-cli/src/main.rs @@ -809,7 +809,7 @@ async fn main() { let mut app = App::new("siteverification1") .author("Sebastian Thiel ") - .version("2.0.4+20191119") + .version("2.0.5+20191119") .about("Verifies ownership of websites or domains with Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_siteverification1_cli") .arg(Arg::with_name("url") diff --git a/gen/siteverification1/Cargo.toml b/gen/siteverification1/Cargo.toml index 6fe820f5da..2423fa251d 100644 --- a/gen/siteverification1/Cargo.toml +++ b/gen/siteverification1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-siteverification1" -version = "2.0.4+20191119" +version = "2.0.5+20191119" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/siteverification1" homepage = "https://developers.google.com/site-verification/" -documentation = "https://docs.rs/google-siteverification1/2.0.4+20191119" +documentation = "https://docs.rs/google-siteverification1/2.0.5+20191119" license = "MIT" keywords = ["siteVerification", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/siteverification1/README.md b/gen/siteverification1/README.md index 6d83843daa..6f8cb441bd 100644 --- a/gen/siteverification1/README.md +++ b/gen/siteverification1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-siteverification1` library allows access to all features of the *Google siteVerification* service. -This documentation was generated from *siteVerification* crate version *2.0.4+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *siteVerification* crate version *2.0.5+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *siteVerification* *v1* API can be found at the [official documentation site](https://developers.google.com/site-verification/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/SiteVerification) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/SiteVerification) ... * web resource - * [*delete*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourceDeleteCall), [*get*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourceGetCall), [*get token*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourceGetTokenCall), [*insert*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourceInsertCall), [*list*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourceListCall), [*patch*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourcePatchCall) and [*update*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/api::WebResourceUpdateCall) + * [*delete*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourceDeleteCall), [*get*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourceGetCall), [*get token*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourceGetTokenCall), [*insert*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourceInsertCall), [*list*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourceListCall), [*patch*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourcePatchCall) and [*update*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/api::WebResourceUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/SiteVerification)** +* **[Hub](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/SiteVerification)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::CallBuilder) -* **[Resources](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::CallBuilder) +* **[Resources](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Part)** + * **[Parts](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-siteverification1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -135,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Delegate) to the -[Method Builder](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Delegate) to the +[Method Builder](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Delegate) 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 [encodable](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::RequestValue) and -[decodable](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::RequestValue) and +[decodable](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-siteverification1/2.0.4+20191119/google_siteverification1/client::RequestValue) are moved +* [request values](https://docs.rs/google-siteverification1/2.0.5+20191119/google_siteverification1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/siteverification1/src/api.rs b/gen/siteverification1/src/api.rs index ff8510e621..dbdd7c8f5a 100644 --- a/gen/siteverification1/src/api.rs +++ b/gen/siteverification1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > SiteVerification<> { SiteVerification { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/siteVerification/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > SiteVerification<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/siteverification1/src/client.rs b/gen/siteverification1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/siteverification1/src/client.rs +++ b/gen/siteverification1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/siteverification1/src/lib.rs b/gen/siteverification1/src/lib.rs index 18a460e56d..babc531412 100644 --- a/gen/siteverification1/src/lib.rs +++ b/gen/siteverification1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *siteVerification* crate version *2.0.4+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *siteVerification* crate version *2.0.5+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *siteVerification* *v1* API can be found at the //! [official documentation site](https://developers.google.com/site-verification/). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-siteverification1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/smartdevicemanagement1-cli/Cargo.toml b/gen/smartdevicemanagement1-cli/Cargo.toml index 48bb702fa1..cbce279e07 100644 --- a/gen/smartdevicemanagement1-cli/Cargo.toml +++ b/gen/smartdevicemanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-smartdevicemanagement1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Smart Device Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/smartdevicemanagement1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-smartdevicemanagement1] path = "../smartdevicemanagement1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/smartdevicemanagement1-cli/README.md b/gen/smartdevicemanagement1-cli/README.md index 0eab8bf483..bcf7dd9291 100644 --- a/gen/smartdevicemanagement1-cli/README.md +++ b/gen/smartdevicemanagement1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Smart Device Management* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Smart Device Management* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash smartdevicemanagement1 [options] diff --git a/gen/smartdevicemanagement1-cli/mkdocs.yml b/gen/smartdevicemanagement1-cli/mkdocs.yml index 4c4a73adaa..6785ae3c27 100644 --- a/gen/smartdevicemanagement1-cli/mkdocs.yml +++ b/gen/smartdevicemanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Smart Device Management v2.0.4+20210319 +site_name: Smart Device Management v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-smartdevicemanagement1-cli site_description: A complete library to interact with Smart Device Management (protocol v1) diff --git a/gen/smartdevicemanagement1-cli/src/main.rs b/gen/smartdevicemanagement1-cli/src/main.rs index d75b41cd19..74785a8b77 100644 --- a/gen/smartdevicemanagement1-cli/src/main.rs +++ b/gen/smartdevicemanagement1-cli/src/main.rs @@ -737,7 +737,7 @@ async fn main() { let mut app = App::new("smartdevicemanagement1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Allow select enterprise partners to access, control, and manage Google and Nest devices programmatically.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_smartdevicemanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/smartdevicemanagement1/Cargo.toml b/gen/smartdevicemanagement1/Cargo.toml index f87f81b4e9..242394ffdd 100644 --- a/gen/smartdevicemanagement1/Cargo.toml +++ b/gen/smartdevicemanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-smartdevicemanagement1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Smart Device Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/smartdevicemanagement1" homepage = "https://developers.google.com/nest/device-access" -documentation = "https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319" +documentation = "https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319" license = "MIT" keywords = ["smartdevicemanagemen", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/smartdevicemanagement1/README.md b/gen/smartdevicemanagement1/README.md index b53296a79f..8529c5ede0 100644 --- a/gen/smartdevicemanagement1/README.md +++ b/gen/smartdevicemanagement1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-smartdevicemanagement1` library allows access to all features of the *Google Smart Device Management* service. -This documentation was generated from *Smart Device Management* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Smart Device Management* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Smart Device Management* *v1* API can be found at the [official documentation site](https://developers.google.com/nest/device-access). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/SmartDeviceManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/SmartDeviceManagement) ... * enterprises - * [*devices execute command*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceExecuteCommandCall), [*devices get*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceGetCall), [*devices list*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceListCall), [*structures get*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseStructureGetCall), [*structures list*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseStructureListCall), [*structures rooms get*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseStructureRoomGetCall) and [*structures rooms list*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/api::EnterpriseStructureRoomListCall) + * [*devices execute command*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceExecuteCommandCall), [*devices get*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceGetCall), [*devices list*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseDeviceListCall), [*structures get*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseStructureGetCall), [*structures list*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseStructureListCall), [*structures rooms get*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseStructureRoomGetCall) and [*structures rooms list*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/api::EnterpriseStructureRoomListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/SmartDeviceManagement)** +* **[Hub](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/SmartDeviceManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Part)** + * **[Parts](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-smartdevicemanagement1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -126,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Delegate), 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-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::CallBuilder) 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-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Delegate) 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 [encodable](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::Part) 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-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::CallBuilder), 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-smartdevicemanagement1/2.0.4+20210319/google_smartdevicemanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-smartdevicemanagement1/2.0.5+20210319/google_smartdevicemanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/smartdevicemanagement1/src/api.rs b/gen/smartdevicemanagement1/src/api.rs index 6548a60567..bfeb537378 100644 --- a/gen/smartdevicemanagement1/src/api.rs +++ b/gen/smartdevicemanagement1/src/api.rs @@ -114,7 +114,7 @@ impl<'a, > SmartDeviceManagement<> { SmartDeviceManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://smartdevicemanagement.googleapis.com/".to_string(), _root_url: "https://smartdevicemanagement.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > SmartDeviceManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/smartdevicemanagement1/src/client.rs b/gen/smartdevicemanagement1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/smartdevicemanagement1/src/client.rs +++ b/gen/smartdevicemanagement1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/smartdevicemanagement1/src/lib.rs b/gen/smartdevicemanagement1/src/lib.rs index 7486d25a7d..78eb0942c2 100644 --- a/gen/smartdevicemanagement1/src/lib.rs +++ b/gen/smartdevicemanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Smart Device Management* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Smart Device Management* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Smart Device Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/nest/device-access). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-smartdevicemanagement1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/sourcerepo1-cli/Cargo.toml b/gen/sourcerepo1-cli/Cargo.toml index db2a6b2871..9ba43947ea 100644 --- a/gen/sourcerepo1-cli/Cargo.toml +++ b/gen/sourcerepo1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sourcerepo1-cli" -version = "2.0.4+20210125" +version = "2.0.5+20210125" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Source Repositories (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sourcerepo1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sourcerepo1] path = "../sourcerepo1" -version = "2.0.4+20210125" +version = "2.0.5+20210125" diff --git a/gen/sourcerepo1-cli/README.md b/gen/sourcerepo1-cli/README.md index efe3424219..e411483e60 100644 --- a/gen/sourcerepo1-cli/README.md +++ b/gen/sourcerepo1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Source Repositories* API at revision *20210125*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Source Repositories* API at revision *20210125*. The CLI is at version *2.0.5*. ```bash sourcerepo1 [options] diff --git a/gen/sourcerepo1-cli/mkdocs.yml b/gen/sourcerepo1-cli/mkdocs.yml index a18cf91365..c6bebaeea2 100644 --- a/gen/sourcerepo1-cli/mkdocs.yml +++ b/gen/sourcerepo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Source Repositories v2.0.4+20210125 +site_name: Cloud Source Repositories v2.0.5+20210125 site_url: http://byron.github.io/google-apis-rs/google-sourcerepo1-cli site_description: A complete library to interact with Cloud Source Repositories (protocol v1) diff --git a/gen/sourcerepo1-cli/src/main.rs b/gen/sourcerepo1-cli/src/main.rs index ff93508f1d..867bc17c7b 100644 --- a/gen/sourcerepo1-cli/src/main.rs +++ b/gen/sourcerepo1-cli/src/main.rs @@ -1238,7 +1238,7 @@ async fn main() { let mut app = App::new("sourcerepo1") .author("Sebastian Thiel ") - .version("2.0.4+20210125") + .version("2.0.5+20210125") .about("Accesses source code repositories hosted by Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sourcerepo1_cli") .arg(Arg::with_name("url") diff --git a/gen/sourcerepo1/Cargo.toml b/gen/sourcerepo1/Cargo.toml index 2f1d546311..877115720d 100644 --- a/gen/sourcerepo1/Cargo.toml +++ b/gen/sourcerepo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sourcerepo1" -version = "2.0.4+20210125" +version = "2.0.5+20210125" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Source Repositories (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sourcerepo1" homepage = "https://cloud.google.com/source-repositories/docs/apis" -documentation = "https://docs.rs/google-sourcerepo1/2.0.4+20210125" +documentation = "https://docs.rs/google-sourcerepo1/2.0.5+20210125" license = "MIT" keywords = ["sourcerepo", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sourcerepo1/README.md b/gen/sourcerepo1/README.md index 8ce7514513..a771085671 100644 --- a/gen/sourcerepo1/README.md +++ b/gen/sourcerepo1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-sourcerepo1` library allows access to all features of the *Google Cloud Source Repositories* service. -This documentation was generated from *Cloud Source Repositories* crate version *2.0.4+20210125*, where *20210125* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Source Repositories* crate version *2.0.5+20210125*, where *20210125* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Source Repositories* *v1* API can be found at the [official documentation site](https://cloud.google.com/source-repositories/docs/apis). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/CloudSourceRepositories) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/CloudSourceRepositories) ... * projects - * [*get config*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectGetConfigCall), [*repos create*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoCreateCall), [*repos delete*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoDeleteCall), [*repos get*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoGetCall), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoGetIamPolicyCall), [*repos list*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoListCall), [*repos patch*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoPatchCall), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoSetIamPolicyCall), [*repos sync*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoSyncCall), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectRepoTestIamPermissionCall) and [*update config*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/api::ProjectUpdateConfigCall) + * [*get config*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectGetConfigCall), [*repos create*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoCreateCall), [*repos delete*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoDeleteCall), [*repos get*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoGetCall), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoGetIamPolicyCall), [*repos list*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoListCall), [*repos patch*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoPatchCall), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoSetIamPolicyCall), [*repos sync*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoSyncCall), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectRepoTestIamPermissionCall) and [*update config*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/api::ProjectUpdateConfigCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/CloudSourceRepositories)** +* **[Hub](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/CloudSourceRepositories)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Part)** + * **[Parts](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-sourcerepo1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Delegate), 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-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::CallBuilder) 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-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Delegate) 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 [encodable](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::RequestValue) and -[decodable](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::RequestValue) and +[decodable](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::Part) 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-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::CallBuilder), 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-sourcerepo1/2.0.4+20210125/google_sourcerepo1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sourcerepo1/2.0.5+20210125/google_sourcerepo1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sourcerepo1/src/api.rs b/gen/sourcerepo1/src/api.rs index 90cf2f6d29..79c99fd226 100644 --- a/gen/sourcerepo1/src/api.rs +++ b/gen/sourcerepo1/src/api.rs @@ -132,7 +132,7 @@ impl<'a, > CloudSourceRepositories<> { CloudSourceRepositories { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://sourcerepo.googleapis.com/".to_string(), _root_url: "https://sourcerepo.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > CloudSourceRepositories<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sourcerepo1/src/client.rs b/gen/sourcerepo1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/sourcerepo1/src/client.rs +++ b/gen/sourcerepo1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/sourcerepo1/src/lib.rs b/gen/sourcerepo1/src/lib.rs index eb19fcaf0f..800fb24094 100644 --- a/gen/sourcerepo1/src/lib.rs +++ b/gen/sourcerepo1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Source Repositories* crate version *2.0.4+20210125*, where *20210125* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Source Repositories* crate version *2.0.5+20210125*, where *20210125* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Source Repositories* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/source-repositories/docs/apis). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-sourcerepo1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/spectrum1_explorer-cli/Cargo.toml b/gen/spectrum1_explorer-cli/Cargo.toml index fd8570bfda..4c0acf5a42 100644 --- a/gen/spectrum1_explorer-cli/Cargo.toml +++ b/gen/spectrum1_explorer-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-spectrum1_explorer-cli" -version = "2.0.4+20170306" +version = "2.0.5+20170306" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/spectrum1_explorer-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-spectrum1_explorer] path = "../spectrum1_explorer" -version = "2.0.4+20170306" +version = "2.0.5+20170306" diff --git a/gen/spectrum1_explorer-cli/README.md b/gen/spectrum1_explorer-cli/README.md index 762a6d6ba8..00f70a2fed 100644 --- a/gen/spectrum1_explorer-cli/README.md +++ b/gen/spectrum1_explorer-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *spectrum* API at revision *20170306*. The CLI is at version *2.0.4*. +This documentation was generated from the *spectrum* API at revision *20170306*. The CLI is at version *2.0.5*. ```bash spectrum1-explorer [options] diff --git a/gen/spectrum1_explorer-cli/mkdocs.yml b/gen/spectrum1_explorer-cli/mkdocs.yml index 8c65238e33..31007a8249 100644 --- a/gen/spectrum1_explorer-cli/mkdocs.yml +++ b/gen/spectrum1_explorer-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: spectrum v2.0.4+20170306 +site_name: spectrum v2.0.5+20170306 site_url: http://byron.github.io/google-apis-rs/google-spectrum1_explorer-cli site_description: A complete library to interact with spectrum (protocol v1explorer) diff --git a/gen/spectrum1_explorer-cli/src/main.rs b/gen/spectrum1_explorer-cli/src/main.rs index 38a30fca7d..78e498615e 100644 --- a/gen/spectrum1_explorer-cli/src/main.rs +++ b/gen/spectrum1_explorer-cli/src/main.rs @@ -942,7 +942,7 @@ async fn main() { let mut app = App::new("spectrum1-explorer") .author("Sebastian Thiel ") - .version("2.0.4+20170306") + .version("2.0.5+20170306") .about("API for spectrum-management functions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_spectrum1_explorer_cli") .arg(Arg::with_name("folder") diff --git a/gen/spectrum1_explorer/Cargo.toml b/gen/spectrum1_explorer/Cargo.toml index 0a3a75e4ec..f9abd483a0 100644 --- a/gen/spectrum1_explorer/Cargo.toml +++ b/gen/spectrum1_explorer/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-spectrum1_explorer" -version = "2.0.4+20170306" +version = "2.0.5+20170306" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/spectrum1_explorer" homepage = "http://developers.google.com/spectrum" -documentation = "https://docs.rs/google-spectrum1_explorer/2.0.4+20170306" +documentation = "https://docs.rs/google-spectrum1_explorer/2.0.5+20170306" license = "MIT" keywords = ["spectrum", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/spectrum1_explorer/README.md b/gen/spectrum1_explorer/README.md index 34abca4415..3b4de70ce9 100644 --- a/gen/spectrum1_explorer/README.md +++ b/gen/spectrum1_explorer/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-spectrum1_explorer` library allows access to all features of the *Google spectrum* service. -This documentation was generated from *spectrum* crate version *2.0.4+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *spectrum* crate version *2.0.5+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *spectrum* *v1_explorer* API can be found at the [official documentation site](http://developers.google.com/spectrum). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/Spectrum) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/Spectrum) ... * paws - * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/api::PawGetSpectrumCall), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/api::PawGetSpectrumBatchCall), [*init*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/api::PawInitCall), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/api::PawNotifySpectrumUseCall), [*register*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/api::PawRegisterCall) and [*verify device*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/api::PawVerifyDeviceCall) + * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/api::PawGetSpectrumCall), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/api::PawGetSpectrumBatchCall), [*init*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/api::PawInitCall), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/api::PawNotifySpectrumUseCall), [*register*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/api::PawRegisterCall) and [*verify device*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/api::PawVerifyDeviceCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/Spectrum)** +* **[Hub](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/Spectrum)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::CallBuilder) -* **[Resources](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::CallBuilder) +* **[Resources](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Part)** + * **[Parts](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::CallBuilder)** +* **[Activities](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-spectrum1_explorer = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Delegate) to the -[Method Builder](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Delegate) to the +[Method Builder](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Delegate) 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 [encodable](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::RequestValue) and -[decodable](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::RequestValue) and +[decodable](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-spectrum1_explorer/2.0.4+20170306/google_spectrum1_explorer/client::RequestValue) are moved +* [request values](https://docs.rs/google-spectrum1_explorer/2.0.5+20170306/google_spectrum1_explorer/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/spectrum1_explorer/src/api.rs b/gen/spectrum1_explorer/src/api.rs index f213c304dc..3f652eb69a 100644 --- a/gen/spectrum1_explorer/src/api.rs +++ b/gen/spectrum1_explorer/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > Spectrum<> { Spectrum { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/spectrum/v1explorer/paws/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > Spectrum<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/spectrum1_explorer/src/client.rs b/gen/spectrum1_explorer/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/spectrum1_explorer/src/client.rs +++ b/gen/spectrum1_explorer/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/spectrum1_explorer/src/lib.rs b/gen/spectrum1_explorer/src/lib.rs index 04f310111e..7b62950a63 100644 --- a/gen/spectrum1_explorer/src/lib.rs +++ b/gen/spectrum1_explorer/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *spectrum* crate version *2.0.4+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *spectrum* crate version *2.0.5+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *spectrum* *v1_explorer* API can be found at the //! [official documentation site](http://developers.google.com/spectrum). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-spectrum1_explorer = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/speech1-cli/Cargo.toml b/gen/speech1-cli/Cargo.toml index 47ece89d1d..1e9a81bfe4 100644 --- a/gen/speech1-cli/Cargo.toml +++ b/gen/speech1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-speech1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-speech1] path = "../speech1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/speech1-cli/README.md b/gen/speech1-cli/README.md index 4e6d30a0f4..dfca125983 100644 --- a/gen/speech1-cli/README.md +++ b/gen/speech1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Speech* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Speech* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash speech1 [options] diff --git a/gen/speech1-cli/mkdocs.yml b/gen/speech1-cli/mkdocs.yml index 2a2248d7e8..ff5c88e025 100644 --- a/gen/speech1-cli/mkdocs.yml +++ b/gen/speech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v2.0.4+20210325 +site_name: Speech v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-speech1-cli site_description: A complete library to interact with Speech (protocol v1) diff --git a/gen/speech1-cli/src/main.rs b/gen/speech1-cli/src/main.rs index a07a04a96c..a9f9bf4f1d 100644 --- a/gen/speech1-cli/src/main.rs +++ b/gen/speech1-cli/src/main.rs @@ -572,7 +572,7 @@ async fn main() { let mut app = App::new("speech1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Converts audio to text by applying powerful neural network models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_speech1_cli") .arg(Arg::with_name("url") diff --git a/gen/speech1/Cargo.toml b/gen/speech1/Cargo.toml index ffe7218c53..b9dbeb87d2 100644 --- a/gen/speech1/Cargo.toml +++ b/gen/speech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1" homepage = "https://cloud.google.com/speech-to-text/docs/quickstart-protocol" -documentation = "https://docs.rs/google-speech1/2.0.4+20210325" +documentation = "https://docs.rs/google-speech1/2.0.5+20210325" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/speech1/README.md b/gen/speech1/README.md index b1ebd462bc..bf12269b9b 100644 --- a/gen/speech1/README.md +++ b/gen/speech1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-speech1` library allows access to all features of the *Google Speech* service. -This documentation was generated from *Speech* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Speech* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Speech* *v1* API can be found at the [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/Speech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/Speech) ... -* [operations](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/api::Operation) - * [*get*](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/api::OperationListCall) +* [operations](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/api::Operation) + * [*get*](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/api::OperationListCall) * speech - * [*longrunningrecognize*](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/api::SpeechLongrunningrecognizeCall) and [*recognize*](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/api::SpeechRecognizeCall) + * [*longrunningrecognize*](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/api::SpeechLongrunningrecognizeCall) and [*recognize*](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/api::SpeechRecognizeCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/Speech)** +* **[Hub](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/Speech)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::CallBuilder) -* **[Resources](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::CallBuilder) +* **[Resources](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Part)** + * **[Parts](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-speech1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Delegate), 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-speech1/2.0.4+20210325/google_speech1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Delegate) to the -[Method Builder](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Delegate) to the +[Method Builder](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::CallBuilder) 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-speech1/2.0.4+20210325/google_speech1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Delegate) 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 [encodable](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::RequestValue) and -[decodable](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::RequestValue) and +[decodable](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-speech1/2.0.4+20210325/google_speech1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::Part) 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-speech1/2.0.4+20210325/google_speech1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::CallBuilder), 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-speech1/2.0.4+20210325/google_speech1/client::RequestValue) are moved +* [request values](https://docs.rs/google-speech1/2.0.5+20210325/google_speech1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/speech1/src/api.rs b/gen/speech1/src/api.rs index eb7592a06d..cc8de13732 100644 --- a/gen/speech1/src/api.rs +++ b/gen/speech1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > Speech<> { Speech { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://speech.googleapis.com/".to_string(), _root_url: "https://speech.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Speech<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/speech1/src/client.rs b/gen/speech1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/speech1/src/client.rs +++ b/gen/speech1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/speech1/src/lib.rs b/gen/speech1/src/lib.rs index 617cb04a99..e754f3e28d 100644 --- a/gen/speech1/src/lib.rs +++ b/gen/speech1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Speech* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Speech* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Speech* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-speech1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/speech1_beta1-cli/Cargo.toml b/gen/speech1_beta1-cli/Cargo.toml index 5a0a20214c..9fcaaa83bb 100644 --- a/gen/speech1_beta1-cli/Cargo.toml +++ b/gen/speech1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-speech1_beta1-cli" -version = "2.0.4+20181005" +version = "2.0.5+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-speech1_beta1] path = "../speech1_beta1" -version = "2.0.4+20181005" +version = "2.0.5+20181005" diff --git a/gen/speech1_beta1-cli/README.md b/gen/speech1_beta1-cli/README.md index d1d026bd9b..5f7aef7e3c 100644 --- a/gen/speech1_beta1-cli/README.md +++ b/gen/speech1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Speech* API at revision *20181005*. The CLI is at version *2.0.4*. +This documentation was generated from the *Speech* API at revision *20181005*. The CLI is at version *2.0.5*. ```bash speech1-beta1 [options] diff --git a/gen/speech1_beta1-cli/mkdocs.yml b/gen/speech1_beta1-cli/mkdocs.yml index 5d7b3b2caf..63dfd914f0 100644 --- a/gen/speech1_beta1-cli/mkdocs.yml +++ b/gen/speech1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v2.0.4+20181005 +site_name: Speech v2.0.5+20181005 site_url: http://byron.github.io/google-apis-rs/google-speech1_beta1-cli site_description: A complete library to interact with Speech (protocol v1beta1) diff --git a/gen/speech1_beta1-cli/src/main.rs b/gen/speech1_beta1-cli/src/main.rs index c3d77f4878..69123badce 100644 --- a/gen/speech1_beta1-cli/src/main.rs +++ b/gen/speech1_beta1-cli/src/main.rs @@ -555,7 +555,7 @@ async fn main() { let mut app = App::new("speech1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20181005") + .version("2.0.5+20181005") .about("Converts audio to text by applying powerful neural network models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_speech1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/speech1_beta1/Cargo.toml b/gen/speech1_beta1/Cargo.toml index 804fee5c9a..31bbf1b404 100644 --- a/gen/speech1_beta1/Cargo.toml +++ b/gen/speech1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1_beta1" -version = "2.0.4+20181005" +version = "2.0.5+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1_beta1" homepage = "https://cloud.google.com/speech-to-text/docs/quickstart-protocol" -documentation = "https://docs.rs/google-speech1_beta1/2.0.4+20181005" +documentation = "https://docs.rs/google-speech1_beta1/2.0.5+20181005" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/speech1_beta1/README.md b/gen/speech1_beta1/README.md index b5be6b8f5a..818c4dc325 100644 --- a/gen/speech1_beta1/README.md +++ b/gen/speech1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-speech1_beta1` library allows access to all features of the *Google Speech* service. -This documentation was generated from *Speech* crate version *2.0.4+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Speech* crate version *2.0.5+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Speech* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/Speech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/Speech) ... -* [operations](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/api::Operation) - * [*get*](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/api::OperationListCall) +* [operations](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/api::Operation) + * [*get*](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/api::OperationListCall) * speech - * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/api::SpeechAsyncrecognizeCall) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/api::SpeechSyncrecognizeCall) + * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/api::SpeechAsyncrecognizeCall) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/api::SpeechSyncrecognizeCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/Speech)** +* **[Hub](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/Speech)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-speech1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Delegate), 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-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::CallBuilder) 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-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::Part) 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-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::CallBuilder), 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-speech1_beta1/2.0.4+20181005/google_speech1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-speech1_beta1/2.0.5+20181005/google_speech1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/speech1_beta1/src/api.rs b/gen/speech1_beta1/src/api.rs index cdb0f94f4e..ee996845cd 100644 --- a/gen/speech1_beta1/src/api.rs +++ b/gen/speech1_beta1/src/api.rs @@ -118,7 +118,7 @@ impl<'a, > Speech<> { Speech { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://speech.googleapis.com/".to_string(), _root_url: "https://speech.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Speech<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/speech1_beta1/src/client.rs b/gen/speech1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/speech1_beta1/src/client.rs +++ b/gen/speech1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/speech1_beta1/src/lib.rs b/gen/speech1_beta1/src/lib.rs index 45a6c6267b..a12ac53b26 100644 --- a/gen/speech1_beta1/src/lib.rs +++ b/gen/speech1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Speech* crate version *2.0.4+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Speech* crate version *2.0.5+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Speech* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-speech1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/sql1_beta4-cli/Cargo.toml b/gen/sql1_beta4-cli/Cargo.toml index b1d6625581..59cdc07f45 100644 --- a/gen/sql1_beta4-cli/Cargo.toml +++ b/gen/sql1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sql1_beta4-cli" -version = "2.0.4+20200331" +version = "2.0.5+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sql1_beta4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sql1_beta4] path = "../sql1_beta4" -version = "2.0.4+20200331" +version = "2.0.5+20200331" diff --git a/gen/sql1_beta4-cli/README.md b/gen/sql1_beta4-cli/README.md index 0559b01e4b..9989dc17a0 100644 --- a/gen/sql1_beta4-cli/README.md +++ b/gen/sql1_beta4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *SQL Admin* API at revision *20200331*. The CLI is at version *2.0.4*. +This documentation was generated from the *SQL Admin* API at revision *20200331*. The CLI is at version *2.0.5*. ```bash sql1-beta4 [options] diff --git a/gen/sql1_beta4-cli/mkdocs.yml b/gen/sql1_beta4-cli/mkdocs.yml index 2ce8040fe8..b6a6a9fdbc 100644 --- a/gen/sql1_beta4-cli/mkdocs.yml +++ b/gen/sql1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v2.0.4+20200331 +site_name: SQL Admin v2.0.5+20200331 site_url: http://byron.github.io/google-apis-rs/google-sql1_beta4-cli site_description: A complete library to interact with SQL Admin (protocol v1beta4) diff --git a/gen/sql1_beta4-cli/src/main.rs b/gen/sql1_beta4-cli/src/main.rs index 2ef79eb94b..fe64703730 100644 --- a/gen/sql1_beta4-cli/src/main.rs +++ b/gen/sql1_beta4-cli/src/main.rs @@ -5378,7 +5378,7 @@ async fn main() { let mut app = App::new("sql1-beta4") .author("Sebastian Thiel ") - .version("2.0.4+20200331") + .version("2.0.5+20200331") .about("API for Cloud SQL database instance management") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sql1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/sql1_beta4/Cargo.toml b/gen/sql1_beta4/Cargo.toml index f0869a66be..d424e89b13 100644 --- a/gen/sql1_beta4/Cargo.toml +++ b/gen/sql1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sql1_beta4" -version = "2.0.4+20200331" +version = "2.0.5+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sql1_beta4" homepage = "https://developers.google.com/cloud-sql/" -documentation = "https://docs.rs/google-sql1_beta4/2.0.4+20200331" +documentation = "https://docs.rs/google-sql1_beta4/2.0.5+20200331" license = "MIT" keywords = ["sql", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sql1_beta4/README.md b/gen/sql1_beta4/README.md index 3295f03dfa..e551475598 100644 --- a/gen/sql1_beta4/README.md +++ b/gen/sql1_beta4/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-sql1_beta4` library allows access to all features of the *Google SQL Admin* service. -This documentation was generated from *SQL Admin* crate version *2.0.4+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *SQL Admin* crate version *2.0.5+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *SQL Admin* *v1_beta4* API can be found at the [official documentation site](https://developers.google.com/cloud-sql/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::BackupRun) - * [*delete*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::BackupRunListCall) -* [databases](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::Database) - * [*delete*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::Flag) - * [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::FlagListCall) +* [backup runs](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::BackupRun) + * [*delete*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::BackupRunListCall) +* [databases](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::Database) + * [*delete*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::DatabaseUpdateCall) +* [flags](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::Flag) + * [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::FlagListCall) * instances - * [*add server ca*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::Operation) - * [*get*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::OperationListCall) + * [*add server ca*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::InstanceUpdateCall) +* [operations](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::Operation) + * [*get*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::OperationListCall) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::SslCertListCall) -* [tiers](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::Tier) - * [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::TierListCall) -* [users](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::User) - * [*delete*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/api::UserUpdateCall) + * [*instances reschedule maintenance*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) +* [ssl certs](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::SslCert) + * [*create ephemeral*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::SslCertListCall) +* [tiers](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::Tier) + * [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::TierListCall) +* [users](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::User) + * [*delete*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/api::UserUpdateCall) @@ -39,17 +39,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/SQLAdmin)** +* **[Hub](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/SQLAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::CallBuilder) +* **[Resources](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,9 +111,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-sql1_beta4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -181,17 +178,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Delegate), 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-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::ResponseResult), 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")`. @@ -201,29 +198,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Delegate) to the +[Method Builder](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::CallBuilder) 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-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Delegate) 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 [encodable](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::RequestValue) and +[decodable](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::Part) 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-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::CallBuilder), 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-sql1_beta4/2.0.4+20200331/google_sql1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sql1_beta4/2.0.5+20200331/google_sql1_beta4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sql1_beta4/src/api.rs b/gen/sql1_beta4/src/api.rs index 6bcdfc35c1..40ee79319e 100644 --- a/gen/sql1_beta4/src/api.rs +++ b/gen/sql1_beta4/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > SQLAdmin<> { SQLAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://sqladmin.googleapis.com/".to_string(), _root_url: "https://sqladmin.googleapis.com/".to_string(), } @@ -161,7 +161,7 @@ impl<'a, > SQLAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sql1_beta4/src/client.rs b/gen/sql1_beta4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/sql1_beta4/src/client.rs +++ b/gen/sql1_beta4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/sql1_beta4/src/lib.rs b/gen/sql1_beta4/src/lib.rs index 027177630c..e7d746a9d5 100644 --- a/gen/sql1_beta4/src/lib.rs +++ b/gen/sql1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SQL Admin* crate version *2.0.4+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *SQL Admin* crate version *2.0.5+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). @@ -111,9 +111,6 @@ //! ```toml //! [dependencies] //! google-sql1_beta4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/sqladmin1_beta4-cli/Cargo.toml b/gen/sqladmin1_beta4-cli/Cargo.toml index 76fb5abcfe..e57876aece 100644 --- a/gen/sqladmin1_beta4-cli/Cargo.toml +++ b/gen/sqladmin1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sqladmin1_beta4-cli" -version = "2.0.4+20210321" +version = "2.0.5+20210321" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sqladmin1_beta4-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sqladmin1_beta4] path = "../sqladmin1_beta4" -version = "2.0.4+20210321" +version = "2.0.5+20210321" diff --git a/gen/sqladmin1_beta4-cli/README.md b/gen/sqladmin1_beta4-cli/README.md index d0ef7b785d..367065159f 100644 --- a/gen/sqladmin1_beta4-cli/README.md +++ b/gen/sqladmin1_beta4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *SQL Admin* API at revision *20210321*. The CLI is at version *2.0.4*. +This documentation was generated from the *SQL Admin* API at revision *20210321*. The CLI is at version *2.0.5*. ```bash sqladmin1-beta4 [options] diff --git a/gen/sqladmin1_beta4-cli/mkdocs.yml b/gen/sqladmin1_beta4-cli/mkdocs.yml index bd8fbee389..b211fbe603 100644 --- a/gen/sqladmin1_beta4-cli/mkdocs.yml +++ b/gen/sqladmin1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v2.0.4+20210321 +site_name: SQL Admin v2.0.5+20210321 site_url: http://byron.github.io/google-apis-rs/google-sqladmin1_beta4-cli site_description: A complete library to interact with SQL Admin (protocol v1beta4) diff --git a/gen/sqladmin1_beta4-cli/src/main.rs b/gen/sqladmin1_beta4-cli/src/main.rs index 6865fc6ccd..3f0c0d2b0f 100644 --- a/gen/sqladmin1_beta4-cli/src/main.rs +++ b/gen/sqladmin1_beta4-cli/src/main.rs @@ -5385,7 +5385,7 @@ async fn main() { let mut app = App::new("sqladmin1-beta4") .author("Sebastian Thiel ") - .version("2.0.4+20210321") + .version("2.0.5+20210321") .about("API for Cloud SQL database instance management") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sqladmin1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/sqladmin1_beta4/Cargo.toml b/gen/sqladmin1_beta4/Cargo.toml index f4219433f3..3511f003dc 100644 --- a/gen/sqladmin1_beta4/Cargo.toml +++ b/gen/sqladmin1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sqladmin1_beta4" -version = "2.0.4+20210321" +version = "2.0.5+20210321" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sqladmin1_beta4" homepage = "https://developers.google.com/cloud-sql/" -documentation = "https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321" +documentation = "https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321" license = "MIT" keywords = ["sqladmin", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sqladmin1_beta4/README.md b/gen/sqladmin1_beta4/README.md index 70e8319c52..3cbcc4bdf6 100644 --- a/gen/sqladmin1_beta4/README.md +++ b/gen/sqladmin1_beta4/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-sqladmin1_beta4` library allows access to all features of the *Google SQL Admin* service. -This documentation was generated from *SQL Admin* crate version *2.0.4+20210321*, where *20210321* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *SQL Admin* crate version *2.0.5+20210321*, where *20210321* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *SQL Admin* *v1_beta4* API can be found at the [official documentation site](https://developers.google.com/cloud-sql/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::BackupRun) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::BackupRunListCall) -* [databases](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::Database) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::Flag) - * [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::FlagListCall) +* [backup runs](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::BackupRun) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::BackupRunListCall) +* [databases](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::Database) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::DatabaseUpdateCall) +* [flags](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::Flag) + * [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::FlagListCall) * instances - * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::Operation) - * [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::OperationListCall) + * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::InstanceUpdateCall) +* [operations](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::Operation) + * [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::OperationListCall) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::SslCertListCall) -* [tiers](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::Tier) - * [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::TierListCall) -* [users](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::User) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/api::UserUpdateCall) + * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) +* [ssl certs](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::SslCert) + * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::SslCertListCall) +* [tiers](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::Tier) + * [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::TierListCall) +* [users](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::User) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/api::UserUpdateCall) @@ -39,17 +39,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/SQLAdmin)** +* **[Hub](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/SQLAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::CallBuilder) +* **[Resources](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,9 +111,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-sqladmin1_beta4 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -181,17 +178,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::ResponseResult), 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")`. @@ -201,29 +198,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Delegate) to the +[Method Builder](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Delegate) 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 [encodable](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::RequestValue) and +[decodable](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sqladmin1_beta4/2.0.4+20210321/google_sqladmin1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sqladmin1_beta4/2.0.5+20210321/google_sqladmin1_beta4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sqladmin1_beta4/src/api.rs b/gen/sqladmin1_beta4/src/api.rs index b6f4b0804e..1e3025e246 100644 --- a/gen/sqladmin1_beta4/src/api.rs +++ b/gen/sqladmin1_beta4/src/api.rs @@ -126,7 +126,7 @@ impl<'a, > SQLAdmin<> { SQLAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://sqladmin.googleapis.com/".to_string(), _root_url: "https://sqladmin.googleapis.com/".to_string(), } @@ -161,7 +161,7 @@ impl<'a, > SQLAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sqladmin1_beta4/src/client.rs b/gen/sqladmin1_beta4/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/sqladmin1_beta4/src/client.rs +++ b/gen/sqladmin1_beta4/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/sqladmin1_beta4/src/lib.rs b/gen/sqladmin1_beta4/src/lib.rs index 30fd417b15..52d3ba9d50 100644 --- a/gen/sqladmin1_beta4/src/lib.rs +++ b/gen/sqladmin1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SQL Admin* crate version *2.0.4+20210321*, where *20210321* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *SQL Admin* crate version *2.0.5+20210321*, where *20210321* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). @@ -111,9 +111,6 @@ //! ```toml //! [dependencies] //! google-sqladmin1_beta4 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/storage1-cli/Cargo.toml b/gen/storage1-cli/Cargo.toml index e03a94712e..ed98a0b2db 100644 --- a/gen/storage1-cli/Cargo.toml +++ b/gen/storage1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storage1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storage1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-storage1] path = "../storage1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/storage1-cli/README.md b/gen/storage1-cli/README.md index 01304fe2ae..fd6e0e4133 100644 --- a/gen/storage1-cli/README.md +++ b/gen/storage1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *storage* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *storage* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash storage1 [options] diff --git a/gen/storage1-cli/mkdocs.yml b/gen/storage1-cli/mkdocs.yml index 036f26de95..25d5237438 100644 --- a/gen/storage1-cli/mkdocs.yml +++ b/gen/storage1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storage v2.0.4+20210330 +site_name: storage v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-storage1-cli site_description: A complete library to interact with storage (protocol v1) diff --git a/gen/storage1-cli/src/main.rs b/gen/storage1-cli/src/main.rs index 2dd710f30e..f34e6ca846 100644 --- a/gen/storage1-cli/src/main.rs +++ b/gen/storage1-cli/src/main.rs @@ -6437,7 +6437,7 @@ async fn main() { let mut app = App::new("storage1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("Stores and retrieves potentially large, immutable data objects.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_storage1_cli") .arg(Arg::with_name("url") diff --git a/gen/storage1/Cargo.toml b/gen/storage1/Cargo.toml index 8dde8c5017..a87798d64d 100644 --- a/gen/storage1/Cargo.toml +++ b/gen/storage1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storage1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storage1" homepage = "https://developers.google.com/storage/docs/json_api/" -documentation = "https://docs.rs/google-storage1/2.0.4+20210330" +documentation = "https://docs.rs/google-storage1/2.0.5+20210330" license = "MIT" keywords = ["storage", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/storage1/README.md b/gen/storage1/README.md index ba14f6adc0..7383891557 100644 --- a/gen/storage1/README.md +++ b/gen/storage1/README.md @@ -5,44 +5,44 @@ DO NOT EDIT ! --> The `google-storage1` library allows access to all features of the *Google storage* service. -This documentation was generated from *storage* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *storage* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *storage* *v1* API can be found at the [official documentation site](https://developers.google.com/storage/docs/json_api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/Storage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/Storage) ... -* [bucket access controls](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControl) - * [*delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketAccessControlUpdateCall) -* [buckets](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::Bucket) - * [*delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketGetCall), [*get iam policy*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketInsertCall), [*list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketListCall), [*lock retention policy*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketLockRetentionPolicyCall), [*patch*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketPatchCall), [*set iam policy*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketTestIamPermissionCall) and [*update*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::BucketUpdateCall) -* [channels](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::Channel) - * [*stop*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ChannelStopCall) +* [bucket access controls](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControl) + * [*delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketAccessControlUpdateCall) +* [buckets](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::Bucket) + * [*delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketGetCall), [*get iam policy*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketInsertCall), [*list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketListCall), [*lock retention policy*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketLockRetentionPolicyCall), [*patch*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketPatchCall), [*set iam policy*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketTestIamPermissionCall) and [*update*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::BucketUpdateCall) +* [channels](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::Channel) + * [*stop*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ChannelStopCall) * default object access controls - * [*delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::DefaultObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::DefaultObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::DefaultObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::DefaultObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::DefaultObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::DefaultObjectAccessControlUpdateCall) -* [notifications](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::Notification) - * [*delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::NotificationDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::NotificationGetCall), [*insert*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::NotificationInsertCall) and [*list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::NotificationListCall) -* [object access controls](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControl) - * [*delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectAccessControlUpdateCall) -* [objects](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::Object) - * [*compose*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectComposeCall), [*copy*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectCopyCall), [*delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectGetCall), [*get iam policy*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectInsertCall), [*list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectListCall), [*patch*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectPatchCall), [*rewrite*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectRewriteCall), [*set iam policy*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectTestIamPermissionCall), [*update*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectUpdateCall) and [*watch all*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectWatchAllCall) + * [*delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::DefaultObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::DefaultObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::DefaultObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::DefaultObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::DefaultObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::DefaultObjectAccessControlUpdateCall) +* [notifications](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::Notification) + * [*delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::NotificationDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::NotificationGetCall), [*insert*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::NotificationInsertCall) and [*list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::NotificationListCall) +* [object access controls](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControl) + * [*delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectAccessControlUpdateCall) +* [objects](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::Object) + * [*compose*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectComposeCall), [*copy*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectCopyCall), [*delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectDeleteCall), [*get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectGetCall), [*get iam policy*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectInsertCall), [*list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectListCall), [*patch*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectPatchCall), [*rewrite*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectRewriteCall), [*set iam policy*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectTestIamPermissionCall), [*update*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectUpdateCall) and [*watch all*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectWatchAllCall) * projects - * [*hmac keys create*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ProjectHmacKeyCreateCall), [*hmac keys delete*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ProjectHmacKeyDeleteCall), [*hmac keys get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ProjectHmacKeyGetCall), [*hmac keys list*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ProjectHmacKeyListCall), [*hmac keys update*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ProjectHmacKeyUpdateCall) and [*service account get*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ProjectServiceAccountGetCall) + * [*hmac keys create*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ProjectHmacKeyCreateCall), [*hmac keys delete*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ProjectHmacKeyDeleteCall), [*hmac keys get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ProjectHmacKeyGetCall), [*hmac keys list*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ProjectHmacKeyListCall), [*hmac keys update*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ProjectHmacKeyUpdateCall) and [*service account get*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ProjectServiceAccountGetCall) Upload supported by ... -* [*insert objects*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectInsertCall) +* [*insert objects*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectInsertCall) Download supported by ... -* [*get objects*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectGetCall) +* [*get objects*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectGetCall) Subscription supported by ... -* [*list objects*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectListCall) -* [*watch all objects*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/api::ObjectWatchAllCall) +* [*list objects*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectListCall) +* [*watch all objects*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/api::ObjectWatchAllCall) @@ -50,17 +50,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/Storage)** +* **[Hub](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/Storage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::CallBuilder) -* **[Resources](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::CallBuilder) +* **[Resources](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Part)** + * **[Parts](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,9 +103,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-storage1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -187,17 +184,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::ResponseResult), 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")`. @@ -207,29 +204,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Delegate) to the -[Method Builder](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Delegate) to the +[Method Builder](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Delegate) 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 [encodable](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::RequestValue) and -[decodable](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::RequestValue) and +[decodable](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-storage1/2.0.4+20210330/google_storage1/client::RequestValue) are moved +* [request values](https://docs.rs/google-storage1/2.0.5+20210330/google_storage1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/storage1/src/api.rs b/gen/storage1/src/api.rs index a75b49d463..4bf33611a2 100644 --- a/gen/storage1/src/api.rs +++ b/gen/storage1/src/api.rs @@ -152,7 +152,7 @@ impl<'a, > Storage<> { Storage { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://storage.googleapis.com/storage/v1/".to_string(), _root_url: "https://storage.googleapis.com/".to_string(), } @@ -184,7 +184,7 @@ impl<'a, > Storage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -15027,7 +15027,6 @@ impl<'a> ObjectInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/storage1/src/client.rs b/gen/storage1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/storage1/src/client.rs +++ b/gen/storage1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/storage1/src/lib.rs b/gen/storage1/src/lib.rs index 78275ee7b2..113aeed896 100644 --- a/gen/storage1/src/lib.rs +++ b/gen/storage1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *storage* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *storage* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *storage* *v1* API can be found at the //! [official documentation site](https://developers.google.com/storage/docs/json_api/). @@ -103,9 +103,6 @@ //! ```toml //! [dependencies] //! google-storage1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/storagetransfer1-cli/Cargo.toml b/gen/storagetransfer1-cli/Cargo.toml index 8b6b068da2..5a34fcb47e 100644 --- a/gen/storagetransfer1-cli/Cargo.toml +++ b/gen/storagetransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storagetransfer1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storagetransfer1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-storagetransfer1] path = "../storagetransfer1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/storagetransfer1-cli/README.md b/gen/storagetransfer1-cli/README.md index 5354cd8830..7d1da1d115 100644 --- a/gen/storagetransfer1-cli/README.md +++ b/gen/storagetransfer1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *storagetransfer* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *storagetransfer* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash storagetransfer1 [options] diff --git a/gen/storagetransfer1-cli/mkdocs.yml b/gen/storagetransfer1-cli/mkdocs.yml index eb130a43f3..f69cafef48 100644 --- a/gen/storagetransfer1-cli/mkdocs.yml +++ b/gen/storagetransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storagetransfer v2.0.4+20210316 +site_name: storagetransfer v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-storagetransfer1-cli site_description: A complete library to interact with storagetransfer (protocol v1) diff --git a/gen/storagetransfer1-cli/src/main.rs b/gen/storagetransfer1-cli/src/main.rs index 3862c15975..b97348880e 100644 --- a/gen/storagetransfer1-cli/src/main.rs +++ b/gen/storagetransfer1-cli/src/main.rs @@ -1348,7 +1348,7 @@ async fn main() { let mut app = App::new("storagetransfer1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_storagetransfer1_cli") .arg(Arg::with_name("url") diff --git a/gen/storagetransfer1/Cargo.toml b/gen/storagetransfer1/Cargo.toml index b73a4ebc54..58c83f402c 100644 --- a/gen/storagetransfer1/Cargo.toml +++ b/gen/storagetransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storagetransfer1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storagetransfer1" homepage = "https://cloud.google.com/storage-transfer/docs" -documentation = "https://docs.rs/google-storagetransfer1/2.0.4+20210316" +documentation = "https://docs.rs/google-storagetransfer1/2.0.5+20210316" license = "MIT" keywords = ["storagetransfer", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/storagetransfer1/README.md b/gen/storagetransfer1/README.md index f5f980ece6..6e189d607d 100644 --- a/gen/storagetransfer1/README.md +++ b/gen/storagetransfer1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-storagetransfer1` library allows access to all features of the *Google storagetransfer* service. -This documentation was generated from *storagetransfer* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *storagetransfer* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *storagetransfer* *v1* API can be found at the [official documentation site](https://cloud.google.com/storage-transfer/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/Storagetransfer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/Storagetransfer) ... -* [google service accounts](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::GoogleServiceAccount) - * [*get*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::GoogleServiceAccountGetCall) -* [transfer jobs](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferJob) - * [*create*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferJobCreateCall), [*get*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferJobGetCall), [*list*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferJobListCall), [*patch*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferJobPatchCall) and [*run*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferJobRunCall) -* [transfer operations](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferOperation) - * [*cancel*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferOperationCancelCall), [*get*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferOperationGetCall), [*list*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferOperationListCall), [*pause*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferOperationPauseCall) and [*resume*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/api::TransferOperationResumeCall) +* [google service accounts](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::GoogleServiceAccount) + * [*get*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::GoogleServiceAccountGetCall) +* [transfer jobs](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferJob) + * [*create*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferJobCreateCall), [*get*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferJobGetCall), [*list*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferJobListCall), [*patch*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferJobPatchCall) and [*run*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferJobRunCall) +* [transfer operations](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferOperation) + * [*cancel*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferOperationCancelCall), [*get*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferOperationGetCall), [*list*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferOperationListCall), [*pause*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferOperationPauseCall) and [*resume*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/api::TransferOperationResumeCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/Storagetransfer)** +* **[Hub](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/Storagetransfer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Part)** + * **[Parts](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -72,9 +72,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-storagetransfer1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Delegate) 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 [encodable](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::RequestValue) and -[decodable](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::RequestValue) and +[decodable](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-storagetransfer1/2.0.4+20210316/google_storagetransfer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-storagetransfer1/2.0.5+20210316/google_storagetransfer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/storagetransfer1/src/api.rs b/gen/storagetransfer1/src/api.rs index 66dabccb63..bc3372dc6a 100644 --- a/gen/storagetransfer1/src/api.rs +++ b/gen/storagetransfer1/src/api.rs @@ -116,7 +116,7 @@ impl<'a, > Storagetransfer<> { Storagetransfer { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://storagetransfer.googleapis.com/".to_string(), _root_url: "https://storagetransfer.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > Storagetransfer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/storagetransfer1/src/client.rs b/gen/storagetransfer1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/storagetransfer1/src/client.rs +++ b/gen/storagetransfer1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/storagetransfer1/src/lib.rs b/gen/storagetransfer1/src/lib.rs index ae3d8a467e..a73b7c3c48 100644 --- a/gen/storagetransfer1/src/lib.rs +++ b/gen/storagetransfer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *storagetransfer* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *storagetransfer* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *storagetransfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/storage-transfer/docs). @@ -72,9 +72,6 @@ //! ```toml //! [dependencies] //! google-storagetransfer1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/sts1-cli/Cargo.toml b/gen/sts1-cli/Cargo.toml index 6f3333f44e..a43e47684e 100644 --- a/gen/sts1-cli/Cargo.toml +++ b/gen/sts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sts1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Security Token (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sts1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sts1] path = "../sts1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/sts1-cli/README.md b/gen/sts1-cli/README.md index ac12acb18f..8be27287d7 100644 --- a/gen/sts1-cli/README.md +++ b/gen/sts1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Security Token* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Security Token* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash sts1 [options] diff --git a/gen/sts1-cli/mkdocs.yml b/gen/sts1-cli/mkdocs.yml index d520e6d797..d094474caf 100644 --- a/gen/sts1-cli/mkdocs.yml +++ b/gen/sts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Security Token v2.0.4+20210326 +site_name: Cloud Security Token v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-sts1-cli site_description: A complete library to interact with Cloud Security Token (protocol v1) diff --git a/gen/sts1-cli/src/main.rs b/gen/sts1-cli/src/main.rs index 12ea513488..bf0ab045f2 100644 --- a/gen/sts1-cli/src/main.rs +++ b/gen/sts1-cli/src/main.rs @@ -245,7 +245,7 @@ async fn main() { let mut app = App::new("sts1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sts1_cli") .arg(Arg::with_name("folder") diff --git a/gen/sts1/Cargo.toml b/gen/sts1/Cargo.toml index e88beac292..8636d2089d 100644 --- a/gen/sts1/Cargo.toml +++ b/gen/sts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sts1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Security Token (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sts1" homepage = "http://cloud.google.com/iam/docs/workload-identity-federation" -documentation = "https://docs.rs/google-sts1/2.0.4+20210326" +documentation = "https://docs.rs/google-sts1/2.0.5+20210326" license = "MIT" keywords = ["sts", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/sts1/README.md b/gen/sts1/README.md index b9a0973e30..5ed492aa1f 100644 --- a/gen/sts1/README.md +++ b/gen/sts1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-sts1` library allows access to all features of the *Google Cloud Security Token* service. -This documentation was generated from *Cloud Security Token* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Security Token* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Security Token* *v1* API can be found at the [official documentation site](http://cloud.google.com/iam/docs/workload-identity-federation). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/CloudSecurityToken) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/CloudSecurityToken) ... -* [token](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/api::MethodTokenCall) +* [token](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/api::MethodTokenCall) @@ -22,17 +22,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/CloudSecurityToken)** +* **[Hub](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/CloudSecurityToken)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Part)** + * **[Parts](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -63,9 +63,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-sts1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -131,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Delegate), 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-sts1/2.0.4+20210326/google_sts1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::CallBuilder) 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-sts1/2.0.4+20210326/google_sts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Delegate) 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 [encodable](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::RequestValue) and -[decodable](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::RequestValue) and +[decodable](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sts1/2.0.4+20210326/google_sts1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::Part) 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-sts1/2.0.4+20210326/google_sts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::CallBuilder), 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-sts1/2.0.4+20210326/google_sts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sts1/2.0.5+20210326/google_sts1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sts1/src/api.rs b/gen/sts1/src/api.rs index fcb72c129f..4159af873c 100644 --- a/gen/sts1/src/api.rs +++ b/gen/sts1/src/api.rs @@ -98,7 +98,7 @@ impl<'a, > CloudSecurityToken<> { CloudSecurityToken { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://sts.googleapis.com/".to_string(), _root_url: "https://sts.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > CloudSecurityToken<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sts1/src/client.rs b/gen/sts1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/sts1/src/client.rs +++ b/gen/sts1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/sts1/src/lib.rs b/gen/sts1/src/lib.rs index c45d3beed4..6e9e8192ac 100644 --- a/gen/sts1/src/lib.rs +++ b/gen/sts1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Security Token* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Security Token* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Security Token* *v1* API can be found at the //! [official documentation site](http://cloud.google.com/iam/docs/workload-identity-federation). @@ -63,9 +63,6 @@ //! ```toml //! [dependencies] //! google-sts1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/surveys2-cli/Cargo.toml b/gen/surveys2-cli/Cargo.toml index fd2645f16f..3af652060f 100644 --- a/gen/surveys2-cli/Cargo.toml +++ b/gen/surveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-surveys2-cli" -version = "2.0.4+20180508" +version = "2.0.5+20180508" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2-cli" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-surveys2] path = "../surveys2" -version = "2.0.4+20180508" +version = "2.0.5+20180508" diff --git a/gen/surveys2-cli/README.md b/gen/surveys2-cli/README.md index 8866117c20..1b3fa3b002 100644 --- a/gen/surveys2-cli/README.md +++ b/gen/surveys2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *2.0.4*. +This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *2.0.5*. ```bash surveys2 [options] diff --git a/gen/surveys2-cli/mkdocs.yml b/gen/surveys2-cli/mkdocs.yml index 3c628de09a..3dfcb0e503 100644 --- a/gen/surveys2-cli/mkdocs.yml +++ b/gen/surveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Surveys v2.0.4+20180508 +site_name: Surveys v2.0.5+20180508 site_url: http://byron.github.io/google-apis-rs/google-surveys2-cli site_description: A complete library to interact with Surveys (protocol v2) diff --git a/gen/surveys2-cli/src/main.rs b/gen/surveys2-cli/src/main.rs index 5368b9b763..f395d41256 100644 --- a/gen/surveys2-cli/src/main.rs +++ b/gen/surveys2-cli/src/main.rs @@ -956,7 +956,7 @@ async fn main() { let mut app = App::new("surveys2") .author("Sebastian Thiel ") - .version("2.0.4+20180508") + .version("2.0.5+20180508") .about("Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_surveys2_cli") .arg(Arg::with_name("url") diff --git a/gen/surveys2/Cargo.toml b/gen/surveys2/Cargo.toml index 1afa1b8961..46be04940d 100644 --- a/gen/surveys2/Cargo.toml +++ b/gen/surveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-surveys2" -version = "2.0.4+20180508" +version = "2.0.5+20180508" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2" -documentation = "https://docs.rs/google-surveys2/2.0.4+20180508" +documentation = "https://docs.rs/google-surveys2/2.0.5+20180508" license = "MIT" keywords = ["surveys", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/surveys2/README.md b/gen/surveys2/README.md index de644cde8e..e502ec76fe 100644 --- a/gen/surveys2/README.md +++ b/gen/surveys2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-surveys2` library allows access to all features of the *Google Surveys* service. -This documentation was generated from *Surveys* crate version *2.0.4+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Surveys* crate version *2.0.5+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/Surveys) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/Surveys) ... * results - * [*get*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::ResultGetCall) -* [surveys](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::Survey) - * [*delete*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyListCall), [*start*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::SurveyUpdateCall) + * [*get*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::ResultGetCall) +* [surveys](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::Survey) + * [*delete*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyListCall), [*start*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::SurveyUpdateCall) Download supported by ... -* [*get results*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/api::ResultGetCall) +* [*get results*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/api::ResultGetCall) @@ -26,17 +26,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/Surveys)** +* **[Hub](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/Surveys)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::CallBuilder) +* **[Resources](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Part)** + * **[Parts](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -73,9 +73,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-surveys2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Delegate) to the +[Method Builder](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Delegate) 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 [encodable](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::RequestValue) and -[decodable](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::RequestValue) and +[decodable](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-surveys2/2.0.4+20180508/google_surveys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-surveys2/2.0.5+20180508/google_surveys2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/surveys2/src/api.rs b/gen/surveys2/src/api.rs index d7c76a32fa..368d6a42da 100644 --- a/gen/surveys2/src/api.rs +++ b/gen/surveys2/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > Surveys<> { Surveys { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/surveys/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Surveys<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/surveys2/src/client.rs b/gen/surveys2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/surveys2/src/client.rs +++ b/gen/surveys2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/surveys2/src/lib.rs b/gen/surveys2/src/lib.rs index 860d24791e..53f522a4ac 100644 --- a/gen/surveys2/src/lib.rs +++ b/gen/surveys2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Surveys* crate version *2.0.4+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Surveys* crate version *2.0.5+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2). //! # Features //! @@ -73,9 +73,6 @@ //! ```toml //! [dependencies] //! google-surveys2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/tagmanager1-cli/Cargo.toml b/gen/tagmanager1-cli/Cargo.toml index 6a3ad46714..3347f524e4 100644 --- a/gen/tagmanager1-cli/Cargo.toml +++ b/gen/tagmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager1-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tagmanager1] path = "../tagmanager1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/tagmanager1-cli/README.md b/gen/tagmanager1-cli/README.md index 75fa13cd62..c9607f1004 100644 --- a/gen/tagmanager1-cli/README.md +++ b/gen/tagmanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Tag Manager* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Tag Manager* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash tagmanager1 [options] diff --git a/gen/tagmanager1-cli/mkdocs.yml b/gen/tagmanager1-cli/mkdocs.yml index 06601ec04e..8d817f2b9a 100644 --- a/gen/tagmanager1-cli/mkdocs.yml +++ b/gen/tagmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v2.0.4+20210330 +site_name: Tag Manager v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-tagmanager1-cli site_description: A complete library to interact with Tag Manager (protocol v1) diff --git a/gen/tagmanager1-cli/src/main.rs b/gen/tagmanager1-cli/src/main.rs index 5804657548..95a3a86c2c 100644 --- a/gen/tagmanager1-cli/src/main.rs +++ b/gen/tagmanager1-cli/src/main.rs @@ -5230,7 +5230,7 @@ async fn main() { let mut app = App::new("tagmanager1") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("This API allows clients to access and modify container and tag configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tagmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/tagmanager1/Cargo.toml b/gen/tagmanager1/Cargo.toml index 9e0219fa55..5318f73395 100644 --- a/gen/tagmanager1/Cargo.toml +++ b/gen/tagmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager1" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager1" homepage = "https://developers.google.com/tag-manager" -documentation = "https://docs.rs/google-tagmanager1/2.0.4+20210330" +documentation = "https://docs.rs/google-tagmanager1/2.0.5+20210330" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tagmanager1/README.md b/gen/tagmanager1/README.md index 5c6d9565c1..79eb9fbf1e 100644 --- a/gen/tagmanager1/README.md +++ b/gen/tagmanager1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tagmanager1` library allows access to all features of the *Google Tag Manager* service. -This documentation was generated from *Tag Manager* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Tag Manager* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Tag Manager* *v1* API can be found at the [official documentation site](https://developers.google.com/tag-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/TagManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/TagManager) ... -* [accounts](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::Account) - * [*containers create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerEnvironmentListCall), [*containers environments update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerEnvironmentUpdateCall), [*containers folders create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerFolderCreateCall), [*containers folders delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerFolderDeleteCall), [*containers folders entities list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerFolderEntityListCall), [*containers folders get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerFolderGetCall), [*containers folders list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerFolderListCall), [*containers folders update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerFolderUpdateCall), [*containers get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerListCall), [*containers move_folders update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerMoveFolderUpdateCall), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerReauthorizeEnvironmentUpdateCall), [*containers tags create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTagCreateCall), [*containers tags delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTagDeleteCall), [*containers tags get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTagGetCall), [*containers tags list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTagListCall), [*containers tags update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTagUpdateCall), [*containers triggers create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTriggerCreateCall), [*containers triggers delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTriggerDeleteCall), [*containers triggers get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTriggerGetCall), [*containers triggers list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTriggerListCall), [*containers triggers update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerTriggerUpdateCall), [*containers update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerUpdateCall), [*containers variables create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVariableCreateCall), [*containers variables delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVariableDeleteCall), [*containers variables get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVariableGetCall), [*containers variables list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVariableListCall), [*containers variables update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVariableUpdateCall), [*containers versions create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionCreateCall), [*containers versions delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionGetCall), [*containers versions list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionListCall), [*containers versions publish*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionPublishCall), [*containers versions restore*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionRestoreCall), [*containers versions undelete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountContainerVersionUpdateCall), [*get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountListCall), [*permissions create*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountPermissionCreateCall), [*permissions delete*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountPermissionDeleteCall), [*permissions get*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountPermissionGetCall), [*permissions list*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountPermissionListCall), [*permissions update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountPermissionUpdateCall) and [*update*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/api::AccountUpdateCall) +* [accounts](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::Account) + * [*containers create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerEnvironmentListCall), [*containers environments update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerEnvironmentUpdateCall), [*containers folders create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerFolderCreateCall), [*containers folders delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerFolderDeleteCall), [*containers folders entities list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerFolderEntityListCall), [*containers folders get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerFolderGetCall), [*containers folders list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerFolderListCall), [*containers folders update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerFolderUpdateCall), [*containers get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerListCall), [*containers move_folders update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerMoveFolderUpdateCall), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerReauthorizeEnvironmentUpdateCall), [*containers tags create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTagCreateCall), [*containers tags delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTagDeleteCall), [*containers tags get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTagGetCall), [*containers tags list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTagListCall), [*containers tags update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTagUpdateCall), [*containers triggers create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTriggerCreateCall), [*containers triggers delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTriggerDeleteCall), [*containers triggers get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTriggerGetCall), [*containers triggers list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTriggerListCall), [*containers triggers update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerTriggerUpdateCall), [*containers update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerUpdateCall), [*containers variables create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVariableCreateCall), [*containers variables delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVariableDeleteCall), [*containers variables get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVariableGetCall), [*containers variables list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVariableListCall), [*containers variables update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVariableUpdateCall), [*containers versions create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionCreateCall), [*containers versions delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionGetCall), [*containers versions list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionListCall), [*containers versions publish*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionPublishCall), [*containers versions restore*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionRestoreCall), [*containers versions undelete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountContainerVersionUpdateCall), [*get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountListCall), [*permissions create*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountPermissionCreateCall), [*permissions delete*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountPermissionDeleteCall), [*permissions get*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountPermissionGetCall), [*permissions list*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountPermissionListCall), [*permissions update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountPermissionUpdateCall) and [*update*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/api::AccountUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/TagManager)** +* **[Hub](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/TagManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Part)** + * **[Parts](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -112,9 +112,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-tagmanager1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -183,17 +180,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::ResponseResult), 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")`. @@ -203,29 +200,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Delegate) 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 [encodable](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tagmanager1/2.0.4+20210330/google_tagmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tagmanager1/2.0.5+20210330/google_tagmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tagmanager1/src/api.rs b/gen/tagmanager1/src/api.rs index d5f0d0b137..b523e9a476 100644 --- a/gen/tagmanager1/src/api.rs +++ b/gen/tagmanager1/src/api.rs @@ -147,7 +147,7 @@ impl<'a, > TagManager<> { TagManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://tagmanager.googleapis.com/".to_string(), _root_url: "https://tagmanager.googleapis.com/".to_string(), } @@ -158,7 +158,7 @@ impl<'a, > TagManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tagmanager1/src/client.rs b/gen/tagmanager1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/tagmanager1/src/client.rs +++ b/gen/tagmanager1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/tagmanager1/src/lib.rs b/gen/tagmanager1/src/lib.rs index 6cea112ed0..7c626d31ab 100644 --- a/gen/tagmanager1/src/lib.rs +++ b/gen/tagmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tag Manager* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Tag Manager* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Tag Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager). @@ -112,9 +112,6 @@ //! ```toml //! [dependencies] //! google-tagmanager1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/tagmanager2-cli/Cargo.toml b/gen/tagmanager2-cli/Cargo.toml index 0d6e93216c..5e539eeb8a 100644 --- a/gen/tagmanager2-cli/Cargo.toml +++ b/gen/tagmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager2-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tagmanager2] path = "../tagmanager2" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/tagmanager2-cli/README.md b/gen/tagmanager2-cli/README.md index 64cd0ec3dc..2b0d2a15c7 100644 --- a/gen/tagmanager2-cli/README.md +++ b/gen/tagmanager2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Tag Manager* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *Tag Manager* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash tagmanager2 [options] diff --git a/gen/tagmanager2-cli/mkdocs.yml b/gen/tagmanager2-cli/mkdocs.yml index cea315ab61..64139f9d2f 100644 --- a/gen/tagmanager2-cli/mkdocs.yml +++ b/gen/tagmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v2.0.4+20210330 +site_name: Tag Manager v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-tagmanager2-cli site_description: A complete library to interact with Tag Manager (protocol v2) diff --git a/gen/tagmanager2-cli/src/main.rs b/gen/tagmanager2-cli/src/main.rs index fb4932eb76..d3dee73c81 100644 --- a/gen/tagmanager2-cli/src/main.rs +++ b/gen/tagmanager2-cli/src/main.rs @@ -7809,7 +7809,7 @@ async fn main() { let mut app = App::new("tagmanager2") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("This API allows clients to access and modify container and tag configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tagmanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/tagmanager2/Cargo.toml b/gen/tagmanager2/Cargo.toml index c5d4df6790..752587ba7f 100644 --- a/gen/tagmanager2/Cargo.toml +++ b/gen/tagmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager2" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager2" homepage = "https://developers.google.com/tag-manager" -documentation = "https://docs.rs/google-tagmanager2/2.0.4+20210330" +documentation = "https://docs.rs/google-tagmanager2/2.0.5+20210330" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tagmanager2/README.md b/gen/tagmanager2/README.md index d28a361c83..af7b51048f 100644 --- a/gen/tagmanager2/README.md +++ b/gen/tagmanager2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tagmanager2` library allows access to all features of the *Google Tag Manager* service. -This documentation was generated from *Tag Manager* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Tag Manager* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Tag Manager* *v2* API can be found at the [official documentation site](https://developers.google.com/tag-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/TagManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/TagManager) ... -* [accounts](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::Account) - * [*containers create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerEnvironmentListCall), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerEnvironmentReauthorizeCall), [*containers environments update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerEnvironmentUpdateCall), [*containers get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerListCall), [*containers update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerUpdateCall), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionHeaderLatestCall), [*containers version_headers list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionHeaderListCall), [*containers versions delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionGetCall), [*containers versions live*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionLiveCall), [*containers versions publish*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionPublishCall), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionSetLatestCall), [*containers versions undelete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerVersionUpdateCall), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableCreateCall), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableDeleteCall), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableListCall), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableRevertCall), [*containers workspaces create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceCreateCall), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceCreateVersionCall), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceDeleteCall), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderCreateCall), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderDeleteCall), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderEntityCall), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderGetCall), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderListCall), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderMoveEntitiesToFolderCall), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderRevertCall), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderUpdateCall), [*containers workspaces get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceGetCall), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceGetStatuCall), [*containers workspaces list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceListCall), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceQuickPreviewCall), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceResolveConflictCall), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceSyncCall), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagCreateCall), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagDeleteCall), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagGetCall), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagListCall), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagRevertCall), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagUpdateCall), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateCreateCall), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateDeleteCall), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateGetCall), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateListCall), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateRevertCall), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateUpdateCall), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerCreateCall), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerDeleteCall), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerGetCall), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerListCall), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerRevertCall), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerUpdateCall), [*containers workspaces update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceUpdateCall), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableCreateCall), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableDeleteCall), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableGetCall), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableListCall), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableRevertCall), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableUpdateCall), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneCreateCall), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneDeleteCall), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneGetCall), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneListCall), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneRevertCall), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneUpdateCall), [*get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountListCall), [*update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountUpdateCall), [*user_permissions create*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountUserPermissionCreateCall), [*user_permissions delete*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountUserPermissionDeleteCall), [*user_permissions get*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountUserPermissionGetCall), [*user_permissions list*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountUserPermissionListCall) and [*user_permissions update*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/api::AccountUserPermissionUpdateCall) +* [accounts](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::Account) + * [*containers create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerEnvironmentListCall), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerEnvironmentReauthorizeCall), [*containers environments update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerEnvironmentUpdateCall), [*containers get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerListCall), [*containers update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerUpdateCall), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionHeaderLatestCall), [*containers version_headers list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionHeaderListCall), [*containers versions delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionGetCall), [*containers versions live*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionLiveCall), [*containers versions publish*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionPublishCall), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionSetLatestCall), [*containers versions undelete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerVersionUpdateCall), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableCreateCall), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableDeleteCall), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableListCall), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableRevertCall), [*containers workspaces create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceCreateCall), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceCreateVersionCall), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceDeleteCall), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderCreateCall), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderDeleteCall), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderEntityCall), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderGetCall), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderListCall), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderMoveEntitiesToFolderCall), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderRevertCall), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceFolderUpdateCall), [*containers workspaces get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceGetCall), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceGetStatuCall), [*containers workspaces list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceListCall), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceQuickPreviewCall), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceResolveConflictCall), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceSyncCall), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagCreateCall), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagDeleteCall), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagGetCall), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagListCall), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagRevertCall), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTagUpdateCall), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateCreateCall), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateDeleteCall), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateGetCall), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateListCall), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateRevertCall), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTemplateUpdateCall), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerCreateCall), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerDeleteCall), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerGetCall), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerListCall), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerRevertCall), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceTriggerUpdateCall), [*containers workspaces update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceUpdateCall), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableCreateCall), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableDeleteCall), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableGetCall), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableListCall), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableRevertCall), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceVariableUpdateCall), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneCreateCall), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneDeleteCall), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneGetCall), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneListCall), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneRevertCall), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountContainerWorkspaceZoneUpdateCall), [*get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountListCall), [*update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountUpdateCall), [*user_permissions create*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountUserPermissionCreateCall), [*user_permissions delete*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountUserPermissionDeleteCall), [*user_permissions get*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountUserPermissionGetCall), [*user_permissions list*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountUserPermissionListCall) and [*user_permissions update*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/api::AccountUserPermissionUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/TagManager)** +* **[Hub](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/TagManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::CallBuilder) +* **[Resources](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Part)** + * **[Parts](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,9 +143,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-tagmanager2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -214,17 +211,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Delegate), 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-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::ResponseResult), 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")`. @@ -234,29 +231,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Delegate) to the +[Method Builder](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::CallBuilder) 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-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Delegate) 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 [encodable](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::RequestValue) and -[decodable](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::RequestValue) and +[decodable](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tagmanager2/2.0.4+20210330/google_tagmanager2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::Part) 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-tagmanager2/2.0.4+20210330/google_tagmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::CallBuilder), 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-tagmanager2/2.0.4+20210330/google_tagmanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-tagmanager2/2.0.5+20210330/google_tagmanager2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tagmanager2/src/api.rs b/gen/tagmanager2/src/api.rs index 9b1acbbc52..95c658a7d7 100644 --- a/gen/tagmanager2/src/api.rs +++ b/gen/tagmanager2/src/api.rs @@ -147,7 +147,7 @@ impl<'a, > TagManager<> { TagManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://tagmanager.googleapis.com/".to_string(), _root_url: "https://tagmanager.googleapis.com/".to_string(), } @@ -158,7 +158,7 @@ impl<'a, > TagManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tagmanager2/src/client.rs b/gen/tagmanager2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/tagmanager2/src/client.rs +++ b/gen/tagmanager2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/tagmanager2/src/lib.rs b/gen/tagmanager2/src/lib.rs index 1bd36a5c7e..c08fb519e3 100644 --- a/gen/tagmanager2/src/lib.rs +++ b/gen/tagmanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tag Manager* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Tag Manager* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Tag Manager* *v2* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager). @@ -143,9 +143,6 @@ //! ```toml //! [dependencies] //! google-tagmanager2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/taskqueue1_beta2-cli/Cargo.toml b/gen/taskqueue1_beta2-cli/Cargo.toml index ac98291e6c..4401956b4b 100644 --- a/gen/taskqueue1_beta2-cli/Cargo.toml +++ b/gen/taskqueue1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-taskqueue1_beta2-cli" -version = "2.0.4+20160428" +version = "2.0.5+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/taskqueue1_beta2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-taskqueue1_beta2] path = "../taskqueue1_beta2" -version = "2.0.4+20160428" +version = "2.0.5+20160428" diff --git a/gen/taskqueue1_beta2-cli/README.md b/gen/taskqueue1_beta2-cli/README.md index f8d845c9f0..428380eb0d 100644 --- a/gen/taskqueue1_beta2-cli/README.md +++ b/gen/taskqueue1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *2.0.4*. +This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *2.0.5*. ```bash taskqueue1-beta2 [options] diff --git a/gen/taskqueue1_beta2-cli/mkdocs.yml b/gen/taskqueue1_beta2-cli/mkdocs.yml index d5dbe4a911..47dc8a8c6c 100644 --- a/gen/taskqueue1_beta2-cli/mkdocs.yml +++ b/gen/taskqueue1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: taskqueue v2.0.4+20160428 +site_name: taskqueue v2.0.5+20160428 site_url: http://byron.github.io/google-apis-rs/google-taskqueue1_beta2-cli site_description: A complete library to interact with taskqueue (protocol v1beta2) diff --git a/gen/taskqueue1_beta2-cli/src/main.rs b/gen/taskqueue1_beta2-cli/src/main.rs index eb508ca78c..079a983656 100644 --- a/gen/taskqueue1_beta2-cli/src/main.rs +++ b/gen/taskqueue1_beta2-cli/src/main.rs @@ -991,7 +991,7 @@ async fn main() { let mut app = App::new("taskqueue1-beta2") .author("Sebastian Thiel ") - .version("2.0.4+20160428") + .version("2.0.5+20160428") .about("Accesses a Google App Engine Pull Task Queue over REST.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_taskqueue1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/taskqueue1_beta2/Cargo.toml b/gen/taskqueue1_beta2/Cargo.toml index 8c24a7ff3a..399b5cf961 100644 --- a/gen/taskqueue1_beta2/Cargo.toml +++ b/gen/taskqueue1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-taskqueue1_beta2" -version = "2.0.4+20160428" +version = "2.0.5+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/taskqueue1_beta2" homepage = "https://developers.google.com/appengine/docs/python/taskqueue/rest" -documentation = "https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428" +documentation = "https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428" license = "MIT" keywords = ["taskqueue", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/taskqueue1_beta2/README.md b/gen/taskqueue1_beta2/README.md index 36155c0143..e6e43dcf84 100644 --- a/gen/taskqueue1_beta2/README.md +++ b/gen/taskqueue1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-taskqueue1_beta2` library allows access to all features of the *Google taskqueue* service. -This documentation was generated from *taskqueue* crate version *2.0.4+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *taskqueue* crate version *2.0.5+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *taskqueue* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/Taskqueue) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/Taskqueue) ... * taskqueues - * [*get*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskqueueGetCall) -* [tasks](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::Task) - * [*delete*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskDeleteCall), [*get*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskGetCall), [*insert*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskInsertCall), [*lease*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskLeaseCall), [*list*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskListCall), [*patch*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskPatchCall) and [*update*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/api::TaskUpdateCall) + * [*get*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskqueueGetCall) +* [tasks](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::Task) + * [*delete*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskDeleteCall), [*get*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskGetCall), [*insert*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskInsertCall), [*lease*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskLeaseCall), [*list*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskListCall), [*patch*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskPatchCall) and [*update*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/api::TaskUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/Taskqueue)** +* **[Hub](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/Taskqueue)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -72,9 +72,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-taskqueue1_beta2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Delegate) 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 [encodable](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-taskqueue1_beta2/2.0.4+20160428/google_taskqueue1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-taskqueue1_beta2/2.0.5+20160428/google_taskqueue1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/taskqueue1_beta2/src/api.rs b/gen/taskqueue1_beta2/src/api.rs index 6e47c8148e..775d16e43f 100644 --- a/gen/taskqueue1_beta2/src/api.rs +++ b/gen/taskqueue1_beta2/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Taskqueue<> { Taskqueue { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/taskqueue/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Taskqueue<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/taskqueue1_beta2/src/client.rs b/gen/taskqueue1_beta2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/taskqueue1_beta2/src/client.rs +++ b/gen/taskqueue1_beta2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/taskqueue1_beta2/src/lib.rs b/gen/taskqueue1_beta2/src/lib.rs index 6e2bec3de4..3af449045c 100644 --- a/gen/taskqueue1_beta2/src/lib.rs +++ b/gen/taskqueue1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *taskqueue* crate version *2.0.4+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *taskqueue* crate version *2.0.5+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *taskqueue* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). @@ -72,9 +72,6 @@ //! ```toml //! [dependencies] //! google-taskqueue1_beta2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/tasks1-cli/Cargo.toml b/gen/tasks1-cli/Cargo.toml index 5ebc3ddfea..3a82f83a96 100644 --- a/gen/tasks1-cli/Cargo.toml +++ b/gen/tasks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tasks1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tasks1-cli" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tasks1] path = "../tasks1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/tasks1-cli/README.md b/gen/tasks1-cli/README.md index e16a02f564..4cfd7d396d 100644 --- a/gen/tasks1-cli/README.md +++ b/gen/tasks1-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Tasks* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *Tasks* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash tasks1 [options] diff --git a/gen/tasks1-cli/mkdocs.yml b/gen/tasks1-cli/mkdocs.yml index d781c14013..d35e46c5d4 100644 --- a/gen/tasks1-cli/mkdocs.yml +++ b/gen/tasks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tasks v2.0.4+20210329 +site_name: Tasks v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-tasks1-cli site_description: A complete library to interact with Tasks (protocol v1) diff --git a/gen/tasks1-cli/src/main.rs b/gen/tasks1-cli/src/main.rs index ab18392ac8..bba20b0adb 100644 --- a/gen/tasks1-cli/src/main.rs +++ b/gen/tasks1-cli/src/main.rs @@ -1537,7 +1537,7 @@ async fn main() { let mut app = App::new("tasks1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("The Google Tasks API lets you manage your tasks and task lists.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tasks1_cli") .arg(Arg::with_name("url") diff --git a/gen/tasks1/Cargo.toml b/gen/tasks1/Cargo.toml index 4f39de1c88..402aac643a 100644 --- a/gen/tasks1/Cargo.toml +++ b/gen/tasks1/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-tasks1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tasks1" -documentation = "https://docs.rs/google-tasks1/2.0.4+20210329" +documentation = "https://docs.rs/google-tasks1/2.0.5+20210329" license = "MIT" keywords = ["tasks", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tasks1/README.md b/gen/tasks1/README.md index e187cd0b50..2c378567b4 100644 --- a/gen/tasks1/README.md +++ b/gen/tasks1/README.md @@ -5,15 +5,15 @@ DO NOT EDIT ! --> The `google-tasks1` library allows access to all features of the *Google Tasks* service. -This documentation was generated from *Tasks* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Tasks* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/TasksHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/TasksHub) ... * tasklists - * [*delete*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TasklistDeleteCall), [*get*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TasklistGetCall), [*insert*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TasklistInsertCall), [*list*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TasklistListCall), [*patch*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TasklistPatchCall) and [*update*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TasklistUpdateCall) -* [tasks](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::Task) - * [*clear*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskClearCall), [*delete*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskDeleteCall), [*get*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskGetCall), [*insert*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskInsertCall), [*list*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskListCall), [*move*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskMoveCall), [*patch*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskPatchCall) and [*update*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/api::TaskUpdateCall) + * [*delete*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TasklistDeleteCall), [*get*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TasklistGetCall), [*insert*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TasklistInsertCall), [*list*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TasklistListCall), [*patch*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TasklistPatchCall) and [*update*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TasklistUpdateCall) +* [tasks](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::Task) + * [*clear*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskClearCall), [*delete*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskDeleteCall), [*get*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskGetCall), [*insert*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskInsertCall), [*list*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskListCall), [*move*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskMoveCall), [*patch*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskPatchCall) and [*update*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/api::TaskUpdateCall) @@ -22,17 +22,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/TasksHub)** +* **[Hub](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/TasksHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Part)** + * **[Parts](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -70,9 +70,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-tasks1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -142,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Delegate) 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 [encodable](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::RequestValue) and -[decodable](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::RequestValue) and +[decodable](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tasks1/2.0.4+20210329/google_tasks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tasks1/2.0.5+20210329/google_tasks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tasks1/src/api.rs b/gen/tasks1/src/api.rs index 138d423b3e..1c0b61350b 100644 --- a/gen/tasks1/src/api.rs +++ b/gen/tasks1/src/api.rs @@ -128,7 +128,7 @@ impl<'a, > TasksHub<> { TasksHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://tasks.googleapis.com/".to_string(), _root_url: "https://tasks.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > TasksHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tasks1/src/client.rs b/gen/tasks1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/tasks1/src/client.rs +++ b/gen/tasks1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/tasks1/src/lib.rs b/gen/tasks1/src/lib.rs index 9c9eac78b3..b65f13ea22 100644 --- a/gen/tasks1/src/lib.rs +++ b/gen/tasks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tasks* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Tasks* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/tasks1). //! # Features //! @@ -70,9 +70,6 @@ //! ```toml //! [dependencies] //! google-tasks1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/testing1-cli/Cargo.toml b/gen/testing1-cli/Cargo.toml index 77fd2a575c..f5da1efc93 100644 --- a/gen/testing1-cli/Cargo.toml +++ b/gen/testing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-testing1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with testing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/testing1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-testing1] path = "../testing1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/testing1-cli/README.md b/gen/testing1-cli/README.md index 64aa3b3faf..63228f0ca8 100644 --- a/gen/testing1-cli/README.md +++ b/gen/testing1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *testing* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *testing* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash testing1 [options] diff --git a/gen/testing1-cli/mkdocs.yml b/gen/testing1-cli/mkdocs.yml index 88ce39ed8b..a1a8416cb9 100644 --- a/gen/testing1-cli/mkdocs.yml +++ b/gen/testing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: testing v2.0.4+20210326 +site_name: testing v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-testing1-cli site_description: A complete library to interact with testing (protocol v1) diff --git a/gen/testing1-cli/src/main.rs b/gen/testing1-cli/src/main.rs index 410067dd41..ebd8017bfd 100644 --- a/gen/testing1-cli/src/main.rs +++ b/gen/testing1-cli/src/main.rs @@ -687,7 +687,7 @@ async fn main() { let mut app = App::new("testing1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Allows developers to run automated tests for their mobile applications on Google infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_testing1_cli") .arg(Arg::with_name("url") diff --git a/gen/testing1/Cargo.toml b/gen/testing1/Cargo.toml index af9da12886..41b61c31a1 100644 --- a/gen/testing1/Cargo.toml +++ b/gen/testing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-testing1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with testing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/testing1" homepage = "https://developers.google.com/cloud-test-lab/" -documentation = "https://docs.rs/google-testing1/2.0.4+20210326" +documentation = "https://docs.rs/google-testing1/2.0.5+20210326" license = "MIT" keywords = ["testing", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/testing1/README.md b/gen/testing1/README.md index 7da203e895..24ba6f3186 100644 --- a/gen/testing1/README.md +++ b/gen/testing1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-testing1` library allows access to all features of the *Google testing* service. -This documentation was generated from *testing* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *testing* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *testing* *v1* API can be found at the [official documentation site](https://developers.google.com/cloud-test-lab/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/Testing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/Testing) ... * application detail service - * [*get apk details*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::ApplicationDetailServiceGetApkDetailCall) + * [*get apk details*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/api::ApplicationDetailServiceGetApkDetailCall) * projects - * [*test matrices cancel*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::ProjectTestMatriceCancelCall), [*test matrices create*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::ProjectTestMatriceCreateCall) and [*test matrices get*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::ProjectTestMatriceGetCall) -* [test environment catalog](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::TestEnvironmentCatalog) - * [*get*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/api::TestEnvironmentCatalogGetCall) + * [*test matrices cancel*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/api::ProjectTestMatriceCancelCall), [*test matrices create*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/api::ProjectTestMatriceCreateCall) and [*test matrices get*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/api::ProjectTestMatriceGetCall) +* [test environment catalog](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/api::TestEnvironmentCatalog) + * [*get*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/api::TestEnvironmentCatalogGetCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/Testing)** +* **[Hub](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/Testing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::CallBuilder) -* **[Resources](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::CallBuilder) +* **[Resources](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Part)** + * **[Parts](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-testing1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Delegate), 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-testing1/2.0.4+20210326/google_testing1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Delegate) to the -[Method Builder](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Delegate) to the +[Method Builder](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::CallBuilder) 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-testing1/2.0.4+20210326/google_testing1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Delegate) 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 [encodable](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::RequestValue) and -[decodable](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::RequestValue) and +[decodable](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-testing1/2.0.4+20210326/google_testing1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::Part) 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-testing1/2.0.4+20210326/google_testing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::CallBuilder), 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-testing1/2.0.4+20210326/google_testing1/client::RequestValue) are moved +* [request values](https://docs.rs/google-testing1/2.0.5+20210326/google_testing1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/testing1/src/api.rs b/gen/testing1/src/api.rs index 60fb691c00..f1b0179a50 100644 --- a/gen/testing1/src/api.rs +++ b/gen/testing1/src/api.rs @@ -125,7 +125,7 @@ impl<'a, > Testing<> { Testing { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://testing.googleapis.com/".to_string(), _root_url: "https://testing.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > Testing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/testing1/src/client.rs b/gen/testing1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/testing1/src/client.rs +++ b/gen/testing1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/testing1/src/lib.rs b/gen/testing1/src/lib.rs index b20b11337d..f08c44e58c 100644 --- a/gen/testing1/src/lib.rs +++ b/gen/testing1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *testing* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *testing* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *testing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-test-lab/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-testing1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/texttospeech1-cli/Cargo.toml b/gen/texttospeech1-cli/Cargo.toml index 806f4e80db..76d5b4b0c4 100644 --- a/gen/texttospeech1-cli/Cargo.toml +++ b/gen/texttospeech1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-texttospeech1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Texttospeech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/texttospeech1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-texttospeech1] path = "../texttospeech1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/texttospeech1-cli/README.md b/gen/texttospeech1-cli/README.md index aa4576bb34..5c595f117d 100644 --- a/gen/texttospeech1-cli/README.md +++ b/gen/texttospeech1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Texttospeech* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Texttospeech* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash texttospeech1 [options] diff --git a/gen/texttospeech1-cli/mkdocs.yml b/gen/texttospeech1-cli/mkdocs.yml index 76a13617f1..ae6b9125e5 100644 --- a/gen/texttospeech1-cli/mkdocs.yml +++ b/gen/texttospeech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Texttospeech v2.0.4+20210326 +site_name: Texttospeech v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-texttospeech1-cli site_description: A complete library to interact with Texttospeech (protocol v1) diff --git a/gen/texttospeech1-cli/src/main.rs b/gen/texttospeech1-cli/src/main.rs index 7cee2fcfd2..8b825cf616 100644 --- a/gen/texttospeech1-cli/src/main.rs +++ b/gen/texttospeech1-cli/src/main.rs @@ -338,7 +338,7 @@ async fn main() { let mut app = App::new("texttospeech1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("Synthesizes natural-sounding speech by applying powerful neural network models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_texttospeech1_cli") .arg(Arg::with_name("url") diff --git a/gen/texttospeech1/Cargo.toml b/gen/texttospeech1/Cargo.toml index 7a25320324..12f0ce5076 100644 --- a/gen/texttospeech1/Cargo.toml +++ b/gen/texttospeech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-texttospeech1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Texttospeech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/texttospeech1" homepage = "https://cloud.google.com/text-to-speech/" -documentation = "https://docs.rs/google-texttospeech1/2.0.4+20210326" +documentation = "https://docs.rs/google-texttospeech1/2.0.5+20210326" license = "MIT" keywords = ["texttospeech", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/texttospeech1/README.md b/gen/texttospeech1/README.md index 1dd8b233da..10faf9a16d 100644 --- a/gen/texttospeech1/README.md +++ b/gen/texttospeech1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-texttospeech1` library allows access to all features of the *Google Texttospeech* service. -This documentation was generated from *Texttospeech* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Texttospeech* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Texttospeech* *v1* API can be found at the [official documentation site](https://cloud.google.com/text-to-speech/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/Texttospeech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/Texttospeech) ... * text - * [*synthesize*](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/api::TextSynthesizeCall) -* [voices](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/api::Voice) - * [*list*](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/api::VoiceListCall) + * [*synthesize*](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/api::TextSynthesizeCall) +* [voices](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/api::Voice) + * [*list*](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/api::VoiceListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/Texttospeech)** +* **[Hub](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/Texttospeech)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::CallBuilder) -* **[Resources](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::CallBuilder) +* **[Resources](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Part)** + * **[Parts](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-texttospeech1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -129,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Delegate), 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-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Delegate) to the -[Method Builder](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Delegate) to the +[Method Builder](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::CallBuilder) 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-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Delegate) 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 [encodable](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::RequestValue) and -[decodable](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::RequestValue) and +[decodable](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-texttospeech1/2.0.4+20210326/google_texttospeech1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::Part) 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-texttospeech1/2.0.4+20210326/google_texttospeech1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::CallBuilder), 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-texttospeech1/2.0.4+20210326/google_texttospeech1/client::RequestValue) are moved +* [request values](https://docs.rs/google-texttospeech1/2.0.5+20210326/google_texttospeech1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/texttospeech1/src/api.rs b/gen/texttospeech1/src/api.rs index c82a94d7b5..fae6fea158 100644 --- a/gen/texttospeech1/src/api.rs +++ b/gen/texttospeech1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > Texttospeech<> { Texttospeech { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://texttospeech.googleapis.com/".to_string(), _root_url: "https://texttospeech.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > Texttospeech<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/texttospeech1/src/client.rs b/gen/texttospeech1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/texttospeech1/src/client.rs +++ b/gen/texttospeech1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/texttospeech1/src/lib.rs b/gen/texttospeech1/src/lib.rs index 4440c91d04..8d3e67bd0a 100644 --- a/gen/texttospeech1/src/lib.rs +++ b/gen/texttospeech1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Texttospeech* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Texttospeech* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Texttospeech* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/text-to-speech/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-texttospeech1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/tpu1-cli/Cargo.toml b/gen/tpu1-cli/Cargo.toml index 1c0df11677..d54eb8afeb 100644 --- a/gen/tpu1-cli/Cargo.toml +++ b/gen/tpu1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tpu1-cli" -version = "2.0.4+20210217" +version = "2.0.5+20210217" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tpu1] path = "../tpu1" -version = "2.0.4+20210217" +version = "2.0.5+20210217" diff --git a/gen/tpu1-cli/README.md b/gen/tpu1-cli/README.md index 087e39222f..c899b0c8bc 100644 --- a/gen/tpu1-cli/README.md +++ b/gen/tpu1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *TPU* API at revision *20210217*. The CLI is at version *2.0.4*. +This documentation was generated from the *TPU* API at revision *20210217*. The CLI is at version *2.0.5*. ```bash tpu1 [options] diff --git a/gen/tpu1-cli/mkdocs.yml b/gen/tpu1-cli/mkdocs.yml index 1f4861d882..199e188664 100644 --- a/gen/tpu1-cli/mkdocs.yml +++ b/gen/tpu1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v2.0.4+20210217 +site_name: TPU v2.0.5+20210217 site_url: http://byron.github.io/google-apis-rs/google-tpu1-cli site_description: A complete library to interact with TPU (protocol v1) diff --git a/gen/tpu1-cli/src/main.rs b/gen/tpu1-cli/src/main.rs index 941b15f1d9..cc4f59d19a 100644 --- a/gen/tpu1-cli/src/main.rs +++ b/gen/tpu1-cli/src/main.rs @@ -1668,7 +1668,7 @@ async fn main() { let mut app = App::new("tpu1") .author("Sebastian Thiel ") - .version("2.0.4+20210217") + .version("2.0.5+20210217") .about("TPU API provides customers with access to Google TPU technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tpu1_cli") .arg(Arg::with_name("url") diff --git a/gen/tpu1/Cargo.toml b/gen/tpu1/Cargo.toml index c41d789160..8df53ce642 100644 --- a/gen/tpu1/Cargo.toml +++ b/gen/tpu1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1" -version = "2.0.4+20210217" +version = "2.0.5+20210217" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1" homepage = "https://cloud.google.com/tpu/" -documentation = "https://docs.rs/google-tpu1/2.0.4+20210217" +documentation = "https://docs.rs/google-tpu1/2.0.5+20210217" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tpu1/README.md b/gen/tpu1/README.md index 50e151245c..b223b2c69e 100644 --- a/gen/tpu1/README.md +++ b/gen/tpu1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tpu1` library allows access to all features of the *Google TPU* service. -This documentation was generated from *TPU* crate version *2.0.4+20210217*, where *20210217* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *TPU* crate version *2.0.5+20210217*, where *20210217* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *TPU* *v1* API can be found at the [official documentation site](https://cloud.google.com/tpu/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/TPU) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/TPU) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/api::ProjectLocationTensorflowVersionListCall) + * [*locations accelerator types get*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/api::ProjectLocationTensorflowVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/TPU)** +* **[Hub](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/TPU)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Part)** + * **[Parts](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-tpu1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Delegate), 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-tpu1/2.0.4+20210217/google_tpu1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::CallBuilder) 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-tpu1/2.0.4+20210217/google_tpu1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Delegate) 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 [encodable](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::RequestValue) and -[decodable](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::RequestValue) and +[decodable](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tpu1/2.0.4+20210217/google_tpu1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::Part) 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-tpu1/2.0.4+20210217/google_tpu1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::CallBuilder), 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-tpu1/2.0.4+20210217/google_tpu1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tpu1/2.0.5+20210217/google_tpu1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tpu1/src/api.rs b/gen/tpu1/src/api.rs index b676cf2c59..2fd18e199b 100644 --- a/gen/tpu1/src/api.rs +++ b/gen/tpu1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > TPU<> { TPU { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://tpu.googleapis.com/".to_string(), _root_url: "https://tpu.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > TPU<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tpu1/src/client.rs b/gen/tpu1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/tpu1/src/client.rs +++ b/gen/tpu1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/tpu1/src/lib.rs b/gen/tpu1/src/lib.rs index eac3533c2c..c51892d126 100644 --- a/gen/tpu1/src/lib.rs +++ b/gen/tpu1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *TPU* crate version *2.0.4+20210217*, where *20210217* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *TPU* crate version *2.0.5+20210217*, where *20210217* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *TPU* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-tpu1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/tpu1_alpha1-cli/Cargo.toml b/gen/tpu1_alpha1-cli/Cargo.toml index eeec282c30..b5b3c90e3d 100644 --- a/gen/tpu1_alpha1-cli/Cargo.toml +++ b/gen/tpu1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tpu1_alpha1-cli" -version = "2.0.4+20210217" +version = "2.0.5+20210217" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1_alpha1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tpu1_alpha1] path = "../tpu1_alpha1" -version = "2.0.4+20210217" +version = "2.0.5+20210217" diff --git a/gen/tpu1_alpha1-cli/README.md b/gen/tpu1_alpha1-cli/README.md index db4a829f50..310d72bd42 100644 --- a/gen/tpu1_alpha1-cli/README.md +++ b/gen/tpu1_alpha1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *TPU* API at revision *20210217*. The CLI is at version *2.0.4*. +This documentation was generated from the *TPU* API at revision *20210217*. The CLI is at version *2.0.5*. ```bash tpu1-alpha1 [options] diff --git a/gen/tpu1_alpha1-cli/mkdocs.yml b/gen/tpu1_alpha1-cli/mkdocs.yml index 7b5130f8be..65fe9d7774 100644 --- a/gen/tpu1_alpha1-cli/mkdocs.yml +++ b/gen/tpu1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v2.0.4+20210217 +site_name: TPU v2.0.5+20210217 site_url: http://byron.github.io/google-apis-rs/google-tpu1_alpha1-cli site_description: A complete library to interact with TPU (protocol v1alpha1) diff --git a/gen/tpu1_alpha1-cli/src/main.rs b/gen/tpu1_alpha1-cli/src/main.rs index 5798422dff..c5150df9e9 100644 --- a/gen/tpu1_alpha1-cli/src/main.rs +++ b/gen/tpu1_alpha1-cli/src/main.rs @@ -1668,7 +1668,7 @@ async fn main() { let mut app = App::new("tpu1-alpha1") .author("Sebastian Thiel ") - .version("2.0.4+20210217") + .version("2.0.5+20210217") .about("TPU API provides customers with access to Google TPU technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tpu1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/tpu1_alpha1/Cargo.toml b/gen/tpu1_alpha1/Cargo.toml index 254cc5bc85..8311bbf58b 100644 --- a/gen/tpu1_alpha1/Cargo.toml +++ b/gen/tpu1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1_alpha1" -version = "2.0.4+20210217" +version = "2.0.5+20210217" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1_alpha1" homepage = "https://cloud.google.com/tpu/" -documentation = "https://docs.rs/google-tpu1_alpha1/2.0.4+20210217" +documentation = "https://docs.rs/google-tpu1_alpha1/2.0.5+20210217" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/tpu1_alpha1/README.md b/gen/tpu1_alpha1/README.md index b6cf9fb96d..7489277445 100644 --- a/gen/tpu1_alpha1/README.md +++ b/gen/tpu1_alpha1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tpu1_alpha1` library allows access to all features of the *Google TPU* service. -This documentation was generated from *TPU* crate version *2.0.4+20210217*, where *20210217* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *TPU* crate version *2.0.5+20210217*, where *20210217* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *TPU* *v1_alpha1* API can be found at the [official documentation site](https://cloud.google.com/tpu/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/TPU) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/TPU) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionListCall) + * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/TPU)** +* **[Hub](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/TPU)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-tpu1_alpha1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -138,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Delegate), 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-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::CallBuilder) 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-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Delegate) 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 [encodable](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::Part) 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-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::CallBuilder), 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-tpu1_alpha1/2.0.4+20210217/google_tpu1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tpu1_alpha1/2.0.5+20210217/google_tpu1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tpu1_alpha1/src/api.rs b/gen/tpu1_alpha1/src/api.rs index 1058f1c6eb..ed93c2f150 100644 --- a/gen/tpu1_alpha1/src/api.rs +++ b/gen/tpu1_alpha1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > TPU<> { TPU { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://tpu.googleapis.com/".to_string(), _root_url: "https://tpu.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > TPU<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tpu1_alpha1/src/client.rs b/gen/tpu1_alpha1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/tpu1_alpha1/src/client.rs +++ b/gen/tpu1_alpha1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/tpu1_alpha1/src/lib.rs b/gen/tpu1_alpha1/src/lib.rs index a60daf2b5f..0d69f227d4 100644 --- a/gen/tpu1_alpha1/src/lib.rs +++ b/gen/tpu1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *TPU* crate version *2.0.4+20210217*, where *20210217* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *TPU* crate version *2.0.5+20210217*, where *20210217* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *TPU* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-tpu1_alpha1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/transcoder1_beta1-cli/Cargo.toml b/gen/transcoder1_beta1-cli/Cargo.toml index 25b91403dc..ab684eac3c 100644 --- a/gen/transcoder1_beta1-cli/Cargo.toml +++ b/gen/transcoder1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-transcoder1_beta1-cli" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Transcoder (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/transcoder1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-transcoder1_beta1] path = "../transcoder1_beta1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" diff --git a/gen/transcoder1_beta1-cli/README.md b/gen/transcoder1_beta1-cli/README.md index 7126f5f78a..62ccb1a6dc 100644 --- a/gen/transcoder1_beta1-cli/README.md +++ b/gen/transcoder1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Transcoder* API at revision *20210323*. The CLI is at version *2.0.4*. +This documentation was generated from the *Transcoder* API at revision *20210323*. The CLI is at version *2.0.5*. ```bash transcoder1-beta1 [options] diff --git a/gen/transcoder1_beta1-cli/mkdocs.yml b/gen/transcoder1_beta1-cli/mkdocs.yml index b0f0cfcc8d..5086111bc7 100644 --- a/gen/transcoder1_beta1-cli/mkdocs.yml +++ b/gen/transcoder1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Transcoder v2.0.4+20210323 +site_name: Transcoder v2.0.5+20210323 site_url: http://byron.github.io/google-apis-rs/google-transcoder1_beta1-cli site_description: A complete library to interact with Transcoder (protocol v1beta1) diff --git a/gen/transcoder1_beta1-cli/src/main.rs b/gen/transcoder1_beta1-cli/src/main.rs index 8ea9536b77..b5d33dbbb9 100644 --- a/gen/transcoder1_beta1-cli/src/main.rs +++ b/gen/transcoder1_beta1-cli/src/main.rs @@ -864,7 +864,7 @@ async fn main() { let mut app = App::new("transcoder1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20210323") + .version("2.0.5+20210323") .about("This API converts video files into formats suitable for consumer distribution. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_transcoder1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/transcoder1_beta1/Cargo.toml b/gen/transcoder1_beta1/Cargo.toml index 20649e7ab7..e789fb7996 100644 --- a/gen/transcoder1_beta1/Cargo.toml +++ b/gen/transcoder1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-transcoder1_beta1" -version = "2.0.4+20210323" +version = "2.0.5+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Transcoder (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/transcoder1_beta1" homepage = "https://cloud.google.com/transcoder/docs/" -documentation = "https://docs.rs/google-transcoder1_beta1/2.0.4+20210323" +documentation = "https://docs.rs/google-transcoder1_beta1/2.0.5+20210323" license = "MIT" keywords = ["transcoder", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/transcoder1_beta1/README.md b/gen/transcoder1_beta1/README.md index b72f1a3236..24cf0ebd81 100644 --- a/gen/transcoder1_beta1/README.md +++ b/gen/transcoder1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-transcoder1_beta1` library allows access to all features of the *Google Transcoder* service. -This documentation was generated from *Transcoder* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Transcoder* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Transcoder* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/transcoder/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/Transcoder) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/Transcoder) ... * projects - * [*locations job templates create*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/api::ProjectLocationJobListCall) + * [*locations job templates create*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/api::ProjectLocationJobListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/Transcoder)** +* **[Hub](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/Transcoder)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-transcoder1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -133,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Delegate), 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-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::ResponseResult), 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")`. @@ -153,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::CallBuilder) 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-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::Part) 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-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::CallBuilder), 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-transcoder1_beta1/2.0.4+20210323/google_transcoder1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-transcoder1_beta1/2.0.5+20210323/google_transcoder1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/transcoder1_beta1/src/api.rs b/gen/transcoder1_beta1/src/api.rs index 98ae67cfda..ede5787fa6 100644 --- a/gen/transcoder1_beta1/src/api.rs +++ b/gen/transcoder1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Transcoder<> { Transcoder { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://transcoder.googleapis.com/".to_string(), _root_url: "https://transcoder.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Transcoder<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/transcoder1_beta1/src/client.rs b/gen/transcoder1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/transcoder1_beta1/src/client.rs +++ b/gen/transcoder1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/transcoder1_beta1/src/lib.rs b/gen/transcoder1_beta1/src/lib.rs index d69d26dd3b..d2ce205b49 100644 --- a/gen/transcoder1_beta1/src/lib.rs +++ b/gen/transcoder1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Transcoder* crate version *2.0.4+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Transcoder* crate version *2.0.5+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Transcoder* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/transcoder/docs/). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-transcoder1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/translate2-cli/Cargo.toml b/gen/translate2-cli/Cargo.toml index 129cbaa785..d8a2cdbffb 100644 --- a/gen/translate2-cli/Cargo.toml +++ b/gen/translate2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-translate2-cli" -version = "2.0.4+20170525" +version = "2.0.5+20170525" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate2-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-translate2] path = "../translate2" -version = "2.0.4+20170525" +version = "2.0.5+20170525" diff --git a/gen/translate2-cli/README.md b/gen/translate2-cli/README.md index 22ed097c5c..6e5a23ff8c 100644 --- a/gen/translate2-cli/README.md +++ b/gen/translate2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Translate* API at revision *20170525*. The CLI is at version *2.0.4*. +This documentation was generated from the *Translate* API at revision *20170525*. The CLI is at version *2.0.5*. ```bash translate2 [options] diff --git a/gen/translate2-cli/mkdocs.yml b/gen/translate2-cli/mkdocs.yml index 3fbfade7ea..927aaaf003 100644 --- a/gen/translate2-cli/mkdocs.yml +++ b/gen/translate2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v2.0.4+20170525 +site_name: Translate v2.0.5+20170525 site_url: http://byron.github.io/google-apis-rs/google-translate2-cli site_description: A complete library to interact with Translate (protocol v2) diff --git a/gen/translate2-cli/src/main.rs b/gen/translate2-cli/src/main.rs index 36fd72567d..da6c0a01ca 100644 --- a/gen/translate2-cli/src/main.rs +++ b/gen/translate2-cli/src/main.rs @@ -633,7 +633,7 @@ async fn main() { let mut app = App::new("translate2") .author("Sebastian Thiel ") - .version("2.0.4+20170525") + .version("2.0.5+20170525") .about("The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_translate2_cli") diff --git a/gen/translate2/Cargo.toml b/gen/translate2/Cargo.toml index a109157cbd..78c572b76e 100644 --- a/gen/translate2/Cargo.toml +++ b/gen/translate2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate2" -version = "2.0.4+20170525" +version = "2.0.5+20170525" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate2" homepage = "https://code.google.com/apis/language/translate/v2/getting_started.html" -documentation = "https://docs.rs/google-translate2/2.0.4+20170525" +documentation = "https://docs.rs/google-translate2/2.0.5+20170525" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/translate2/README.md b/gen/translate2/README.md index b5c5278909..64c0bdfeb7 100644 --- a/gen/translate2/README.md +++ b/gen/translate2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-translate2` library allows access to all features of the *Google Translate* service. -This documentation was generated from *Translate* crate version *2.0.4+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Translate* crate version *2.0.5+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Translate* *v2* API can be found at the [official documentation site](https://code.google.com/apis/language/translate/v2/getting_started.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/Translate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/Translate) ... * detections - * [*detect*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/api::DetectionDetectCall) and [*list*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/api::DetectionListCall) + * [*detect*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/api::DetectionDetectCall) and [*list*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/api::DetectionListCall) * languages - * [*list*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/api::LanguageListCall) + * [*list*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/api::LanguageListCall) * translations - * [*list*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/api::TranslationListCall) and [*translate*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/api::TranslationTranslateCall) + * [*list*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/api::TranslationListCall) and [*translate*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/api::TranslationTranslateCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/Translate)** +* **[Hub](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/Translate)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::CallBuilder) -* **[Resources](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::CallBuilder) +* **[Resources](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Part)** + * **[Parts](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -69,9 +69,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-translate2 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -137,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Delegate) to the -[Method Builder](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Delegate) to the +[Method Builder](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Delegate) 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 [encodable](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::RequestValue) and -[decodable](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::RequestValue) and +[decodable](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-translate2/2.0.4+20170525/google_translate2/client::RequestValue) are moved +* [request values](https://docs.rs/google-translate2/2.0.5+20170525/google_translate2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/translate2/src/api.rs b/gen/translate2/src/api.rs index 695205670c..bb56beeb84 100644 --- a/gen/translate2/src/api.rs +++ b/gen/translate2/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Translate<> { Translate { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://translation.googleapis.com/language/translate/".to_string(), _root_url: "https://translation.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > Translate<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/translate2/src/client.rs b/gen/translate2/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/translate2/src/client.rs +++ b/gen/translate2/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/translate2/src/lib.rs b/gen/translate2/src/lib.rs index a81a6bc1c5..1cc160010e 100644 --- a/gen/translate2/src/lib.rs +++ b/gen/translate2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Translate* crate version *2.0.4+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Translate* crate version *2.0.5+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Translate* *v2* API can be found at the //! [official documentation site](https://code.google.com/apis/language/translate/v2/getting_started.html). @@ -69,9 +69,6 @@ //! ```toml //! [dependencies] //! google-translate2 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/translate3-cli/Cargo.toml b/gen/translate3-cli/Cargo.toml index a6507815cf..052e949289 100644 --- a/gen/translate3-cli/Cargo.toml +++ b/gen/translate3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-translate3-cli" -version = "2.0.4+20210312" +version = "2.0.5+20210312" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-translate3] path = "../translate3" -version = "2.0.4+20210312" +version = "2.0.5+20210312" diff --git a/gen/translate3-cli/README.md b/gen/translate3-cli/README.md index a798081db4..7bdb61e02a 100644 --- a/gen/translate3-cli/README.md +++ b/gen/translate3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Translate* API at revision *20210312*. The CLI is at version *2.0.4*. +This documentation was generated from the *Translate* API at revision *20210312*. The CLI is at version *2.0.5*. ```bash translate3 [options] diff --git a/gen/translate3-cli/mkdocs.yml b/gen/translate3-cli/mkdocs.yml index 26d31617db..adf78eace8 100644 --- a/gen/translate3-cli/mkdocs.yml +++ b/gen/translate3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v2.0.4+20210312 +site_name: Translate v2.0.5+20210312 site_url: http://byron.github.io/google-apis-rs/google-translate3-cli site_description: A complete library to interact with Translate (protocol v3) diff --git a/gen/translate3-cli/src/main.rs b/gen/translate3-cli/src/main.rs index 8dfd1136f9..0c02cd3fe1 100644 --- a/gen/translate3-cli/src/main.rs +++ b/gen/translate3-cli/src/main.rs @@ -1904,7 +1904,7 @@ async fn main() { let mut app = App::new("translate3") .author("Sebastian Thiel ") - .version("2.0.4+20210312") + .version("2.0.5+20210312") .about("Integrates text translation into your website or application.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_translate3_cli") .arg(Arg::with_name("url") diff --git a/gen/translate3/Cargo.toml b/gen/translate3/Cargo.toml index 0afea2f5f2..47801f9d4c 100644 --- a/gen/translate3/Cargo.toml +++ b/gen/translate3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate3" -version = "2.0.4+20210312" +version = "2.0.5+20210312" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate3" homepage = "https://cloud.google.com/translate/docs/quickstarts" -documentation = "https://docs.rs/google-translate3/2.0.4+20210312" +documentation = "https://docs.rs/google-translate3/2.0.5+20210312" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/translate3/README.md b/gen/translate3/README.md index ec83e72704..3137a0ec09 100644 --- a/gen/translate3/README.md +++ b/gen/translate3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-translate3` library allows access to all features of the *Google Translate* service. -This documentation was generated from *Translate* crate version *2.0.4+20210312*, where *20210312* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Translate* crate version *2.0.5+20210312*, where *20210312* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Translate* *v3* API can be found at the [official documentation site](https://cloud.google.com/translate/docs/quickstarts). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/Translate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/Translate) ... * projects - * [*detect language*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectDetectLanguageCall), [*get supported languages*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectGetSupportedLanguageCall), [*locations batch translate text*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationBatchTranslateTextCall), [*locations detect language*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationDetectLanguageCall), [*locations get*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationGetCall), [*locations get supported languages*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationGetSupportedLanguageCall), [*locations glossaries create*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationGlossaryCreateCall), [*locations glossaries delete*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationGlossaryDeleteCall), [*locations glossaries get*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationGlossaryGetCall), [*locations glossaries list*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationGlossaryListCall), [*locations list*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationOperationWaitCall), [*locations translate text*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectLocationTranslateTextCall) and [*translate text*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/api::ProjectTranslateTextCall) + * [*detect language*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectDetectLanguageCall), [*get supported languages*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectGetSupportedLanguageCall), [*locations batch translate text*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationBatchTranslateTextCall), [*locations detect language*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationDetectLanguageCall), [*locations get*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationGetCall), [*locations get supported languages*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationGetSupportedLanguageCall), [*locations glossaries create*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationGlossaryCreateCall), [*locations glossaries delete*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationGlossaryDeleteCall), [*locations glossaries get*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationGlossaryGetCall), [*locations glossaries list*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationGlossaryListCall), [*locations list*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationOperationWaitCall), [*locations translate text*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectLocationTranslateTextCall) and [*translate text*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/api::ProjectTranslateTextCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/Translate)** +* **[Hub](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/Translate)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::CallBuilder) -* **[Resources](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::CallBuilder) +* **[Resources](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Part)** + * **[Parts](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-translate3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Delegate), 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-translate3/2.0.4+20210312/google_translate3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Delegate) to the -[Method Builder](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Delegate) to the +[Method Builder](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::CallBuilder) 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-translate3/2.0.4+20210312/google_translate3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Delegate) 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 [encodable](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::RequestValue) and -[decodable](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::RequestValue) and +[decodable](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-translate3/2.0.4+20210312/google_translate3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::Part) 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-translate3/2.0.4+20210312/google_translate3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::CallBuilder), 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-translate3/2.0.4+20210312/google_translate3/client::RequestValue) are moved +* [request values](https://docs.rs/google-translate3/2.0.5+20210312/google_translate3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/translate3/src/api.rs b/gen/translate3/src/api.rs index 2c23a9fd68..4120e8a17a 100644 --- a/gen/translate3/src/api.rs +++ b/gen/translate3/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Translate<> { Translate { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://translation.googleapis.com/".to_string(), _root_url: "https://translation.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Translate<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/translate3/src/client.rs b/gen/translate3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/translate3/src/client.rs +++ b/gen/translate3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/translate3/src/lib.rs b/gen/translate3/src/lib.rs index e38d1d0708..1a8cd564ab 100644 --- a/gen/translate3/src/lib.rs +++ b/gen/translate3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Translate* crate version *2.0.4+20210312*, where *20210312* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Translate* crate version *2.0.5+20210312*, where *20210312* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Translate* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/translate/docs/quickstarts). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-translate3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/urlshortener1-cli/Cargo.toml b/gen/urlshortener1-cli/Cargo.toml index 0dd1c3c9aa..d186c8718f 100644 --- a/gen/urlshortener1-cli/Cargo.toml +++ b/gen/urlshortener1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-urlshortener1-cli" -version = "2.0.4+20150519" +version = "2.0.5+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/urlshortener1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-urlshortener1] path = "../urlshortener1" -version = "2.0.4+20150519" +version = "2.0.5+20150519" diff --git a/gen/urlshortener1-cli/README.md b/gen/urlshortener1-cli/README.md index e0c5567681..144f8922de 100644 --- a/gen/urlshortener1-cli/README.md +++ b/gen/urlshortener1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *2.0.4*. +This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *2.0.5*. ```bash urlshortener1 [options] diff --git a/gen/urlshortener1-cli/mkdocs.yml b/gen/urlshortener1-cli/mkdocs.yml index 94d827c7ff..d621308c58 100644 --- a/gen/urlshortener1-cli/mkdocs.yml +++ b/gen/urlshortener1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: urlshortener v2.0.4+20150519 +site_name: urlshortener v2.0.5+20150519 site_url: http://byron.github.io/google-apis-rs/google-urlshortener1-cli site_description: A complete library to interact with urlshortener (protocol v1) diff --git a/gen/urlshortener1-cli/src/main.rs b/gen/urlshortener1-cli/src/main.rs index 0f0835f9e9..723448e17a 100644 --- a/gen/urlshortener1-cli/src/main.rs +++ b/gen/urlshortener1-cli/src/main.rs @@ -412,7 +412,7 @@ async fn main() { let mut app = App::new("urlshortener1") .author("Sebastian Thiel ") - .version("2.0.4+20150519") + .version("2.0.5+20150519") .about("Lets you create, inspect, and manage goo.gl short URLs") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_urlshortener1_cli") .arg(Arg::with_name("url") diff --git a/gen/urlshortener1/Cargo.toml b/gen/urlshortener1/Cargo.toml index d24c201cc3..04c9a36555 100644 --- a/gen/urlshortener1/Cargo.toml +++ b/gen/urlshortener1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-urlshortener1" -version = "2.0.4+20150519" +version = "2.0.5+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/urlshortener1" homepage = "https://developers.google.com/url-shortener/v1/getting_started" -documentation = "https://docs.rs/google-urlshortener1/2.0.4+20150519" +documentation = "https://docs.rs/google-urlshortener1/2.0.5+20150519" license = "MIT" keywords = ["urlshortener", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/urlshortener1/README.md b/gen/urlshortener1/README.md index 6594f1250d..1b65995d40 100644 --- a/gen/urlshortener1/README.md +++ b/gen/urlshortener1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-urlshortener1` library allows access to all features of the *Google urlshortener* service. -This documentation was generated from *urlshortener* crate version *2.0.4+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *urlshortener* crate version *2.0.5+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *urlshortener* *v1* API can be found at the [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/Urlshortener) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/Urlshortener) ... -* [url](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/api::Url) - * [*get*](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/api::UrlGetCall), [*insert*](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/api::UrlInsertCall) and [*list*](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/api::UrlListCall) +* [url](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/api::Url) + * [*get*](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/api::UrlGetCall), [*insert*](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/api::UrlInsertCall) and [*list*](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/api::UrlListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/Urlshortener)** +* **[Hub](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/Urlshortener)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::CallBuilder) -* **[Resources](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::CallBuilder) +* **[Resources](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Part)** + * **[Parts](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -65,9 +65,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-urlshortener1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -128,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Delegate) to the -[Method Builder](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Delegate) to the +[Method Builder](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Delegate) 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 [encodable](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::RequestValue) and -[decodable](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::RequestValue) and +[decodable](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-urlshortener1/2.0.4+20150519/google_urlshortener1/client::RequestValue) are moved +* [request values](https://docs.rs/google-urlshortener1/2.0.5+20150519/google_urlshortener1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/urlshortener1/src/api.rs b/gen/urlshortener1/src/api.rs index 819c01d4e3..f519c621aa 100644 --- a/gen/urlshortener1/src/api.rs +++ b/gen/urlshortener1/src/api.rs @@ -115,7 +115,7 @@ impl<'a, > Urlshortener<> { Urlshortener { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/urlshortener/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > Urlshortener<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/urlshortener1/src/client.rs b/gen/urlshortener1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/urlshortener1/src/client.rs +++ b/gen/urlshortener1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/urlshortener1/src/lib.rs b/gen/urlshortener1/src/lib.rs index 2ba7dbd382..243dc56c3b 100644 --- a/gen/urlshortener1/src/lib.rs +++ b/gen/urlshortener1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *urlshortener* crate version *2.0.4+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *urlshortener* crate version *2.0.5+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *urlshortener* *v1* API can be found at the //! [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). @@ -65,9 +65,6 @@ //! ```toml //! [dependencies] //! google-urlshortener1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/vault1-cli/Cargo.toml b/gen/vault1-cli/Cargo.toml index b7745a46fd..1ca43f3ce3 100644 --- a/gen/vault1-cli/Cargo.toml +++ b/gen/vault1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vault1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vault (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vault1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vault1] path = "../vault1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/vault1-cli/README.md b/gen/vault1-cli/README.md index 2fe9341334..9400f0d210 100644 --- a/gen/vault1-cli/README.md +++ b/gen/vault1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Vault* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Vault* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash vault1 [options] diff --git a/gen/vault1-cli/mkdocs.yml b/gen/vault1-cli/mkdocs.yml index 57cc342462..f2e2592f16 100644 --- a/gen/vault1-cli/mkdocs.yml +++ b/gen/vault1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vault v2.0.4+20210316 +site_name: Vault v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-vault1-cli site_description: A complete library to interact with Vault (protocol v1) diff --git a/gen/vault1-cli/src/main.rs b/gen/vault1-cli/src/main.rs index 991daa472f..32a4f8a98e 100644 --- a/gen/vault1-cli/src/main.rs +++ b/gen/vault1-cli/src/main.rs @@ -3536,7 +3536,7 @@ async fn main() { let mut app = App::new("vault1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("Archiving and eDiscovery for G Suite.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vault1_cli") .arg(Arg::with_name("url") diff --git a/gen/vault1/Cargo.toml b/gen/vault1/Cargo.toml index a343893a68..fa90644fda 100644 --- a/gen/vault1/Cargo.toml +++ b/gen/vault1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vault1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vault (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vault1" homepage = "https://developers.google.com/vault" -documentation = "https://docs.rs/google-vault1/2.0.4+20210316" +documentation = "https://docs.rs/google-vault1/2.0.5+20210316" license = "MIT" keywords = ["vault", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/vault1/README.md b/gen/vault1/README.md index fa93508ce0..94f3c7ff4b 100644 --- a/gen/vault1/README.md +++ b/gen/vault1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-vault1` library allows access to all features of the *Google Vault* service. -This documentation was generated from *Vault* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Vault* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Vault* *v1* API can be found at the [official documentation site](https://developers.google.com/vault). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/Vault) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/Vault) ... -* [matters](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::Matter) - * [*add permissions*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterAddPermissionCall), [*close*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterCloseCall), [*count*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterCountCall), [*create*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterCreateCall), [*delete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterDeleteCall), [*exports create*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterExportCreateCall), [*exports delete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterExportDeleteCall), [*exports get*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterExportGetCall), [*exports list*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterExportListCall), [*get*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterGetCall), [*holds accounts create*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldAccountCreateCall), [*holds accounts delete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldAccountDeleteCall), [*holds accounts list*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldAccountListCall), [*holds add held accounts*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldAddHeldAccountCall), [*holds create*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldCreateCall), [*holds delete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldDeleteCall), [*holds get*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldGetCall), [*holds list*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldListCall), [*holds remove held accounts*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldRemoveHeldAccountCall), [*holds update*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterHoldUpdateCall), [*list*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterListCall), [*remove permissions*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterRemovePermissionCall), [*reopen*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterReopenCall), [*saved queries create*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterSavedQueryCreateCall), [*saved queries delete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterSavedQueryDeleteCall), [*saved queries get*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterSavedQueryGetCall), [*saved queries list*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterSavedQueryListCall), [*undelete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterUndeleteCall) and [*update*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::MatterUpdateCall) -* [operations](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::Operation) - * [*cancel*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::OperationGetCall) and [*list*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/api::OperationListCall) +* [matters](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::Matter) + * [*add permissions*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterAddPermissionCall), [*close*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterCloseCall), [*count*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterCountCall), [*create*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterCreateCall), [*delete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterDeleteCall), [*exports create*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterExportCreateCall), [*exports delete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterExportDeleteCall), [*exports get*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterExportGetCall), [*exports list*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterExportListCall), [*get*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterGetCall), [*holds accounts create*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldAccountCreateCall), [*holds accounts delete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldAccountDeleteCall), [*holds accounts list*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldAccountListCall), [*holds add held accounts*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldAddHeldAccountCall), [*holds create*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldCreateCall), [*holds delete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldDeleteCall), [*holds get*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldGetCall), [*holds list*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldListCall), [*holds remove held accounts*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldRemoveHeldAccountCall), [*holds update*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterHoldUpdateCall), [*list*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterListCall), [*remove permissions*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterRemovePermissionCall), [*reopen*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterReopenCall), [*saved queries create*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterSavedQueryCreateCall), [*saved queries delete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterSavedQueryDeleteCall), [*saved queries get*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterSavedQueryGetCall), [*saved queries list*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterSavedQueryListCall), [*undelete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterUndeleteCall) and [*update*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::MatterUpdateCall) +* [operations](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::Operation) + * [*cancel*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::OperationGetCall) and [*list*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/api::OperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/Vault)** +* **[Hub](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/Vault)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Part)** + * **[Parts](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,9 +94,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-vault1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -159,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Delegate), 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-vault1/2.0.4+20210316/google_vault1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::ResponseResult), 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")`. @@ -179,29 +176,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::CallBuilder) 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-vault1/2.0.4+20210316/google_vault1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Delegate) 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 [encodable](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::RequestValue) and -[decodable](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::RequestValue) and +[decodable](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vault1/2.0.4+20210316/google_vault1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::Part) 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-vault1/2.0.4+20210316/google_vault1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::CallBuilder), 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-vault1/2.0.4+20210316/google_vault1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vault1/2.0.5+20210316/google_vault1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vault1/src/api.rs b/gen/vault1/src/api.rs index 1dc956a2eb..66494952ec 100644 --- a/gen/vault1/src/api.rs +++ b/gen/vault1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Vault<> { Vault { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://vault.googleapis.com/".to_string(), _root_url: "https://vault.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Vault<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/vault1/src/client.rs b/gen/vault1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/vault1/src/client.rs +++ b/gen/vault1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/vault1/src/lib.rs b/gen/vault1/src/lib.rs index 2e64955d4b..0365707405 100644 --- a/gen/vault1/src/lib.rs +++ b/gen/vault1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Vault* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Vault* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Vault* *v1* API can be found at the //! [official documentation site](https://developers.google.com/vault). @@ -94,9 +94,6 @@ //! ```toml //! [dependencies] //! google-vault1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/vectortile1-cli/Cargo.toml b/gen/vectortile1-cli/Cargo.toml index 9e3e7a0acf..5b860175be 100644 --- a/gen/vectortile1-cli/Cargo.toml +++ b/gen/vectortile1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vectortile1-cli" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Semantic Tile (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vectortile1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vectortile1] path = "../vectortile1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" diff --git a/gen/vectortile1-cli/README.md b/gen/vectortile1-cli/README.md index 64c9fba469..c2940ae66c 100644 --- a/gen/vectortile1-cli/README.md +++ b/gen/vectortile1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Semantic Tile* API at revision *20210331*. The CLI is at version *2.0.4*. +This documentation was generated from the *Semantic Tile* API at revision *20210331*. The CLI is at version *2.0.5*. ```bash vectortile1 [options] diff --git a/gen/vectortile1-cli/mkdocs.yml b/gen/vectortile1-cli/mkdocs.yml index 3a591bb17d..ae0f2b833a 100644 --- a/gen/vectortile1-cli/mkdocs.yml +++ b/gen/vectortile1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Semantic Tile v2.0.4+20210331 +site_name: Semantic Tile v2.0.5+20210331 site_url: http://byron.github.io/google-apis-rs/google-vectortile1-cli site_description: A complete library to interact with Semantic Tile (protocol v1) diff --git a/gen/vectortile1-cli/src/main.rs b/gen/vectortile1-cli/src/main.rs index f557195b4d..c5d16d7597 100644 --- a/gen/vectortile1-cli/src/main.rs +++ b/gen/vectortile1-cli/src/main.rs @@ -377,7 +377,7 @@ async fn main() { let mut app = App::new("vectortile1") .author("Sebastian Thiel ") - .version("2.0.4+20210331") + .version("2.0.5+20210331") .about("Serves vector tiles containing geospatial data. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vectortile1_cli") .arg(Arg::with_name("folder") diff --git a/gen/vectortile1/Cargo.toml b/gen/vectortile1/Cargo.toml index 513f2e900c..067b591341 100644 --- a/gen/vectortile1/Cargo.toml +++ b/gen/vectortile1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vectortile1" -version = "2.0.4+20210331" +version = "2.0.5+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Semantic Tile (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vectortile1" homepage = "https://developers.google.com/maps/contact-sales/" -documentation = "https://docs.rs/google-vectortile1/2.0.4+20210331" +documentation = "https://docs.rs/google-vectortile1/2.0.5+20210331" license = "MIT" keywords = ["vectortile", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/vectortile1/README.md b/gen/vectortile1/README.md index a3137d9e52..7b51306fc0 100644 --- a/gen/vectortile1/README.md +++ b/gen/vectortile1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-vectortile1` library allows access to all features of the *Google Semantic Tile* service. -This documentation was generated from *Semantic Tile* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Semantic Tile* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Semantic Tile* *v1* API can be found at the [official documentation site](https://developers.google.com/maps/contact-sales/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/SemanticTile) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/SemanticTile) ... * featuretiles - * [*get*](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/api::FeaturetileGetCall) + * [*get*](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/api::FeaturetileGetCall) * terraintiles - * [*get*](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/api::TerraintileGetCall) + * [*get*](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/api::TerraintileGetCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/SemanticTile)** +* **[Hub](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/SemanticTile)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Part)** + * **[Parts](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-vectortile1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -145,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Delegate), 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-vectortile1/2.0.4+20210331/google_vectortile1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::CallBuilder) 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-vectortile1/2.0.4+20210331/google_vectortile1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Delegate) 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 [encodable](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::RequestValue) and -[decodable](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::RequestValue) and +[decodable](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vectortile1/2.0.4+20210331/google_vectortile1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::Part) 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-vectortile1/2.0.4+20210331/google_vectortile1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::CallBuilder), 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-vectortile1/2.0.4+20210331/google_vectortile1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vectortile1/2.0.5+20210331/google_vectortile1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vectortile1/src/api.rs b/gen/vectortile1/src/api.rs index 5a0297868d..b937da7de2 100644 --- a/gen/vectortile1/src/api.rs +++ b/gen/vectortile1/src/api.rs @@ -109,7 +109,7 @@ impl<'a, > SemanticTile<> { SemanticTile { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://vectortile.googleapis.com/".to_string(), _root_url: "https://vectortile.googleapis.com/".to_string(), } @@ -123,7 +123,7 @@ impl<'a, > SemanticTile<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/vectortile1/src/client.rs b/gen/vectortile1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/vectortile1/src/client.rs +++ b/gen/vectortile1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/vectortile1/src/lib.rs b/gen/vectortile1/src/lib.rs index 74aa773c40..2c612998ac 100644 --- a/gen/vectortile1/src/lib.rs +++ b/gen/vectortile1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Semantic Tile* crate version *2.0.4+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Semantic Tile* crate version *2.0.5+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Semantic Tile* *v1* API can be found at the //! [official documentation site](https://developers.google.com/maps/contact-sales/). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-vectortile1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/verifiedaccess1-cli/Cargo.toml b/gen/verifiedaccess1-cli/Cargo.toml index ae4cc18886..819c5db389 100644 --- a/gen/verifiedaccess1-cli/Cargo.toml +++ b/gen/verifiedaccess1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-verifiedaccess1-cli" -version = "2.0.4+20210302" +version = "2.0.5+20210302" authors = ["Sebastian Thiel "] description = "A complete library to interact with verifiedaccess (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/verifiedaccess1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-verifiedaccess1] path = "../verifiedaccess1" -version = "2.0.4+20210302" +version = "2.0.5+20210302" diff --git a/gen/verifiedaccess1-cli/README.md b/gen/verifiedaccess1-cli/README.md index 10ea690345..2863bee2b2 100644 --- a/gen/verifiedaccess1-cli/README.md +++ b/gen/verifiedaccess1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *verifiedaccess* API at revision *20210302*. The CLI is at version *2.0.4*. +This documentation was generated from the *verifiedaccess* API at revision *20210302*. The CLI is at version *2.0.5*. ```bash verifiedaccess1 [options] diff --git a/gen/verifiedaccess1-cli/mkdocs.yml b/gen/verifiedaccess1-cli/mkdocs.yml index e2570a8281..dca8039c3d 100644 --- a/gen/verifiedaccess1-cli/mkdocs.yml +++ b/gen/verifiedaccess1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: verifiedaccess v2.0.4+20210302 +site_name: verifiedaccess v2.0.5+20210302 site_url: http://byron.github.io/google-apis-rs/google-verifiedaccess1-cli site_description: A complete library to interact with verifiedaccess (protocol v1) diff --git a/gen/verifiedaccess1-cli/src/main.rs b/gen/verifiedaccess1-cli/src/main.rs index 7794cfc491..ba1d6a6e8d 100644 --- a/gen/verifiedaccess1-cli/src/main.rs +++ b/gen/verifiedaccess1-cli/src/main.rs @@ -353,7 +353,7 @@ async fn main() { let mut app = App::new("verifiedaccess1") .author("Sebastian Thiel ") - .version("2.0.4+20210302") + .version("2.0.5+20210302") .about("API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_verifiedaccess1_cli") .arg(Arg::with_name("url") diff --git a/gen/verifiedaccess1/Cargo.toml b/gen/verifiedaccess1/Cargo.toml index c8e38fa2f0..aee8713d9a 100644 --- a/gen/verifiedaccess1/Cargo.toml +++ b/gen/verifiedaccess1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-verifiedaccess1" -version = "2.0.4+20210302" +version = "2.0.5+20210302" authors = ["Sebastian Thiel "] description = "A complete library to interact with verifiedaccess (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/verifiedaccess1" homepage = "https://developers.google.com/chrome/verified-access" -documentation = "https://docs.rs/google-verifiedaccess1/2.0.4+20210302" +documentation = "https://docs.rs/google-verifiedaccess1/2.0.5+20210302" license = "MIT" keywords = ["verifiedaccess", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/verifiedaccess1/README.md b/gen/verifiedaccess1/README.md index 8ffee5562e..7993105c95 100644 --- a/gen/verifiedaccess1/README.md +++ b/gen/verifiedaccess1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-verifiedaccess1` library allows access to all features of the *Google verifiedaccess* service. -This documentation was generated from *verifiedaccess* crate version *2.0.4+20210302*, where *20210302* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *verifiedaccess* crate version *2.0.5+20210302*, where *20210302* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *verifiedaccess* *v1* API can be found at the [official documentation site](https://developers.google.com/chrome/verified-access). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/Verifiedaccess) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/Verifiedaccess) ... -* [challenge](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/api::Challenge) - * [*create*](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/api::ChallengeCreateCall) and [*verify*](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/api::ChallengeVerifyCall) +* [challenge](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/api::Challenge) + * [*create*](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/api::ChallengeCreateCall) and [*verify*](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/api::ChallengeVerifyCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/Verifiedaccess)** +* **[Hub](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/Verifiedaccess)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::CallBuilder) -* **[Resources](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::CallBuilder) +* **[Resources](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Part)** + * **[Parts](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-verifiedaccess1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Delegate), 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-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Delegate) to the -[Method Builder](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Delegate) to the +[Method Builder](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::CallBuilder) 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-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Delegate) 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 [encodable](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::RequestValue) and -[decodable](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::RequestValue) and +[decodable](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::Part) 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-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::CallBuilder), 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-verifiedaccess1/2.0.4+20210302/google_verifiedaccess1/client::RequestValue) are moved +* [request values](https://docs.rs/google-verifiedaccess1/2.0.5+20210302/google_verifiedaccess1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/verifiedaccess1/src/api.rs b/gen/verifiedaccess1/src/api.rs index 70a8846127..a99890fb7e 100644 --- a/gen/verifiedaccess1/src/api.rs +++ b/gen/verifiedaccess1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > Verifiedaccess<> { Verifiedaccess { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://verifiedaccess.googleapis.com/".to_string(), _root_url: "https://verifiedaccess.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Verifiedaccess<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/verifiedaccess1/src/client.rs b/gen/verifiedaccess1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/verifiedaccess1/src/client.rs +++ b/gen/verifiedaccess1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/verifiedaccess1/src/lib.rs b/gen/verifiedaccess1/src/lib.rs index 765044bdc2..b2645e79db 100644 --- a/gen/verifiedaccess1/src/lib.rs +++ b/gen/verifiedaccess1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *verifiedaccess* crate version *2.0.4+20210302*, where *20210302* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *verifiedaccess* crate version *2.0.5+20210302*, where *20210302* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *verifiedaccess* *v1* API can be found at the //! [official documentation site](https://developers.google.com/chrome/verified-access). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-verifiedaccess1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/videointelligence1-cli/Cargo.toml b/gen/videointelligence1-cli/Cargo.toml index fda1d9781a..4f73e2083b 100644 --- a/gen/videointelligence1-cli/Cargo.toml +++ b/gen/videointelligence1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-videointelligence1-cli" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-videointelligence1] path = "../videointelligence1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" diff --git a/gen/videointelligence1-cli/README.md b/gen/videointelligence1-cli/README.md index 33b83fc6ae..c92a6c0ac0 100644 --- a/gen/videointelligence1-cli/README.md +++ b/gen/videointelligence1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Video Intelligence* API at revision *20210325*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20210325*. The CLI is at version *2.0.5*. ```bash videointelligence1 [options] diff --git a/gen/videointelligence1-cli/mkdocs.yml b/gen/videointelligence1-cli/mkdocs.yml index b8f03058a5..b1c94bc570 100644 --- a/gen/videointelligence1-cli/mkdocs.yml +++ b/gen/videointelligence1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v2.0.4+20210325 +site_name: Cloud Video Intelligence v2.0.5+20210325 site_url: http://byron.github.io/google-apis-rs/google-videointelligence1-cli site_description: A complete library to interact with Cloud Video Intelligence (protocol v1) diff --git a/gen/videointelligence1-cli/src/main.rs b/gen/videointelligence1-cli/src/main.rs index 7b73578047..cd9947d073 100644 --- a/gen/videointelligence1-cli/src/main.rs +++ b/gen/videointelligence1-cli/src/main.rs @@ -879,7 +879,7 @@ async fn main() { let mut app = App::new("videointelligence1") .author("Sebastian Thiel ") - .version("2.0.4+20210325") + .version("2.0.5+20210325") .about("Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_videointelligence1_cli") .arg(Arg::with_name("url") diff --git a/gen/videointelligence1/Cargo.toml b/gen/videointelligence1/Cargo.toml index 44a05dcbf1..7322abc93a 100644 --- a/gen/videointelligence1/Cargo.toml +++ b/gen/videointelligence1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1" -version = "2.0.4+20210325" +version = "2.0.5+20210325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1" homepage = "https://cloud.google.com/video-intelligence/docs/" -documentation = "https://docs.rs/google-videointelligence1/2.0.4+20210325" +documentation = "https://docs.rs/google-videointelligence1/2.0.5+20210325" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/videointelligence1/README.md b/gen/videointelligence1/README.md index d01c3536c6..72957a7b02 100644 --- a/gen/videointelligence1/README.md +++ b/gen/videointelligence1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-videointelligence1` library allows access to all features of the *Google Cloud Video Intelligence* service. -This documentation was generated from *Cloud Video Intelligence* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Video Intelligence* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Video Intelligence* *v1* API can be found at the [official documentation site](https://cloud.google.com/video-intelligence/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/CloudVideoIntelligence) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/CloudVideoIntelligence) ... * operations - * [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::OperationProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::OperationProjectLocationOperationDeleteCall) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::OperationProjectLocationOperationGetCall) + * [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::OperationProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::OperationProjectLocationOperationDeleteCall) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::OperationProjectLocationOperationGetCall) * projects - * [*locations operations cancel*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::ProjectLocationOperationListCall) + * [*locations operations cancel*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::ProjectLocationOperationListCall) * videos - * [*annotate*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/api::VideoAnnotateCall) + * [*annotate*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/api::VideoAnnotateCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/CloudVideoIntelligence)** +* **[Hub](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/CloudVideoIntelligence)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::CallBuilder) -* **[Resources](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::CallBuilder) +* **[Resources](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Part)** + * **[Parts](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-videointelligence1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Delegate), 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-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Delegate) to the -[Method Builder](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Delegate) to the +[Method Builder](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::CallBuilder) 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-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Delegate) 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 [encodable](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::RequestValue) and -[decodable](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::RequestValue) and +[decodable](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1/2.0.4+20210325/google_videointelligence1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::Part) 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-videointelligence1/2.0.4+20210325/google_videointelligence1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::CallBuilder), 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-videointelligence1/2.0.4+20210325/google_videointelligence1/client::RequestValue) are moved +* [request values](https://docs.rs/google-videointelligence1/2.0.5+20210325/google_videointelligence1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/videointelligence1/src/api.rs b/gen/videointelligence1/src/api.rs index a744b56ccb..78f061a80b 100644 --- a/gen/videointelligence1/src/api.rs +++ b/gen/videointelligence1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudVideoIntelligence<> { CloudVideoIntelligence { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://videointelligence.googleapis.com/".to_string(), _root_url: "https://videointelligence.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > CloudVideoIntelligence<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/videointelligence1/src/client.rs b/gen/videointelligence1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/videointelligence1/src/client.rs +++ b/gen/videointelligence1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/videointelligence1/src/lib.rs b/gen/videointelligence1/src/lib.rs index d9ebc5dede..9d5f8fb2ee 100644 --- a/gen/videointelligence1/src/lib.rs +++ b/gen/videointelligence1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Video Intelligence* crate version *2.0.4+20210325*, where *20210325* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Video Intelligence* crate version *2.0.5+20210325*, where *20210325* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Video Intelligence* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/video-intelligence/docs/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-videointelligence1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/videointelligence1_beta1-cli/Cargo.toml b/gen/videointelligence1_beta1-cli/Cargo.toml index e48c038661..9e1af42669 100644 --- a/gen/videointelligence1_beta1-cli/Cargo.toml +++ b/gen/videointelligence1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-videointelligence1_beta1-cli" -version = "2.0.4+20171122" +version = "2.0.5+20171122" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1_beta1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-videointelligence1_beta1] path = "../videointelligence1_beta1" -version = "2.0.4+20171122" +version = "2.0.5+20171122" diff --git a/gen/videointelligence1_beta1-cli/README.md b/gen/videointelligence1_beta1-cli/README.md index 9ce4288dca..8d51ecf736 100644 --- a/gen/videointelligence1_beta1-cli/README.md +++ b/gen/videointelligence1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Video Intelligence* API at revision *20171122*. The CLI is at version *2.0.4*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20171122*. The CLI is at version *2.0.5*. ```bash videointelligence1-beta1 [options] diff --git a/gen/videointelligence1_beta1-cli/mkdocs.yml b/gen/videointelligence1_beta1-cli/mkdocs.yml index 6f65dfd462..59b798b128 100644 --- a/gen/videointelligence1_beta1-cli/mkdocs.yml +++ b/gen/videointelligence1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v2.0.4+20171122 +site_name: Cloud Video Intelligence v2.0.5+20171122 site_url: http://byron.github.io/google-apis-rs/google-videointelligence1_beta1-cli site_description: A complete library to interact with Cloud Video Intelligence (protocol v1beta1) diff --git a/gen/videointelligence1_beta1-cli/src/main.rs b/gen/videointelligence1_beta1-cli/src/main.rs index cee801e9b4..5ee0c4ec34 100644 --- a/gen/videointelligence1_beta1-cli/src/main.rs +++ b/gen/videointelligence1_beta1-cli/src/main.rs @@ -255,7 +255,7 @@ async fn main() { let mut app = App::new("videointelligence1-beta1") .author("Sebastian Thiel ") - .version("2.0.4+20171122") + .version("2.0.5+20171122") .about("Cloud Video Intelligence API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_videointelligence1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/videointelligence1_beta1/Cargo.toml b/gen/videointelligence1_beta1/Cargo.toml index 4b032475f9..aba7110309 100644 --- a/gen/videointelligence1_beta1/Cargo.toml +++ b/gen/videointelligence1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1_beta1" -version = "2.0.4+20171122" +version = "2.0.5+20171122" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1_beta1" homepage = "https://cloud.google.com/video-intelligence/docs/" -documentation = "https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122" +documentation = "https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/videointelligence1_beta1/README.md b/gen/videointelligence1_beta1/README.md index 667416e76e..b2539de645 100644 --- a/gen/videointelligence1_beta1/README.md +++ b/gen/videointelligence1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-videointelligence1_beta1` library allows access to all features of the *Google Cloud Video Intelligence* service. -This documentation was generated from *Cloud Video Intelligence* crate version *2.0.4+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Cloud Video Intelligence* crate version *2.0.5+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Cloud Video Intelligence* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/video-intelligence/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/CloudVideoIntelligence) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/CloudVideoIntelligence) ... * videos - * [*annotate*](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/api::VideoAnnotateCall) + * [*annotate*](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/api::VideoAnnotateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/CloudVideoIntelligence)** +* **[Hub](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/CloudVideoIntelligence)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-videointelligence1_beta1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -132,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Delegate), 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-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::CallBuilder) 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-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Delegate) 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 [encodable](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::Part) 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-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::CallBuilder), 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-videointelligence1_beta1/2.0.4+20171122/google_videointelligence1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-videointelligence1_beta1/2.0.5+20171122/google_videointelligence1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/videointelligence1_beta1/src/api.rs b/gen/videointelligence1_beta1/src/api.rs index dcb6c6fc18..30cca6ccab 100644 --- a/gen/videointelligence1_beta1/src/api.rs +++ b/gen/videointelligence1_beta1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > CloudVideoIntelligence<> { CloudVideoIntelligence { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://videointelligence.googleapis.com/".to_string(), _root_url: "https://videointelligence.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudVideoIntelligence<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/videointelligence1_beta1/src/client.rs b/gen/videointelligence1_beta1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/videointelligence1_beta1/src/client.rs +++ b/gen/videointelligence1_beta1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/videointelligence1_beta1/src/lib.rs b/gen/videointelligence1_beta1/src/lib.rs index 82a9361bad..3316910714 100644 --- a/gen/videointelligence1_beta1/src/lib.rs +++ b/gen/videointelligence1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Video Intelligence* crate version *2.0.4+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Cloud Video Intelligence* crate version *2.0.5+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Cloud Video Intelligence* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/video-intelligence/docs/). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-videointelligence1_beta1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/vision1-cli/Cargo.toml b/gen/vision1-cli/Cargo.toml index 1d02697868..db5792941a 100644 --- a/gen/vision1-cli/Cargo.toml +++ b/gen/vision1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vision1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vision (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vision1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vision1] path = "../vision1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/vision1-cli/README.md b/gen/vision1-cli/README.md index 7309cacdd0..460edd55c0 100644 --- a/gen/vision1-cli/README.md +++ b/gen/vision1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Vision* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Vision* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash vision1 [options] diff --git a/gen/vision1-cli/mkdocs.yml b/gen/vision1-cli/mkdocs.yml index a973c28688..77ae7cd442 100644 --- a/gen/vision1-cli/mkdocs.yml +++ b/gen/vision1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vision v2.0.4+20210319 +site_name: Vision v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-vision1-cli site_description: A complete library to interact with Vision (protocol v1) diff --git a/gen/vision1-cli/src/main.rs b/gen/vision1-cli/src/main.rs index 4b10b715fe..b44dcfe88a 100644 --- a/gen/vision1-cli/src/main.rs +++ b/gen/vision1-cli/src/main.rs @@ -4016,7 +4016,7 @@ async fn main() { let mut app = App::new("vision1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vision1_cli") .arg(Arg::with_name("url") diff --git a/gen/vision1/Cargo.toml b/gen/vision1/Cargo.toml index 79c1092768..96385b1d7c 100644 --- a/gen/vision1/Cargo.toml +++ b/gen/vision1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vision1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vision (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vision1" homepage = "https://cloud.google.com/vision/" -documentation = "https://docs.rs/google-vision1/2.0.4+20210319" +documentation = "https://docs.rs/google-vision1/2.0.5+20210319" license = "MIT" keywords = ["vision", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/vision1/README.md b/gen/vision1/README.md index b4883b8b4f..1c7495f798 100644 --- a/gen/vision1/README.md +++ b/gen/vision1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-vision1` library allows access to all features of the *Google Vision* service. -This documentation was generated from *Vision* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Vision* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Vision* *v1* API can be found at the [official documentation site](https://cloud.google.com/vision/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/Vision) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/Vision) ... * files - * [*annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::FileAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::FileAsyncBatchAnnotateCall) -* [images](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::Image) - * [*annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ImageAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ImageAsyncBatchAnnotateCall) + * [*annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::FileAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::FileAsyncBatchAnnotateCall) +* [images](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::Image) + * [*annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ImageAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ImageAsyncBatchAnnotateCall) * locations - * [*operations get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::LocationOperationGetCall) -* [operations](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::Operation) - * [*cancel*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::OperationGetCall) and [*list*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::OperationListCall) + * [*operations get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::LocationOperationGetCall) +* [operations](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::Operation) + * [*cancel*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::OperationGetCall) and [*list*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::OperationListCall) * projects - * [*files annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectFileAnnotateCall), [*files async batch annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectFileAsyncBatchAnnotateCall), [*images annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectImageAnnotateCall), [*images async batch annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectImageAsyncBatchAnnotateCall), [*locations files annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationFileAnnotateCall), [*locations files async batch annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationFileAsyncBatchAnnotateCall), [*locations images annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationImageAnnotateCall), [*locations images async batch annotate*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationImageAsyncBatchAnnotateCall), [*locations operations get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationOperationGetCall), [*locations product sets add product*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetAddProductCall), [*locations product sets create*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetCreateCall), [*locations product sets delete*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetDeleteCall), [*locations product sets get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetGetCall), [*locations product sets import*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetImportCall), [*locations product sets list*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetListCall), [*locations product sets patch*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetPatchCall), [*locations product sets products list*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetProductListCall), [*locations product sets remove product*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductSetRemoveProductCall), [*locations products create*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductCreateCall), [*locations products delete*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductDeleteCall), [*locations products get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductGetCall), [*locations products list*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductListCall), [*locations products patch*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductPatchCall), [*locations products purge*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductPurgeCall), [*locations products reference images create*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductReferenceImageCreateCall), [*locations products reference images delete*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductReferenceImageDeleteCall), [*locations products reference images get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductReferenceImageGetCall), [*locations products reference images list*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectLocationProductReferenceImageListCall) and [*operations get*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/api::ProjectOperationGetCall) + * [*files annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectFileAnnotateCall), [*files async batch annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectFileAsyncBatchAnnotateCall), [*images annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectImageAnnotateCall), [*images async batch annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectImageAsyncBatchAnnotateCall), [*locations files annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationFileAnnotateCall), [*locations files async batch annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationFileAsyncBatchAnnotateCall), [*locations images annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationImageAnnotateCall), [*locations images async batch annotate*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationImageAsyncBatchAnnotateCall), [*locations operations get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationOperationGetCall), [*locations product sets add product*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetAddProductCall), [*locations product sets create*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetCreateCall), [*locations product sets delete*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetDeleteCall), [*locations product sets get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetGetCall), [*locations product sets import*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetImportCall), [*locations product sets list*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetListCall), [*locations product sets patch*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetPatchCall), [*locations product sets products list*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetProductListCall), [*locations product sets remove product*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductSetRemoveProductCall), [*locations products create*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductCreateCall), [*locations products delete*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductDeleteCall), [*locations products get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductGetCall), [*locations products list*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductListCall), [*locations products patch*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductPatchCall), [*locations products purge*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductPurgeCall), [*locations products reference images create*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductReferenceImageCreateCall), [*locations products reference images delete*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductReferenceImageDeleteCall), [*locations products reference images get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductReferenceImageGetCall), [*locations products reference images list*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectLocationProductReferenceImageListCall) and [*operations get*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/api::ProjectOperationGetCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/Vision)** +* **[Hub](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/Vision)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Part)** + * **[Parts](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -86,9 +86,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-vision1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -151,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Delegate), 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-vision1/2.0.4+20210319/google_vision1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::ResponseResult), 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")`. @@ -171,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::CallBuilder) 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-vision1/2.0.4+20210319/google_vision1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Delegate) 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 [encodable](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::RequestValue) and -[decodable](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::RequestValue) and +[decodable](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vision1/2.0.4+20210319/google_vision1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::Part) 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-vision1/2.0.4+20210319/google_vision1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::CallBuilder), 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-vision1/2.0.4+20210319/google_vision1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vision1/2.0.5+20210319/google_vision1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vision1/src/api.rs b/gen/vision1/src/api.rs index cfc4bbde45..15b757b021 100644 --- a/gen/vision1/src/api.rs +++ b/gen/vision1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Vision<> { Vision { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://vision.googleapis.com/".to_string(), _root_url: "https://vision.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > Vision<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/vision1/src/client.rs b/gen/vision1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/vision1/src/client.rs +++ b/gen/vision1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/vision1/src/lib.rs b/gen/vision1/src/lib.rs index 0bf10b80b8..934c9f1fda 100644 --- a/gen/vision1/src/lib.rs +++ b/gen/vision1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Vision* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Vision* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Vision* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/vision/). @@ -86,9 +86,6 @@ //! ```toml //! [dependencies] //! google-vision1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/webfonts1-cli/Cargo.toml b/gen/webfonts1-cli/Cargo.toml index 67539d739c..7c0f34d8bb 100644 --- a/gen/webfonts1-cli/Cargo.toml +++ b/gen/webfonts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webfonts1-cli" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webfonts1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-webfonts1] path = "../webfonts1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" diff --git a/gen/webfonts1-cli/README.md b/gen/webfonts1-cli/README.md index c303680745..2cc387de20 100644 --- a/gen/webfonts1-cli/README.md +++ b/gen/webfonts1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Webfonts* API at revision *20210326*. The CLI is at version *2.0.4*. +This documentation was generated from the *Webfonts* API at revision *20210326*. The CLI is at version *2.0.5*. ```bash webfonts1 [options] diff --git a/gen/webfonts1-cli/mkdocs.yml b/gen/webfonts1-cli/mkdocs.yml index 101f6caace..0527c9371a 100644 --- a/gen/webfonts1-cli/mkdocs.yml +++ b/gen/webfonts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Webfonts v2.0.4+20210326 +site_name: Webfonts v2.0.5+20210326 site_url: http://byron.github.io/google-apis-rs/google-webfonts1-cli site_description: A complete library to interact with Webfonts (protocol v1) diff --git a/gen/webfonts1-cli/src/main.rs b/gen/webfonts1-cli/src/main.rs index 9cab516e53..f2b9172112 100644 --- a/gen/webfonts1-cli/src/main.rs +++ b/gen/webfonts1-cli/src/main.rs @@ -204,7 +204,7 @@ async fn main() { let mut app = App::new("webfonts1") .author("Sebastian Thiel ") - .version("2.0.4+20210326") + .version("2.0.5+20210326") .about("The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webfonts1_cli") .arg(Arg::with_name("folder") diff --git a/gen/webfonts1/Cargo.toml b/gen/webfonts1/Cargo.toml index e371468806..30e3479cd9 100644 --- a/gen/webfonts1/Cargo.toml +++ b/gen/webfonts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webfonts1" -version = "2.0.4+20210326" +version = "2.0.5+20210326" authors = ["Sebastian Thiel "] description = "A complete library to interact with Webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webfonts1" homepage = "https://developers.google.com/fonts/docs/developer_api" -documentation = "https://docs.rs/google-webfonts1/2.0.4+20210326" +documentation = "https://docs.rs/google-webfonts1/2.0.5+20210326" license = "MIT" keywords = ["webfonts", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/webfonts1/README.md b/gen/webfonts1/README.md index 4fd9d58c66..7b20fc4c91 100644 --- a/gen/webfonts1/README.md +++ b/gen/webfonts1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-webfonts1` library allows access to all features of the *Google Webfonts* service. -This documentation was generated from *Webfonts* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Webfonts* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Webfonts* *v1* API can be found at the [official documentation site](https://developers.google.com/fonts/docs/developer_api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/Webfonts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/Webfonts) ... -* [webfonts](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/api::Webfont) - * [*list*](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/api::WebfontListCall) +* [webfonts](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/api::Webfont) + * [*list*](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/api::WebfontListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/Webfonts)** +* **[Hub](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/Webfonts)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::CallBuilder) +* **[Resources](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Part)** + * **[Parts](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -64,9 +64,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-webfonts1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -127,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Delegate) to the +[Method Builder](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Delegate) 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 [encodable](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::RequestValue) and -[decodable](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::RequestValue) and +[decodable](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-webfonts1/2.0.4+20210326/google_webfonts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-webfonts1/2.0.5+20210326/google_webfonts1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webfonts1/src/api.rs b/gen/webfonts1/src/api.rs index 6d5b2c0f8f..102e8da82d 100644 --- a/gen/webfonts1/src/api.rs +++ b/gen/webfonts1/src/api.rs @@ -93,7 +93,7 @@ impl<'a, > Webfonts<> { Webfonts { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://webfonts.googleapis.com/".to_string(), _root_url: "https://webfonts.googleapis.com/".to_string(), } @@ -104,7 +104,7 @@ impl<'a, > Webfonts<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webfonts1/src/client.rs b/gen/webfonts1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/webfonts1/src/client.rs +++ b/gen/webfonts1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/webfonts1/src/lib.rs b/gen/webfonts1/src/lib.rs index 5e7b2c3aa7..66ee72f12c 100644 --- a/gen/webfonts1/src/lib.rs +++ b/gen/webfonts1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Webfonts* crate version *2.0.4+20210326*, where *20210326* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Webfonts* crate version *2.0.5+20210326*, where *20210326* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Webfonts* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fonts/docs/developer_api). @@ -64,9 +64,6 @@ //! ```toml //! [dependencies] //! google-webfonts1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/webmasters3-cli/Cargo.toml b/gen/webmasters3-cli/Cargo.toml index 50bc5c9ca6..4e22bb902f 100644 --- a/gen/webmasters3-cli/Cargo.toml +++ b/gen/webmasters3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webmasters3-cli" -version = "2.0.4+20190428" +version = "2.0.5+20190428" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webmasters3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-webmasters3] path = "../webmasters3" -version = "2.0.4+20190428" +version = "2.0.5+20190428" diff --git a/gen/webmasters3-cli/README.md b/gen/webmasters3-cli/README.md index 8abaed8f7b..dbcd8f3fd8 100644 --- a/gen/webmasters3-cli/README.md +++ b/gen/webmasters3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *webmasters* API at revision *20190428*. The CLI is at version *2.0.4*. +This documentation was generated from the *webmasters* API at revision *20190428*. The CLI is at version *2.0.5*. ```bash webmasters3 [options] diff --git a/gen/webmasters3-cli/mkdocs.yml b/gen/webmasters3-cli/mkdocs.yml index ac253c6947..fc7434f786 100644 --- a/gen/webmasters3-cli/mkdocs.yml +++ b/gen/webmasters3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webmasters v2.0.4+20190428 +site_name: webmasters v2.0.5+20190428 site_url: http://byron.github.io/google-apis-rs/google-webmasters3-cli site_description: A complete library to interact with webmasters (protocol v3) diff --git a/gen/webmasters3-cli/src/main.rs b/gen/webmasters3-cli/src/main.rs index c972e03067..75d186b07e 100644 --- a/gen/webmasters3-cli/src/main.rs +++ b/gen/webmasters3-cli/src/main.rs @@ -852,7 +852,7 @@ async fn main() { let mut app = App::new("webmasters3") .author("Sebastian Thiel ") - .version("2.0.4+20190428") + .version("2.0.5+20190428") .about("View Google Search Console data for your verified sites.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webmasters3_cli") .arg(Arg::with_name("url") diff --git a/gen/webmasters3/Cargo.toml b/gen/webmasters3/Cargo.toml index d2123a01bb..d988feaa08 100644 --- a/gen/webmasters3/Cargo.toml +++ b/gen/webmasters3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webmasters3" -version = "2.0.4+20190428" +version = "2.0.5+20190428" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webmasters3" homepage = "https://developers.google.com/webmaster-tools/" -documentation = "https://docs.rs/google-webmasters3/2.0.4+20190428" +documentation = "https://docs.rs/google-webmasters3/2.0.5+20190428" license = "MIT" keywords = ["webmasters", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/webmasters3/README.md b/gen/webmasters3/README.md index df3b288777..d24e331e32 100644 --- a/gen/webmasters3/README.md +++ b/gen/webmasters3/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-webmasters3` library allows access to all features of the *Google webmasters* service. -This documentation was generated from *webmasters* crate version *2.0.4+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *webmasters* crate version *2.0.5+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *webmasters* *v3* API can be found at the [official documentation site](https://developers.google.com/webmaster-tools/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/Webmasters) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/Webmasters) ... * searchanalytics - * [*query*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SearchanalyticQueryCall) + * [*query*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SearchanalyticQueryCall) * sitemaps - * [*delete*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SitemapDeleteCall), [*get*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SitemapGetCall), [*list*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SitemapListCall) and [*submit*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SitemapSubmitCall) + * [*delete*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SitemapDeleteCall), [*get*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SitemapGetCall), [*list*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SitemapListCall) and [*submit*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SitemapSubmitCall) * sites - * [*add*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SiteAddCall), [*delete*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SiteDeleteCall), [*get*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SiteGetCall) and [*list*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/api::SiteListCall) + * [*add*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SiteAddCall), [*delete*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SiteDeleteCall), [*get*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SiteGetCall) and [*list*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/api::SiteListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/Webmasters)** +* **[Hub](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/Webmasters)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::CallBuilder) -* **[Resources](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::CallBuilder) +* **[Resources](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Part)** + * **[Parts](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -68,9 +68,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-webmasters3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Delegate) to the -[Method Builder](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Delegate) to the +[Method Builder](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Delegate) 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 [encodable](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::RequestValue) and -[decodable](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::RequestValue) and +[decodable](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-webmasters3/2.0.4+20190428/google_webmasters3/client::RequestValue) are moved +* [request values](https://docs.rs/google-webmasters3/2.0.5+20190428/google_webmasters3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webmasters3/src/api.rs b/gen/webmasters3/src/api.rs index 6988a31e1a..7189228ff9 100644 --- a/gen/webmasters3/src/api.rs +++ b/gen/webmasters3/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > Webmasters<> { Webmasters { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://www.googleapis.com/webmasters/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > Webmasters<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webmasters3/src/client.rs b/gen/webmasters3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/webmasters3/src/client.rs +++ b/gen/webmasters3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/webmasters3/src/lib.rs b/gen/webmasters3/src/lib.rs index 3435145a77..5e2c680964 100644 --- a/gen/webmasters3/src/lib.rs +++ b/gen/webmasters3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *webmasters* crate version *2.0.4+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *webmasters* crate version *2.0.5+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *webmasters* *v3* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/). @@ -68,9 +68,6 @@ //! ```toml //! [dependencies] //! google-webmasters3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/webrisk1-cli/Cargo.toml b/gen/webrisk1-cli/Cargo.toml index 71ed444899..6e32b3d957 100644 --- a/gen/webrisk1-cli/Cargo.toml +++ b/gen/webrisk1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webrisk1-cli" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Web Risk (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webrisk1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-webrisk1] path = "../webrisk1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" diff --git a/gen/webrisk1-cli/README.md b/gen/webrisk1-cli/README.md index b9d44be06d..52d8dfcb74 100644 --- a/gen/webrisk1-cli/README.md +++ b/gen/webrisk1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Web Risk* API at revision *20210319*. The CLI is at version *2.0.4*. +This documentation was generated from the *Web Risk* API at revision *20210319*. The CLI is at version *2.0.5*. ```bash webrisk1 [options] diff --git a/gen/webrisk1-cli/mkdocs.yml b/gen/webrisk1-cli/mkdocs.yml index 58304e63f2..71ebe6a011 100644 --- a/gen/webrisk1-cli/mkdocs.yml +++ b/gen/webrisk1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Web Risk v2.0.4+20210319 +site_name: Web Risk v2.0.5+20210319 site_url: http://byron.github.io/google-apis-rs/google-webrisk1-cli site_description: A complete library to interact with Web Risk (protocol v1) diff --git a/gen/webrisk1-cli/src/main.rs b/gen/webrisk1-cli/src/main.rs index ff67d9684c..d0ab08d5a4 100644 --- a/gen/webrisk1-cli/src/main.rs +++ b/gen/webrisk1-cli/src/main.rs @@ -989,7 +989,7 @@ async fn main() { let mut app = App::new("webrisk1") .author("Sebastian Thiel ") - .version("2.0.4+20210319") + .version("2.0.5+20210319") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webrisk1_cli") .arg(Arg::with_name("url") diff --git a/gen/webrisk1/Cargo.toml b/gen/webrisk1/Cargo.toml index 8e59af8d3d..47eb8f2a4b 100644 --- a/gen/webrisk1/Cargo.toml +++ b/gen/webrisk1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webrisk1" -version = "2.0.4+20210319" +version = "2.0.5+20210319" authors = ["Sebastian Thiel "] description = "A complete library to interact with Web Risk (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webrisk1" homepage = "https://cloud.google.com/web-risk/" -documentation = "https://docs.rs/google-webrisk1/2.0.4+20210319" +documentation = "https://docs.rs/google-webrisk1/2.0.5+20210319" license = "MIT" keywords = ["webrisk", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/webrisk1/README.md b/gen/webrisk1/README.md index 7b37293160..b5deb9888e 100644 --- a/gen/webrisk1/README.md +++ b/gen/webrisk1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-webrisk1` library allows access to all features of the *Google Web Risk* service. -This documentation was generated from *Web Risk* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Web Risk* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Web Risk* *v1* API can be found at the [official documentation site](https://cloud.google.com/web-risk/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/WebRisk) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/WebRisk) ... * hashes - * [*search*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::HasheSearchCall) + * [*search*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::HasheSearchCall) * projects - * [*operations cancel*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ProjectOperationListCall), [*submissions create*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ProjectSubmissionCreateCall) and [*uris submit*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ProjectUriSubmitCall) + * [*operations cancel*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ProjectOperationListCall), [*submissions create*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ProjectSubmissionCreateCall) and [*uris submit*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ProjectUriSubmitCall) * threat lists - * [*compute diff*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::ThreatListComputeDiffCall) + * [*compute diff*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::ThreatListComputeDiffCall) * uris - * [*search*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/api::UriSearchCall) + * [*search*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/api::UriSearchCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/WebRisk)** +* **[Hub](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/WebRisk)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::CallBuilder) -* **[Resources](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::CallBuilder) +* **[Resources](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Part)** + * **[Parts](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -71,9 +71,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-webrisk1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -139,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Delegate), 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-webrisk1/2.0.4+20210319/google_webrisk1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Delegate) to the -[Method Builder](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Delegate) to the +[Method Builder](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::CallBuilder) 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-webrisk1/2.0.4+20210319/google_webrisk1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Delegate) 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 [encodable](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::RequestValue) and -[decodable](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::RequestValue) and +[decodable](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webrisk1/2.0.4+20210319/google_webrisk1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::Part) 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-webrisk1/2.0.4+20210319/google_webrisk1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::CallBuilder), 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-webrisk1/2.0.4+20210319/google_webrisk1/client::RequestValue) are moved +* [request values](https://docs.rs/google-webrisk1/2.0.5+20210319/google_webrisk1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webrisk1/src/api.rs b/gen/webrisk1/src/api.rs index d6d98cb26e..ecd74d5eea 100644 --- a/gen/webrisk1/src/api.rs +++ b/gen/webrisk1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > WebRisk<> { WebRisk { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://webrisk.googleapis.com/".to_string(), _root_url: "https://webrisk.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > WebRisk<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webrisk1/src/client.rs b/gen/webrisk1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/webrisk1/src/client.rs +++ b/gen/webrisk1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/webrisk1/src/lib.rs b/gen/webrisk1/src/lib.rs index 7445d7427b..210c89ec89 100644 --- a/gen/webrisk1/src/lib.rs +++ b/gen/webrisk1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Web Risk* crate version *2.0.4+20210319*, where *20210319* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Web Risk* crate version *2.0.5+20210319*, where *20210319* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Web Risk* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/web-risk/). @@ -71,9 +71,6 @@ //! ```toml //! [dependencies] //! google-webrisk1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/workflowexecutions1-cli/Cargo.toml b/gen/workflowexecutions1-cli/Cargo.toml index bffa50f693..e22d5759c4 100644 --- a/gen/workflowexecutions1-cli/Cargo.toml +++ b/gen/workflowexecutions1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-workflowexecutions1-cli" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflow Executions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflowexecutions1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-workflowexecutions1] path = "../workflowexecutions1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" diff --git a/gen/workflowexecutions1-cli/README.md b/gen/workflowexecutions1-cli/README.md index eb12c239bd..ccb0a418bb 100644 --- a/gen/workflowexecutions1-cli/README.md +++ b/gen/workflowexecutions1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Workflow Executions* API at revision *20210316*. The CLI is at version *2.0.4*. +This documentation was generated from the *Workflow Executions* API at revision *20210316*. The CLI is at version *2.0.5*. ```bash workflowexecutions1 [options] diff --git a/gen/workflowexecutions1-cli/mkdocs.yml b/gen/workflowexecutions1-cli/mkdocs.yml index 04281075ae..8dca8e291c 100644 --- a/gen/workflowexecutions1-cli/mkdocs.yml +++ b/gen/workflowexecutions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Workflow Executions v2.0.4+20210316 +site_name: Workflow Executions v2.0.5+20210316 site_url: http://byron.github.io/google-apis-rs/google-workflowexecutions1-cli site_description: A complete library to interact with Workflow Executions (protocol v1) diff --git a/gen/workflowexecutions1-cli/src/main.rs b/gen/workflowexecutions1-cli/src/main.rs index 01d5bc1be9..ee439eccfa 100644 --- a/gen/workflowexecutions1-cli/src/main.rs +++ b/gen/workflowexecutions1-cli/src/main.rs @@ -539,7 +539,7 @@ async fn main() { let mut app = App::new("workflowexecutions1") .author("Sebastian Thiel ") - .version("2.0.4+20210316") + .version("2.0.5+20210316") .about("Execute workflows created with Workflows API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_workflowexecutions1_cli") .arg(Arg::with_name("url") diff --git a/gen/workflowexecutions1/Cargo.toml b/gen/workflowexecutions1/Cargo.toml index 71d1c58efc..97a0ed0dc5 100644 --- a/gen/workflowexecutions1/Cargo.toml +++ b/gen/workflowexecutions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-workflowexecutions1" -version = "2.0.4+20210316" +version = "2.0.5+20210316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflow Executions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflowexecutions1" homepage = "https://cloud.google.com/workflows" -documentation = "https://docs.rs/google-workflowexecutions1/2.0.4+20210316" +documentation = "https://docs.rs/google-workflowexecutions1/2.0.5+20210316" license = "MIT" keywords = ["workflowexecutions", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/workflowexecutions1/README.md b/gen/workflowexecutions1/README.md index f978114287..62defeb981 100644 --- a/gen/workflowexecutions1/README.md +++ b/gen/workflowexecutions1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-workflowexecutions1` library allows access to all features of the *Google Workflow Executions* service. -This documentation was generated from *Workflow Executions* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Workflow Executions* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Workflow Executions* *v1* API can be found at the [official documentation site](https://cloud.google.com/workflows). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/WorkflowExecutions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/WorkflowExecutions) ... * projects - * [*locations workflows executions cancel*](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCancelCall), [*locations workflows executions create*](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCreateCall), [*locations workflows executions get*](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionGetCall) and [*locations workflows executions list*](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionListCall) + * [*locations workflows executions cancel*](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCancelCall), [*locations workflows executions create*](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCreateCall), [*locations workflows executions get*](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionGetCall) and [*locations workflows executions list*](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/WorkflowExecutions)** +* **[Hub](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/WorkflowExecutions)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::CallBuilder) +* **[Resources](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Part)** + * **[Parts](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -66,9 +66,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-workflowexecutions1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -134,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Delegate), 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-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Delegate) to the +[Method Builder](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::CallBuilder) 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-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Delegate) 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 [encodable](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::RequestValue) and -[decodable](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::RequestValue) and +[decodable](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::Part) 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-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::CallBuilder), 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-workflowexecutions1/2.0.4+20210316/google_workflowexecutions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-workflowexecutions1/2.0.5+20210316/google_workflowexecutions1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/workflowexecutions1/src/api.rs b/gen/workflowexecutions1/src/api.rs index d576cb93aa..da542f260c 100644 --- a/gen/workflowexecutions1/src/api.rs +++ b/gen/workflowexecutions1/src/api.rs @@ -120,7 +120,7 @@ impl<'a, > WorkflowExecutions<> { WorkflowExecutions { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://workflowexecutions.googleapis.com/".to_string(), _root_url: "https://workflowexecutions.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > WorkflowExecutions<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/workflowexecutions1/src/client.rs b/gen/workflowexecutions1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/workflowexecutions1/src/client.rs +++ b/gen/workflowexecutions1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/workflowexecutions1/src/lib.rs b/gen/workflowexecutions1/src/lib.rs index 963e48f605..0b4ccf4247 100644 --- a/gen/workflowexecutions1/src/lib.rs +++ b/gen/workflowexecutions1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Workflow Executions* crate version *2.0.4+20210316*, where *20210316* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Workflow Executions* crate version *2.0.5+20210316*, where *20210316* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Workflow Executions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/workflows). @@ -66,9 +66,6 @@ //! ```toml //! [dependencies] //! google-workflowexecutions1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/workflows1-cli/Cargo.toml b/gen/workflows1-cli/Cargo.toml index 42d53b664a..6e161d047b 100644 --- a/gen/workflows1-cli/Cargo.toml +++ b/gen/workflows1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-workflows1-cli" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflows (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflows1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-workflows1] path = "../workflows1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" diff --git a/gen/workflows1-cli/README.md b/gen/workflows1-cli/README.md index 77103b110d..5bc2056ff1 100644 --- a/gen/workflows1-cli/README.md +++ b/gen/workflows1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Workflows* API at revision *20210318*. The CLI is at version *2.0.4*. +This documentation was generated from the *Workflows* API at revision *20210318*. The CLI is at version *2.0.5*. ```bash workflows1 [options] diff --git a/gen/workflows1-cli/mkdocs.yml b/gen/workflows1-cli/mkdocs.yml index 9e8762aa1d..2bd4ac00c3 100644 --- a/gen/workflows1-cli/mkdocs.yml +++ b/gen/workflows1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Workflows v2.0.4+20210318 +site_name: Workflows v2.0.5+20210318 site_url: http://byron.github.io/google-apis-rs/google-workflows1-cli site_description: A complete library to interact with Workflows (protocol v1) diff --git a/gen/workflows1-cli/src/main.rs b/gen/workflows1-cli/src/main.rs index b4fe1aeecf..3e756798b1 100644 --- a/gen/workflows1-cli/src/main.rs +++ b/gen/workflows1-cli/src/main.rs @@ -1039,7 +1039,7 @@ async fn main() { let mut app = App::new("workflows1") .author("Sebastian Thiel ") - .version("2.0.4+20210318") + .version("2.0.5+20210318") .about("Orchestrate Workflows consisting of Google Cloud APIs, SaaS APIs or private API endpoints.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_workflows1_cli") .arg(Arg::with_name("url") diff --git a/gen/workflows1/Cargo.toml b/gen/workflows1/Cargo.toml index cd60a6b29a..03e9438e3b 100644 --- a/gen/workflows1/Cargo.toml +++ b/gen/workflows1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-workflows1" -version = "2.0.4+20210318" +version = "2.0.5+20210318" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflows (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflows1" homepage = "https://cloud.google.com/workflows" -documentation = "https://docs.rs/google-workflows1/2.0.4+20210318" +documentation = "https://docs.rs/google-workflows1/2.0.5+20210318" license = "MIT" keywords = ["workflows", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/workflows1/README.md b/gen/workflows1/README.md index 1c98249407..2d17bd37dd 100644 --- a/gen/workflows1/README.md +++ b/gen/workflows1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-workflows1` library allows access to all features of the *Google Workflows* service. -This documentation was generated from *Workflows* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *Workflows* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *Workflows* *v1* API can be found at the [official documentation site](https://cloud.google.com/workflows). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/Workflows) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/Workflows) ... * projects - * [*locations get*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationOperationListCall), [*locations workflows create*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationWorkflowCreateCall), [*locations workflows delete*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationWorkflowDeleteCall), [*locations workflows get*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationWorkflowGetCall), [*locations workflows list*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationWorkflowListCall) and [*locations workflows patch*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/api::ProjectLocationWorkflowPatchCall) + * [*locations get*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationOperationListCall), [*locations workflows create*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationWorkflowCreateCall), [*locations workflows delete*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationWorkflowDeleteCall), [*locations workflows get*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationWorkflowGetCall), [*locations workflows list*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationWorkflowListCall) and [*locations workflows patch*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/api::ProjectLocationWorkflowPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/Workflows)** +* **[Hub](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/Workflows)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::CallBuilder) -* **[Resources](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::CallBuilder) +* **[Resources](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Part)** + * **[Parts](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -67,9 +67,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-workflows1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -136,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Delegate), 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-workflows1/2.0.4+20210318/google_workflows1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Delegate) to the -[Method Builder](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Delegate) to the +[Method Builder](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::CallBuilder) 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-workflows1/2.0.4+20210318/google_workflows1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Delegate) 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 [encodable](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::RequestValue) and -[decodable](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::RequestValue) and +[decodable](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-workflows1/2.0.4+20210318/google_workflows1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::Part) 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-workflows1/2.0.4+20210318/google_workflows1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::CallBuilder), 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-workflows1/2.0.4+20210318/google_workflows1/client::RequestValue) are moved +* [request values](https://docs.rs/google-workflows1/2.0.5+20210318/google_workflows1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/workflows1/src/api.rs b/gen/workflows1/src/api.rs index a71e75d6ee..4bd9a8b3cf 100644 --- a/gen/workflows1/src/api.rs +++ b/gen/workflows1/src/api.rs @@ -121,7 +121,7 @@ impl<'a, > Workflows<> { Workflows { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://workflows.googleapis.com/".to_string(), _root_url: "https://workflows.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Workflows<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/workflows1/src/client.rs b/gen/workflows1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/workflows1/src/client.rs +++ b/gen/workflows1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/workflows1/src/lib.rs b/gen/workflows1/src/lib.rs index ed01a9ce3b..b936e3f141 100644 --- a/gen/workflows1/src/lib.rs +++ b/gen/workflows1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Workflows* crate version *2.0.4+20210318*, where *20210318* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *Workflows* crate version *2.0.5+20210318*, where *20210318* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *Workflows* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/workflows). @@ -67,9 +67,6 @@ //! ```toml //! [dependencies] //! google-workflows1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/youtube3-cli/Cargo.toml b/gen/youtube3-cli/Cargo.toml index 6166318eb2..4e51363326 100644 --- a/gen/youtube3-cli/Cargo.toml +++ b/gen/youtube3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtube3-cli" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtube3-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-youtube3] path = "../youtube3" -version = "2.0.4+20210330" +version = "2.0.5+20210330" diff --git a/gen/youtube3-cli/README.md b/gen/youtube3-cli/README.md index a58ecd525f..619dc7dfdd 100644 --- a/gen/youtube3-cli/README.md +++ b/gen/youtube3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *YouTube* API at revision *20210330*. The CLI is at version *2.0.4*. +This documentation was generated from the *YouTube* API at revision *20210330*. The CLI is at version *2.0.5*. ```bash youtube3 [options] diff --git a/gen/youtube3-cli/mkdocs.yml b/gen/youtube3-cli/mkdocs.yml index 029897e67e..a8178457d5 100644 --- a/gen/youtube3-cli/mkdocs.yml +++ b/gen/youtube3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube v2.0.4+20210330 +site_name: YouTube v2.0.5+20210330 site_url: http://byron.github.io/google-apis-rs/google-youtube3-cli site_description: A complete library to interact with YouTube (protocol v3) diff --git a/gen/youtube3-cli/src/main.rs b/gen/youtube3-cli/src/main.rs index 448f88a9cd..9e1462d2ec 100644 --- a/gen/youtube3-cli/src/main.rs +++ b/gen/youtube3-cli/src/main.rs @@ -8707,7 +8707,7 @@ async fn main() { let mut app = App::new("youtube3") .author("Sebastian Thiel ") - .version("2.0.4+20210330") + .version("2.0.5+20210330") .about("The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtube3_cli") .arg(Arg::with_name("url") diff --git a/gen/youtube3/Cargo.toml b/gen/youtube3/Cargo.toml index c5139492ca..794501e64f 100644 --- a/gen/youtube3/Cargo.toml +++ b/gen/youtube3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtube3" -version = "2.0.4+20210330" +version = "2.0.5+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtube3" homepage = "https://developers.google.com/youtube/" -documentation = "https://docs.rs/google-youtube3/2.0.4+20210330" +documentation = "https://docs.rs/google-youtube3/2.0.5+20210330" license = "MIT" keywords = ["youtube", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/youtube3/README.md b/gen/youtube3/README.md index 8d83b27e0e..dfbec90165 100644 --- a/gen/youtube3/README.md +++ b/gen/youtube3/README.md @@ -5,86 +5,86 @@ DO NOT EDIT ! --> The `google-youtube3` library allows access to all features of the *Google YouTube* service. -This documentation was generated from *YouTube* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *YouTube* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *YouTube* *v3* API can be found at the [official documentation site](https://developers.google.com/youtube/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/YouTube) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/YouTube) ... -* [abuse reports](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::AbuseReport) - * [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::AbuseReportInsertCall) -* [activities](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Activity) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ActivityListCall) -* [captions](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Caption) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionDeleteCall), [*download*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionDownloadCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionUpdateCall) +* [abuse reports](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::AbuseReport) + * [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::AbuseReportInsertCall) +* [activities](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Activity) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ActivityListCall) +* [captions](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Caption) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionDeleteCall), [*download*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionDownloadCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionUpdateCall) * channel banners - * [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelBannerInsertCall) -* [channel sections](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelSection) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelSectionDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelSectionInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelSectionListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelSectionUpdateCall) -* [channels](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Channel) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelUpdateCall) -* [comment threads](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentThread) - * [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentThreadInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentThreadListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentThreadUpdateCall) -* [comments](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Comment) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentListCall), [*mark as spam*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentMarkAsSpamCall), [*set moderation status*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentSetModerationStatuCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CommentUpdateCall) -* [i18n languages](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::I18nLanguage) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::I18nLanguageListCall) -* [i18n regions](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::I18nRegion) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::I18nRegionListCall) -* [live broadcasts](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcast) - * [*bind*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcastBindCall), [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcastDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcastInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcastListCall), [*transition*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcastTransitionCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveBroadcastUpdateCall) -* [live chat bans](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatBan) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatBanDeleteCall) and [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatBanInsertCall) -* [live chat messages](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatMessage) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatMessageDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatMessageInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatMessageListCall) -* [live chat moderators](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatModerator) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatModeratorDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatModeratorInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveChatModeratorListCall) -* [live streams](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveStream) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveStreamDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveStreamInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveStreamListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::LiveStreamUpdateCall) -* [members](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Member) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::MemberListCall) -* [memberships levels](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::MembershipsLevel) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::MembershipsLevelListCall) -* [playlist items](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistItem) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistItemDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistItemInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistItemListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistItemUpdateCall) -* [playlists](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Playlist) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::PlaylistUpdateCall) + * [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelBannerInsertCall) +* [channel sections](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelSection) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelSectionDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelSectionInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelSectionListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelSectionUpdateCall) +* [channels](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Channel) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelUpdateCall) +* [comment threads](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentThread) + * [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentThreadInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentThreadListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentThreadUpdateCall) +* [comments](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Comment) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentListCall), [*mark as spam*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentMarkAsSpamCall), [*set moderation status*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentSetModerationStatuCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CommentUpdateCall) +* [i18n languages](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::I18nLanguage) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::I18nLanguageListCall) +* [i18n regions](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::I18nRegion) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::I18nRegionListCall) +* [live broadcasts](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcast) + * [*bind*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcastBindCall), [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcastDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcastInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcastListCall), [*transition*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcastTransitionCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveBroadcastUpdateCall) +* [live chat bans](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatBan) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatBanDeleteCall) and [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatBanInsertCall) +* [live chat messages](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatMessage) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatMessageDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatMessageInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatMessageListCall) +* [live chat moderators](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatModerator) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatModeratorDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatModeratorInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveChatModeratorListCall) +* [live streams](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveStream) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveStreamDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveStreamInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveStreamListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::LiveStreamUpdateCall) +* [members](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Member) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::MemberListCall) +* [memberships levels](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::MembershipsLevel) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::MembershipsLevelListCall) +* [playlist items](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistItem) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistItemDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistItemInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistItemListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistItemUpdateCall) +* [playlists](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Playlist) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::PlaylistUpdateCall) * search - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::SearchListCall) -* [subscriptions](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Subscription) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::SubscriptionInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::SubscriptionListCall) -* [super chat events](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::SuperChatEvent) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::SuperChatEventListCall) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::SearchListCall) +* [subscriptions](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Subscription) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::SubscriptionInsertCall) and [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::SubscriptionListCall) +* [super chat events](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::SuperChatEvent) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::SuperChatEventListCall) * tests - * [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::TestInsertCall) -* [third party links](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThirdPartyLink) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThirdPartyLinkDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThirdPartyLinkInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThirdPartyLinkListCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThirdPartyLinkUpdateCall) -* [thumbnails](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Thumbnail) - * [*set*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThumbnailSetCall) -* [video abuse report reasons](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoAbuseReportReason) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoAbuseReportReasonListCall) -* [video categories](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoCategory) - * [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoCategoryListCall) -* [videos](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::Video) - * [*delete*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoDeleteCall), [*get rating*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoGetRatingCall), [*insert*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoListCall), [*rate*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoRateCall), [*report abuse*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoReportAbuseCall) and [*update*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoUpdateCall) + * [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::TestInsertCall) +* [third party links](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThirdPartyLink) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThirdPartyLinkDeleteCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThirdPartyLinkInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThirdPartyLinkListCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThirdPartyLinkUpdateCall) +* [thumbnails](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Thumbnail) + * [*set*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThumbnailSetCall) +* [video abuse report reasons](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoAbuseReportReason) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoAbuseReportReasonListCall) +* [video categories](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoCategory) + * [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoCategoryListCall) +* [videos](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::Video) + * [*delete*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoDeleteCall), [*get rating*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoGetRatingCall), [*insert*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoInsertCall), [*list*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoListCall), [*rate*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoRateCall), [*report abuse*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoReportAbuseCall) and [*update*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoUpdateCall) * watermarks - * [*set*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::WatermarkSetCall) and [*unset*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::WatermarkUnsetCall) + * [*set*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::WatermarkSetCall) and [*unset*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::WatermarkUnsetCall) Upload supported by ... -* [*insert captions*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionInsertCall) -* [*update captions*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionUpdateCall) -* [*insert channel banners*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ChannelBannerInsertCall) -* [*set thumbnails*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::ThumbnailSetCall) -* [*insert videos*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::VideoInsertCall) -* [*set watermarks*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::WatermarkSetCall) +* [*insert captions*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionInsertCall) +* [*update captions*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionUpdateCall) +* [*insert channel banners*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ChannelBannerInsertCall) +* [*set thumbnails*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::ThumbnailSetCall) +* [*insert videos*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::VideoInsertCall) +* [*set watermarks*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::WatermarkSetCall) Download supported by ... -* [*download captions*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/api::CaptionDownloadCall) +* [*download captions*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/api::CaptionDownloadCall) @@ -92,17 +92,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/YouTube)** +* **[Hub](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/YouTube)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::CallBuilder) -* **[Resources](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::CallBuilder) +* **[Resources](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Part)** + * **[Parts](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,9 +139,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-youtube3 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -213,17 +210,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::ResponseResult), 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")`. @@ -233,29 +230,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Delegate) to the -[Method Builder](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Delegate) to the +[Method Builder](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Delegate) 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 [encodable](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::RequestValue) and -[decodable](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::RequestValue) and +[decodable](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-youtube3/2.0.4+20210330/google_youtube3/client::RequestValue) are moved +* [request values](https://docs.rs/google-youtube3/2.0.5+20210330/google_youtube3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtube3/src/api.rs b/gen/youtube3/src/api.rs index af6f313e59..28f088528f 100644 --- a/gen/youtube3/src/api.rs +++ b/gen/youtube3/src/api.rs @@ -150,7 +150,7 @@ impl<'a, > YouTube<> { YouTube { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://youtube.googleapis.com/".to_string(), _root_url: "https://youtube.googleapis.com/".to_string(), } @@ -245,7 +245,7 @@ impl<'a, > YouTube<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -9944,7 +9944,6 @@ impl<'a> CaptionInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -10693,7 +10692,6 @@ impl<'a> CaptionUpdateCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -11119,7 +11117,6 @@ impl<'a> ChannelBannerInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -27379,7 +27376,6 @@ impl<'a> ThumbnailSetCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -28806,7 +28802,6 @@ impl<'a> VideoInsertCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) @@ -30380,7 +30375,6 @@ impl<'a> WatermarkSetCall<'a> { if should_ask_dlg_for_url && (upload_url = dlg.upload_url()) == () && upload_url.is_some() { should_ask_dlg_for_url = false; upload_url_from_server = false; - let url = upload_url.as_ref().and_then(|s| Some(url::Url::parse(s).unwrap())).unwrap(); Ok(hyper::Response::builder() .status(hyper::StatusCode::OK) .header("Localtion", upload_url.as_ref().unwrap().clone()) diff --git a/gen/youtube3/src/client.rs b/gen/youtube3/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/youtube3/src/client.rs +++ b/gen/youtube3/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/youtube3/src/lib.rs b/gen/youtube3/src/lib.rs index e17d0e30cd..f8b29f556b 100644 --- a/gen/youtube3/src/lib.rs +++ b/gen/youtube3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *YouTube* crate version *2.0.4+20210330*, where *20210330* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *YouTube* crate version *2.0.5+20210330*, where *20210330* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *YouTube* *v3* API can be found at the //! [official documentation site](https://developers.google.com/youtube/). @@ -139,9 +139,6 @@ //! ```toml //! [dependencies] //! google-youtube3 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0" diff --git a/gen/youtubereporting1-cli/Cargo.toml b/gen/youtubereporting1-cli/Cargo.toml index 3ff9216b31..ba7edb0878 100644 --- a/gen/youtubereporting1-cli/Cargo.toml +++ b/gen/youtubereporting1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtubereporting1-cli" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtubereporting1-cli" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-youtubereporting1] path = "../youtubereporting1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" diff --git a/gen/youtubereporting1-cli/README.md b/gen/youtubereporting1-cli/README.md index d04426b457..190532f0c0 100644 --- a/gen/youtubereporting1-cli/README.md +++ b/gen/youtubereporting1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *YouTube Reporting* API at revision *20210329*. The CLI is at version *2.0.4*. +This documentation was generated from the *YouTube Reporting* API at revision *20210329*. The CLI is at version *2.0.5*. ```bash youtubereporting1 [options] diff --git a/gen/youtubereporting1-cli/mkdocs.yml b/gen/youtubereporting1-cli/mkdocs.yml index 282b83574c..317fc06955 100644 --- a/gen/youtubereporting1-cli/mkdocs.yml +++ b/gen/youtubereporting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube Reporting v2.0.4+20210329 +site_name: YouTube Reporting v2.0.5+20210329 site_url: http://byron.github.io/google-apis-rs/google-youtubereporting1-cli site_description: A complete library to interact with YouTube Reporting (protocol v1) diff --git a/gen/youtubereporting1-cli/src/main.rs b/gen/youtubereporting1-cli/src/main.rs index 09e906f1a1..aa058cf128 100644 --- a/gen/youtubereporting1-cli/src/main.rs +++ b/gen/youtubereporting1-cli/src/main.rs @@ -873,7 +873,7 @@ async fn main() { let mut app = App::new("youtubereporting1") .author("Sebastian Thiel ") - .version("2.0.4+20210329") + .version("2.0.5+20210329") .about("Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtubereporting1_cli") .arg(Arg::with_name("url") diff --git a/gen/youtubereporting1/Cargo.toml b/gen/youtubereporting1/Cargo.toml index 48bea64d25..4310119310 100644 --- a/gen/youtubereporting1/Cargo.toml +++ b/gen/youtubereporting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtubereporting1" -version = "2.0.4+20210329" +version = "2.0.5+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtubereporting1" homepage = "https://developers.google.com/youtube/reporting/v1/reports/" -documentation = "https://docs.rs/google-youtubereporting1/2.0.4+20210329" +documentation = "https://docs.rs/google-youtubereporting1/2.0.5+20210329" license = "MIT" keywords = ["youtubereporting", "google", "protocol", "web", "api"] autobins = false diff --git a/gen/youtubereporting1/README.md b/gen/youtubereporting1/README.md index d49b579449..d77b3ab201 100644 --- a/gen/youtubereporting1/README.md +++ b/gen/youtubereporting1/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-youtubereporting1` library allows access to all features of the *Google YouTube Reporting* service. -This documentation was generated from *YouTube Reporting* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +This documentation was generated from *YouTube Reporting* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. Everything else about the *YouTube Reporting* *v1* API can be found at the [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/YouTubeReporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/YouTubeReporting) ... -* [jobs](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::Job) - * [*create*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::JobCreateCall), [*delete*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::JobDeleteCall), [*get*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::JobGetCall), [*list*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::JobListCall), [*reports get*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::JobReportGetCall) and [*reports list*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::JobReportListCall) +* [jobs](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::Job) + * [*create*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::JobCreateCall), [*delete*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::JobDeleteCall), [*get*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::JobGetCall), [*list*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::JobListCall), [*reports get*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::JobReportGetCall) and [*reports list*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::JobReportListCall) * media - * [*download*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::MediaDownloadCall) -* [report types](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::ReportType) - * [*list*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::ReportTypeListCall) + * [*download*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::MediaDownloadCall) +* [report types](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::ReportType) + * [*list*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::ReportTypeListCall) Download supported by ... -* [*download media*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/api::MediaDownloadCall) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/YouTubeReporting)** +* **[Hub](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/YouTubeReporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::CallBuilder) -* **[Resources](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::CallBuilder) +* **[Resources](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Part)** + * **[Parts](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -77,9 +77,6 @@ To use this library, you would put the following lines into your `Cargo.toml` fi ```toml [dependencies] google-youtubereporting1 = "*" -# This project intentionally uses an old version of Hyper. See -# https://github.com/Byron/google-apis-rs/issues/173 for more -# information. hyper = "^0.14" hyper-rustls = "^0.22" serde = "^1.0" @@ -145,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Delegate) to the -[Method Builder](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Delegate) to the +[Method Builder](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Delegate) 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 [encodable](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::RequestValue) and -[decodable](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::RequestValue) and +[decodable](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-youtubereporting1/2.0.4+20210329/google_youtubereporting1/client::RequestValue) are moved +* [request values](https://docs.rs/google-youtubereporting1/2.0.5+20210329/google_youtubereporting1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtubereporting1/src/api.rs b/gen/youtubereporting1/src/api.rs index f7e498f467..16f7218a8c 100644 --- a/gen/youtubereporting1/src/api.rs +++ b/gen/youtubereporting1/src/api.rs @@ -124,7 +124,7 @@ impl<'a, > YouTubeReporting<> { YouTubeReporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/2.0.4".to_string(), + _user_agent: "google-api-rust-client/2.0.5".to_string(), _base_url: "https://youtubereporting.googleapis.com/".to_string(), _root_url: "https://youtubereporting.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > YouTubeReporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/2.0.4`. + /// It defaults to `google-api-rust-client/2.0.5`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/youtubereporting1/src/client.rs b/gen/youtubereporting1/src/client.rs index de8151b4eb..432859888e 100644 --- a/gen/youtubereporting1/src/client.rs +++ b/gen/youtubereporting1/src/client.rs @@ -721,6 +721,7 @@ impl<'a, A> ResumableUploadHelper<'a, A> { .client .request( hyper::Request::builder() + .uri(self.url) .method(hyper::Method::POST) .header("Content-Range", range_header.header_value()) .header(CONTENT_TYPE, format!("{}", self.media_type)) diff --git a/gen/youtubereporting1/src/lib.rs b/gen/youtubereporting1/src/lib.rs index 9b3b54f62c..63b2e6286a 100644 --- a/gen/youtubereporting1/src/lib.rs +++ b/gen/youtubereporting1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *YouTube Reporting* crate version *2.0.4+20210329*, where *20210329* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.4*. +//! This documentation was generated from *YouTube Reporting* crate version *2.0.5+20210329*, where *20210329* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v2.0.5*. //! //! Everything else about the *YouTube Reporting* *v1* API can be found at the //! [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). @@ -77,9 +77,6 @@ //! ```toml //! [dependencies] //! google-youtubereporting1 = "*" -//! # This project intentionally uses an old version of Hyper. See -//! # https://github.com/Byron/google-apis-rs/issues/173 for more -//! # information. //! hyper = "^0.14" //! hyper-rustls = "^0.22" //! serde = "^1.0"